Skip to content
This repository has been archived by the owner on Jul 15, 2022. It is now read-only.

Commit

Permalink
Some changes on filecoin integration (#1934)
Browse files Browse the repository at this point in the history
* Release/v22.0.0 (#1881)

* Hotfix/v21.36.2 (#1878)

* (Solana): fix missing superstruct dependency -> making app crashes

* v21.36.2

Co-authored-by: LFBarreto <[email protected]>

* support/snapshot-update (#1882)

Co-authored-by: Henri Ly <[email protected]>

* LL-1589 more robust bitcoin retry (#1835)

* fix bot

* fix sync error exception process

* fix bch address convert issue (#1847)

* LIVE-1890 Replace all deprecated uses of open(deviceId) with withDevice (#1856)

* Remove all libcore codebase (#1831)

* Remove all libcore codebase

* trigger some bot (commit to revert before merging this PR)

* lint

* remove useless cli test run

* fix type issue

* cli update

* Revert "trigger some bot (commit to revert before merging this PR)"

This reverts commit add2667.

* update cli/README

* fix merge

* Cosmos js (#1832)

Document Nano app limitations + minor fix on reward amounts

* Modularize the all.libcore.tests (#1834)

* Additional cleanup on bitcoin implem

* LIVE-1873

Co-authored-by: wa-aal <[email protected]>
Co-authored-by: haammar-ledger <[email protected]>

* Add ETH goerli (#1841)

* add ETH goerli

* add goerli test

* Cosmos fixes (#1846)

* Set bot on family/cosmos branch

* LIVE-1873

* trigger bot

* Family/crypto org (#1852)

* LIVE-1743 Fix crypto.com address derivation path (#1836)

* trigger bot

* Tentative to fix crypto.com use of address

Co-authored-by: Thomas Nguy <[email protected]>

* [LIVE-1174] - Feature: Upgrade NFT Architecture (#1805)

* Fix wrong NFTResource typing

* Update NFT types to ProtoNFT

* Update NFT Id to contain currency

* Update NFT Helpers for new model

* Update Eth API metadata call to include chainId

* Move nft metadata resolution to bridge

* Update NftMetadaProvider logic to use bridge

* Update prepare tx of ERC721/1155 w/ new model

* Update CLI for new NFT model

* Add getNftCapabilities to nft support

* Naming + fixing ERC1155 quantity potentially falsy

* Make CLI use the LLC branch hash

* Add type to nftMetadataResolver param + use of sync metadata

* Remove useless import

* Remove useless comment in CLI formatters

* Add comment to nftsByCollection helper

* Add comments + types to NFT metadata call batchers

* Fix sync metadata resolution for Eth family

* Add return type to nftMetadataResolver + decodeNftId

* Add polygon to NFT currencies (#1848)

* [LIVE-1909] - Bugfix: OpenSea Lazy mint quantity fix (#1862)

* Fix lazyminting issue for nfts quantity

* run ci

* Reset CLI LLC dep

* Fix nft operations wrong order to infer balance (#1865)

* [LIVE-1911][LIVE-1912] Feature - Add collection name resolver to eth familly (#1863)

* Change nfts resolvers from Bridge type

* Update eth nft resolvers & add collection resolver

* Add loadCollectionMetadata to nft context

* Change eth NFT prepareTransaction to use collection call instead of nft metadata call

* Bump plist from 3.0.4 to 3.0.5 in /mobile-test-app (#1849)

Bumps [plist](https://github.com/TooTallNate/node-plist) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/TooTallNate/node-plist/releases)
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md)
- [Commits](https://github.com/TooTallNate/node-plist/commits)

---
updated-dependencies:
- dependency-name: plist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump cocoapods-downloader from 1.3.0 to 1.6.3 in /mobile-test-app (#1857)

Bumps [cocoapods-downloader](https://github.com/CocoaPods/cocoapods-downloader) from 1.3.0 to 1.6.3.
- [Release notes](https://github.com/CocoaPods/cocoapods-downloader/releases)
- [Changelog](https://github.com/CocoaPods/cocoapods-downloader/blob/master/CHANGELOG.md)
- [Commits](CocoaPods/cocoapods-downloader@1.3.0...1.6.3)

---
updated-dependencies:
- dependency-name: cocoapods-downloader
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ansi-regex from 3.0.0 to 3.0.1 (#1850)

Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](chalk/ansi-regex@v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Solana staking (#1844)

* solana add initial staking support

* solana improve staking

* solana fix typos

* solana fix cli format for staking

* solana add device fields for stake create acc

* solana add stake delegate support

* solana fix lint

* solana add stake undelegate

* solana add stake withdraw

* solana add stake split

* solana add stakes loading

* solana improve staking

* solana introduce solana resources

* solana add preload data

* solana add hydrate to bridge

* solana add stake actions

* solana improve staking

* solana add meta to validators

* solana add validator name

* solana fix seed for stake accs

* solana add stake reward

* solana improve staking

* solana stake add withdrawable amount

* solana refactor framework

* solana fix tests

* solana make auto delegation mandatory

* solana sort stakes

* solana fix error key

* solana add delegation validator validation

* solana add staking create acc tests

* solana add staking delegate tests

* solana add stake undelegate tests

* solana remove redundant checks for stake delegation

* solana skip options validations on cli level

* solana skip undelegate options validations on cli level

* solana improve staking tests

* solana add delegatable check to staking

* solana fix estimate max spendable

* solana add delegation active test

* solana add stake state tests

* solana introduce validators app validators

* solana add validators for testnet & devnet

* solana refactor validators app validators

* solana update meta of stakes

* solana update sort order of stakes

* solana add delegated op type

* solana shuffle staking validators

* solana fix stake withdraw optimistic value

* solana clean comments

* solana update mock data

* solana add initial staking bot specs

* solana add staking bot specs

* solana move ledger vote acc to utils

* solana add swap util

* solana update device tx config

* solana fix lint

* Add bot for Solana

* Solana staking integration (#1825)

* solana add initial staking support

* solana improve staking

* solana fix typos

* solana fix cli format for staking

* solana add device fields for stake create acc

* solana add stake delegate support

* solana fix lint

* solana add stake undelegate

* solana add stake withdraw

* solana add stake split

* solana add stakes loading

* solana improve staking

* solana introduce solana resources

* solana add preload data

* solana add hydrate to bridge

* solana add stake actions

* solana improve staking

* solana add meta to validators

* solana add validator name

* solana fix seed for stake accs

* solana add stake reward

* solana improve staking

* solana stake add withdrawable amount

* solana refactor framework

* solana fix tests

* solana make auto delegation mandatory

* solana sort stakes

* solana fix error key

* solana add delegation validator validation

* solana add staking create acc tests

* solana add staking delegate tests

* solana add stake undelegate tests

* solana remove redundant checks for stake delegation

* solana skip options validations on cli level

* solana skip undelegate options validations on cli level

* solana improve staking tests

* solana add delegatable check to staking

* solana fix estimate max spendable

* solana add delegation active test

* solana add stake state tests

* solana introduce validators app validators

* solana add validators for testnet & devnet

* solana refactor validators app validators

* solana update meta of stakes

* solana update sort order of stakes

* solana add delegated op type

* solana shuffle staking validators

* solana fix stake withdraw optimistic value

* solana clean comments

* solana update mock data

* solana add initial staking bot specs

* solana add staking bot specs

* solana move ledger vote acc to utils

* solana add swap util

* solana update device tx config

* solana fix lint

* Change seed for Solana bot

* Change seed again for Solana bot

* trigger bot

* solana add stake percent calc fn

* solana update spec for new nano app

* solana set minimum required nano app version

* solana add validators app url env variable

* fix bad merge

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* Solana bot - increase timeout and decrease minimum to delegate

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* Setup the bot to not use the validators.app proxy (yet)

* Replace all deprecated uses of open(deviceId) with withDevice

* Solana - replace open(deviceId) with withDevice

* Remove custom data

* Update solana bot

Co-authored-by: konoart <[email protected]>
Co-authored-by: konoart <[email protected]>
Co-authored-by: lambertkevin <[email protected]>

* Update Cosmos dataset snapshot to fix test (#1861)

* Update snapshots

* Introduce a way to ignore preload data in dataset tests (#1875)

* Fix new architecture nftsResolvers in cli (#1883)

* v22.0.0

* Update snapshot

Co-authored-by: LFBarreto <[email protected]>
Co-authored-by: Henri Ly <[email protected]>
Co-authored-by: hzheng-ledger <[email protected]>
Co-authored-by: Hakim <[email protected]>
Co-authored-by: @greweb <[email protected]>
Co-authored-by: wa-aal <[email protected]>
Co-authored-by: haammar-ledger <[email protected]>
Co-authored-by: Thomas Nguy <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: konoart <[email protected]>
Co-authored-by: konoart <[email protected]>
Co-authored-by: henrily-ledger <[email protected]>

* Release/v22.0.1 (#1894)

* Hotfix/v21.36.2 (#1878)

* (Solana): fix missing superstruct dependency -> making app crashes

* v21.36.2

Co-authored-by: LFBarreto <[email protected]>

* support/snapshot-update (#1882)

Co-authored-by: Henri Ly <[email protected]>

* Release/v22.0.0 (#1880)

* LL-1589 more robust bitcoin retry (#1835)

* fix bot

* fix sync error exception process

* fix bch address convert issue (#1847)

* LIVE-1890 Replace all deprecated uses of open(deviceId) with withDevice (#1856)

* Remove all libcore codebase (#1831)

* Remove all libcore codebase

* trigger some bot (commit to revert before merging this PR)

* lint

* remove useless cli test run

* fix type issue

* cli update

* Revert "trigger some bot (commit to revert before merging this PR)"

This reverts commit add2667.

* update cli/README

* fix merge

* Cosmos js (#1832)

Document Nano app limitations + minor fix on reward amounts

* Modularize the all.libcore.tests (#1834)

* Additional cleanup on bitcoin implem

* LIVE-1873

Co-authored-by: wa-aal <[email protected]>
Co-authored-by: haammar-ledger <[email protected]>

* Add ETH goerli (#1841)

* add ETH goerli

* add goerli test

* Cosmos fixes (#1846)

* Set bot on family/cosmos branch

* LIVE-1873

* trigger bot

* Family/crypto org (#1852)

* LIVE-1743 Fix crypto.com address derivation path (#1836)

* trigger bot

* Tentative to fix crypto.com use of address

Co-authored-by: Thomas Nguy <[email protected]>

* [LIVE-1174] - Feature: Upgrade NFT Architecture (#1805)

* Fix wrong NFTResource typing

* Update NFT types to ProtoNFT

* Update NFT Id to contain currency

* Update NFT Helpers for new model

* Update Eth API metadata call to include chainId

* Move nft metadata resolution to bridge

* Update NftMetadaProvider logic to use bridge

* Update prepare tx of ERC721/1155 w/ new model

* Update CLI for new NFT model

* Add getNftCapabilities to nft support

* Naming + fixing ERC1155 quantity potentially falsy

* Make CLI use the LLC branch hash

* Add type to nftMetadataResolver param + use of sync metadata

* Remove useless import

* Remove useless comment in CLI formatters

* Add comment to nftsByCollection helper

* Add comments + types to NFT metadata call batchers

* Fix sync metadata resolution for Eth family

* Add return type to nftMetadataResolver + decodeNftId

* Add polygon to NFT currencies (#1848)

* [LIVE-1909] - Bugfix: OpenSea Lazy mint quantity fix (#1862)

* Fix lazyminting issue for nfts quantity

* run ci

* Reset CLI LLC dep

* Fix nft operations wrong order to infer balance (#1865)

* [LIVE-1911][LIVE-1912] Feature - Add collection name resolver to eth familly (#1863)

* Change nfts resolvers from Bridge type

* Update eth nft resolvers & add collection resolver

* Add loadCollectionMetadata to nft context

* Change eth NFT prepareTransaction to use collection call instead of nft metadata call

* Bump plist from 3.0.4 to 3.0.5 in /mobile-test-app (#1849)

Bumps [plist](https://github.com/TooTallNate/node-plist) from 3.0.4 to 3.0.5.
- [Release notes](https://github.com/TooTallNate/node-plist/releases)
- [Changelog](https://github.com/TooTallNate/plist.js/blob/master/History.md)
- [Commits](https://github.com/TooTallNate/node-plist/commits)

---
updated-dependencies:
- dependency-name: plist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump cocoapods-downloader from 1.3.0 to 1.6.3 in /mobile-test-app (#1857)

Bumps [cocoapods-downloader](https://github.com/CocoaPods/cocoapods-downloader) from 1.3.0 to 1.6.3.
- [Release notes](https://github.com/CocoaPods/cocoapods-downloader/releases)
- [Changelog](https://github.com/CocoaPods/cocoapods-downloader/blob/master/CHANGELOG.md)
- [Commits](CocoaPods/cocoapods-downloader@1.3.0...1.6.3)

---
updated-dependencies:
- dependency-name: cocoapods-downloader
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ansi-regex from 3.0.0 to 3.0.1 (#1850)

Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](chalk/ansi-regex@v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Solana staking (#1844)

* solana add initial staking support

* solana improve staking

* solana fix typos

* solana fix cli format for staking

* solana add device fields for stake create acc

* solana add stake delegate support

* solana fix lint

* solana add stake undelegate

* solana add stake withdraw

* solana add stake split

* solana add stakes loading

* solana improve staking

* solana introduce solana resources

* solana add preload data

* solana add hydrate to bridge

* solana add stake actions

* solana improve staking

* solana add meta to validators

* solana add validator name

* solana fix seed for stake accs

* solana add stake reward

* solana improve staking

* solana stake add withdrawable amount

* solana refactor framework

* solana fix tests

* solana make auto delegation mandatory

* solana sort stakes

* solana fix error key

* solana add delegation validator validation

* solana add staking create acc tests

* solana add staking delegate tests

* solana add stake undelegate tests

* solana remove redundant checks for stake delegation

* solana skip options validations on cli level

* solana skip undelegate options validations on cli level

* solana improve staking tests

* solana add delegatable check to staking

* solana fix estimate max spendable

* solana add delegation active test

* solana add stake state tests

* solana introduce validators app validators

* solana add validators for testnet & devnet

* solana refactor validators app validators

* solana update meta of stakes

* solana update sort order of stakes

* solana add delegated op type

* solana shuffle staking validators

* solana fix stake withdraw optimistic value

* solana clean comments

* solana update mock data

* solana add initial staking bot specs

* solana add staking bot specs

* solana move ledger vote acc to utils

* solana add swap util

* solana update device tx config

* solana fix lint

* Add bot for Solana

* Solana staking integration (#1825)

* solana add initial staking support

* solana improve staking

* solana fix typos

* solana fix cli format for staking

* solana add device fields for stake create acc

* solana add stake delegate support

* solana fix lint

* solana add stake undelegate

* solana add stake withdraw

* solana add stake split

* solana add stakes loading

* solana improve staking

* solana introduce solana resources

* solana add preload data

* solana add hydrate to bridge

* solana add stake actions

* solana improve staking

* solana add meta to validators

* solana add validator name

* solana fix seed for stake accs

* solana add stake reward

* solana improve staking

* solana stake add withdrawable amount

* solana refactor framework

* solana fix tests

* solana make auto delegation mandatory

* solana sort stakes

* solana fix error key

* solana add delegation validator validation

* solana add staking create acc tests

* solana add staking delegate tests

* solana add stake undelegate tests

* solana remove redundant checks for stake delegation

* solana skip options validations on cli level

* solana skip undelegate options validations on cli level

* solana improve staking tests

* solana add delegatable check to staking

* solana fix estimate max spendable

* solana add delegation active test

* solana add stake state tests

* solana introduce validators app validators

* solana add validators for testnet & devnet

* solana refactor validators app validators

* solana update meta of stakes

* solana update sort order of stakes

* solana add delegated op type

* solana shuffle staking validators

* solana fix stake withdraw optimistic value

* solana clean comments

* solana update mock data

* solana add initial staking bot specs

* solana add staking bot specs

* solana move ledger vote acc to utils

* solana add swap util

* solana update device tx config

* solana fix lint

* Change seed for Solana bot

* Change seed again for Solana bot

* trigger bot

* solana add stake percent calc fn

* solana update spec for new nano app

* solana set minimum required nano app version

* solana add validators app url env variable

* fix bad merge

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* Solana bot - increase timeout and decrease minimum to delegate

* trigger bot

* trigger bot

* trigger bot

* trigger bot

* Setup the bot to not use the validators.app proxy (yet)

* Replace all deprecated uses of open(deviceId) with withDevice

* Solana - replace open(deviceId) with withDevice

* Remove custom data

* Update solana bot

Co-authored-by: konoart <[email protected]>
Co-authored-by: konoart <[email protected]>
Co-authored-by: lambertkevin <[email protected]>

* Update Cosmos dataset snapshot to fix test (#1861)

* Update snapshots

* Introduce a way to ignore preload data in dataset tests (#1875)

* Fix new architecture nftsResolvers in cli (#1883)

* v22.0.0

* Update snapshot

Co-authored-by: hzheng-ledger <[email protected]>
Co-authored-by: Hakim <[email protected]>
Co-authored-by: @greweb <[email protected]>
Co-authored-by: wa-aal <[email protected]>
Co-authored-by: haammar-ledger <[email protected]>
Co-authored-by: Thomas Nguy <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: konoart <[email protected]>
Co-authored-by: konoart <[email protected]>
Co-authored-by: henrily-ledger <[email protected]>

* attempt to increase timeout (#1884)

* Use live common v22.0.0 for CLI and tools (#1885)

* Use Live Common v22.0.0 for tools

* Use Live Common v22.0.0 for CLI

* fix account index undefined (#1892)

* Bump urijs from 1.19.10 to 1.19.11 in /mobile-test-app (#1888)

Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.10 to 1.19.11.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](medialize/URI.js@v1.19.10...v1.19.11)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump urijs from 1.19.10 to 1.19.11 (#1889)

Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.10 to 1.19.11.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](medialize/URI.js@v1.19.10...v1.19.11)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump urijs from 1.19.10 to 1.19.11 in /tools (#1890)

Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.10 to 1.19.11.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](medialize/URI.js@v1.19.10...v1.19.11)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump urijs from 1.19.10 to 1.19.11 in /cli (#1891)

Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.10 to 1.19.11.
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](medialize/URI.js@v1.19.10...v1.19.11)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* v22.0.1

Co-authored-by: LFBarreto <[email protected]>
Co-authored-by: Henri Ly <[email protected]>
Co-authored-by: hzheng-ledger <[email protected]>
Co-authored-by: Hakim <[email protected]>
Co-authored-by: @greweb <[email protected]>
Co-authored-by: wa-aal <[email protected]>
Co-authored-by: haammar-ledger <[email protected]>
Co-authored-by: Thomas Nguy <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: konoart <[email protected]>
Co-authored-by: konoart <[email protected]>
Co-authored-by: henrily-ledger <[email protected]>

* LIVE-2011 (master) Revert "Use live common v22.0.0 for CLI and tools (#1885)" (#1905)

* Revert "Use live common v22.0.0 for CLI and tools (#1885)"

This reverts commit 9c76b5d.

* revert the revert of cli and remove goerli

Co-authored-by: Henri Ly <[email protected]>

* set new url for production filecoin API

* remove base path from url

* add derivation modes used by glif wallet

Co-authored-by: Kévin Lambert <[email protected]>
Co-authored-by: LFBarreto <[email protected]>
Co-authored-by: Henri Ly <[email protected]>
Co-authored-by: hzheng-ledger <[email protected]>
Co-authored-by: Hakim <[email protected]>
Co-authored-by: @greweb <[email protected]>
Co-authored-by: wa-aal <[email protected]>
Co-authored-by: haammar-ledger <[email protected]>
Co-authored-by: Thomas Nguy <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: konoart <[email protected]>
Co-authored-by: konoart <[email protected]>
Co-authored-by: henrily-ledger <[email protected]>
Co-authored-by: Valentin D. Pinkman <[email protected]>
  • Loading branch information
15 people committed May 5, 2022
1 parent 9577c92 commit e7bc53c
Show file tree
Hide file tree
Showing 6 changed files with 1,124 additions and 3,436 deletions.
1 change: 1 addition & 0 deletions cli/src/live-common-setup-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ setSupportedCurrencies([
"crypto_org",
"crypto_org_croeseid",
"celo",
"filecoin",
]);

for (const k in process.env) setEnvUnsafe(k as EnvName, process.env[k]);
Expand Down
10 changes: 8 additions & 2 deletions src/derivation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,13 @@ const modes = Object.freeze({
polkadotbip44: {
overridesDerivation: "44'/354'/<account>'/0'/<address>'",
},
filecoin: {
// glif legacy derivation
gliflegacy: {
overridesDerivation: "44'/1'/0'/0/<account>",
tag: "legacy",
},
// glif normal derivation
glifnormal: {
overridesDerivation: "44'/461'/0'/0/<account>",
},
solanaMain: {
Expand All @@ -178,7 +184,7 @@ const legacyDerivations: Record<CryptoCurrencyIds, DerivationMode[]> = {
tezos: ["galleonL", "tezboxL", "tezosbip44h", "tezbox"],
stellar: ["sep5"],
polkadot: ["polkadotbip44"],
filecoin: ["filecoin"],
filecoin: ["gliflegacy", "glifnormal"],
};

const legacyDerivationsPerFamily: Record<string, DerivationMode[]> = {
Expand Down
2 changes: 1 addition & 1 deletion src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const envDefinitions = {
},
API_FILECOIN_ENDPOINT: {
parser: stringParser,
def: "https://live.ledger.dev.zondax.net/blockchain/filecoin", // FIXME Filecoin - Set the correct value for ledger proxy
def: "https://filecoin.coin.ledger.com",
desc: "Filecoin API url",
},
API_POLKADOT_INDEXER: {
Expand Down
2 changes: 1 addition & 1 deletion tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@ledgerhq/hw-transport-web-ble": "^6.7.0",
"@ledgerhq/hw-transport-webhid": "^6.7.0",
"@ledgerhq/hw-transport-webusb": "^6.7.0",
"@ledgerhq/live-common": "^22.0.0",
"@ledgerhq/live-common": "^21.7.0",
"@material-ui/core": "^4.11.3",
"babel-polyfill": "^6.26.0",
"bignumber.js": "^9.0.1",
Expand Down
1 change: 0 additions & 1 deletion tools/src/live-common-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ setSupportedCurrencies([
"decred",
"bitcoin_testnet",
"ethereum_ropsten",
"ethereum_goerli",
"tron",
"stellar",
"filecoin",
Expand Down
Loading

1 comment on commit e7bc53c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ 3 txs ($14.52) for Bot 'Filecoin via Mooncake'

3 mutation errors
all accounts sync in 1277ms
▬ Filecoin 0.22.2 on nanoS 2.1.0
→ FROM Filecoin 1 cross: 0.499 FIL (1ops) (f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda on 44'/461'/0'/0/0) glifnormal#0 js:2:filecoin:f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda:
max spendable ~0.499
★ using mutation 'Transfer Max'
✔️ transaction 
SEND 
TO f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei
⚠️ LedgerAPI5xx: Something went wrong

LedgerAPI5xx: Something went wrong
all accounts sync in 1092ms
▬ Filecoin 0.22.2 on nanoS 2.1.0
→ FROM Filecoin 1: 0.499 FIL (1ops) (f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda on 44'/461'/0'/0/0) #0 js:2:filecoin:f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda:
max spendable ~0.499
★ using mutation 'Send 50%~'
→ TO Filecoin 2: 0 FIL (0ops) (f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei on 44'/461'/1'/0/0) #1 js:2:filecoin:f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei:
✔️ transaction 
SEND  0.25748704187555079 FIL
TO f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei
STATUS (1717ms)
  amount: 0.25748704187555079 FIL
  estimated fees: 0.000546217968182259 FIL
  total spent: 0.258033259843733049 FIL
✔️ has been signed! (2521ms) 
✔️ broadcasted! (201ms) optimistic operation: 
  -0.25748704187555079 FIL OUT        bafy2bzaceao7fbmbp2tn3zbi775ow3urxbtf6aknvzuitcznkkl6q4syd7bm4 2022-05-05T14:54
⚠️ Error: could not find optimisticOperation js:2:filecoin:f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda:-bafy2bzaceao7fbmbp2tn3zbi775ow3urxbtf6aknvzuitcznkkl6q4syd7bm4-OUT

Error: could not find optimisticOperation js:2:filecoin:f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda:-bafy2bzaceao7fbmbp2tn3zbi775ow3urxbtf6aknvzuitcznkkl6q4syd7bm4-OUT
all accounts sync in 968ms
▬ Filecoin 0.22.2 on nanoS 2.1.0
→ FROM Filecoin 2: 0.25748 FIL (0ops) (f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei on 44'/461'/1'/0/0) #1 js:2:filecoin:f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei: (! sum of ops 0 FIL)
max spendable ~0.25748
★ using mutation 'Transfer Max'
→ TO Filecoin 1 cross: 0.24117 FIL (1ops) (f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda on 44'/461'/0'/0/0) glifnormal#0 js:2:filecoin:f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda:
✔️ transaction 
SEND MAX
TO f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda
STATUS (814ms)
  amount: 0.257375268146986175 FIL
  estimated fees: 0.000111773728564615 FIL
  total spent: 0.25748704187555079 FIL
✔️ has been signed! (2541ms) 
✔️ broadcasted! (256ms) optimistic operation: 
  -0.257375268146986175 FIL OUT        bafy2bzacec2ljgyiqudfiqdv5ig2565xrpwmwgrfqlyy7szj3nnjzdg636ylm 2022-05-05T14:56
⚠️ Error: could not find optimisticOperation js:2:filecoin:f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei:-bafy2bzacec2ljgyiqudfiqdv5ig2565xrpwmwgrfqlyy7szj3nnjzdg636ylm-OUT

Error: could not find optimisticOperation js:2:filecoin:f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei:-bafy2bzacec2ljgyiqudfiqdv5ig2565xrpwmwgrfqlyy7szj3nnjzdg636ylm-OUT
Details of the 3 mutations

Spec Filecoin (3)

Spec Filecoin found 3 Filecoin accounts. Will use Filecoin 0.22.2 on nanoS 2.1.0
(1913ms) Filecoin 1 cross: 0.499 FIL (1ops) (f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda on 44'/461'/0'/0/0) glifnormal#0 js:2:filecoin:f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda:
(1913ms) Filecoin 1: 0.499 FIL (1ops) (f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda on 44'/461'/0'/0/0) #0 js:2:filecoin:f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda:
(1138ms) Filecoin 2: 0 FIL (0ops) (f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei on 44'/461'/1'/0/0) #1 js:2:filecoin:f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei:
all accounts sync in 1277ms
▬ Filecoin 0.22.2 on nanoS 2.1.0
→ FROM Filecoin 1 cross: 0.499 FIL (1ops) (f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda on 44'/461'/0'/0/0) glifnormal#0 js:2:filecoin:f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda:
max spendable ~0.499
★ using mutation 'Transfer Max'
✔️ transaction 
SEND 
TO f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei
⚠️ LedgerAPI5xx: Something went wrong

all accounts sync in 1092ms
▬ Filecoin 0.22.2 on nanoS 2.1.0
→ FROM Filecoin 1: 0.499 FIL (1ops) (f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda on 44'/461'/0'/0/0) #0 js:2:filecoin:f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda:
max spendable ~0.499
★ using mutation 'Send 50%~'
→ TO Filecoin 2: 0 FIL (0ops) (f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei on 44'/461'/1'/0/0) #1 js:2:filecoin:f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei:
✔️ transaction 
SEND  0.25748704187555079 FIL
TO f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei
STATUS (1717ms)
  amount: 0.25748704187555079 FIL
  estimated fees: 0.000546217968182259 FIL
  total spent: 0.258033259843733049 FIL
✔️ has been signed! (2521ms) 
✔️ broadcasted! (201ms) optimistic operation: 
  -0.25748704187555079 FIL OUT        bafy2bzaceao7fbmbp2tn3zbi775ow3urxbtf6aknvzuitcznkkl6q4syd7bm4 2022-05-05T14:54
⚠️ Error: could not find optimisticOperation js:2:filecoin:f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda:-bafy2bzaceao7fbmbp2tn3zbi775ow3urxbtf6aknvzuitcznkkl6q4syd7bm4-OUT

all accounts sync in 968ms
▬ Filecoin 0.22.2 on nanoS 2.1.0
→ FROM Filecoin 2: 0.25748 FIL (0ops) (f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei on 44'/461'/1'/0/0) #1 js:2:filecoin:f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei: (! sum of ops 0 FIL)
max spendable ~0.25748
★ using mutation 'Transfer Max'
→ TO Filecoin 1 cross: 0.24117 FIL (1ops) (f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda on 44'/461'/0'/0/0) glifnormal#0 js:2:filecoin:f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda:
✔️ transaction 
SEND MAX
TO f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda
STATUS (814ms)
  amount: 0.257375268146986175 FIL
  estimated fees: 0.000111773728564615 FIL
  total spent: 0.25748704187555079 FIL
✔️ has been signed! (2541ms) 
✔️ broadcasted! (256ms) optimistic operation: 
  -0.257375268146986175 FIL OUT        bafy2bzacec2ljgyiqudfiqdv5ig2565xrpwmwgrfqlyy7szj3nnjzdg636ylm 2022-05-05T14:56
⚠️ Error: could not find optimisticOperation js:2:filecoin:f154ruht7usm2dr2c2bezsmqepesdaum2nyjaacei:-bafy2bzacec2ljgyiqudfiqdv5ig2565xrpwmwgrfqlyy7szj3nnjzdg636ylm-OUT


Portfolio ($14.52)

Details of the 1 currencies
Spec (accounts) Operations Balance funds?
Filecoin (1) 5 (+3) 0.998 FIL (- 0.0008745) ($14.52) ⚠️ f1uxfmur64lbpcblhw7mlmi3s7ocii33e5niv4gda

Please sign in to comment.