-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Known EVM networks & tokens #1126
Merged
alecdwm
merged 17 commits into
refactor/distributed-metadata
from
feat/known-networks-and-tokens
Nov 3, 2023
Merged
feat: Known EVM networks & tokens #1126
alecdwm
merged 17 commits into
refactor/distributed-metadata
from
feat/known-networks-and-tokens
Nov 3, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xKheops
changed the title
wip: chaindata logos & ignore non default chains
feat: Known EVM networks & tokens
Oct 16, 2023
alecdwm
reviewed
Nov 3, 2023
// TODO remove | ||
log.debug("hydrateChains", chains) | ||
|
||
// TODO check if alec is this the right way to set native token |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll fix this up as part of the changes I'm doing next week
alecdwm
approved these changes
Nov 3, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! I'm going to merge this into my branch and then continue my work from there
alecdwm
added a commit
that referenced
this pull request
Jan 5, 2024
* wip: fetch chaindata from github * wip: metadata updater * chore: consolidated balance modules * wip: metadata updater * wip: port substrate-assets module * wip: port substrate-tokens module * wip: port substrate-equilibrium module * wip: port substrate-psp22 module * wip: rm substrate-orml module and @talismn/mutate-metadata * fix: jest mocks for chaindata-provider-extension * wip: update miniMetadatas when hydrating tokens * fix: remove deprecated test * fix: changesets referencing deleted packages * wip: update miniMetadatas when hydrating tokens * wip: missing miniMetadata in balance modules * wip: build evm tokens list in chaindata db * fix: availableTokenLogoFilenames export * feat: Known EVM networks & tokens (#1126) * wip: chaindata logos & ignore non default chains * feat: disable networks * chore: cleanup * feat: enable/disable tokens * feat: search & enable known evm networks * fix: perf when updating networks & tokens * chore: cleanup * fix: balances subscription init performance * fix: larger toggle click zone * fix: reset evm network * fix: virtualized rows * fix: filter behavior * fix: token filter * feat: clear button on search input * feat: token form adjustments * feat: enable toggle on chains forms * fix: wording * fix: remove deleted packages from changesets * fix: inconsistent peerDeps in packages * feat: added button to reset chain enabled status to talisman default * fix: inconsistent peerDeps in packages (again) * fix: show error message when @talismn/scale is used but not initialized * fix: remove deleted packages from changesets * fix: incorrect `EvmNativeModuleConfig.symbol` type * fix: use type `string` for `contractAddress` in `EvmErc20ModuleConfig` * fix: `ChainConnectorEvm` constructor params * fix: init chaindata * fix: performance improvements & decoding via subshape * fix: missing reset buttons on display balances toggles * fix: pull miniMetadatas and tokens from chaindata * fix: print sentry events to the console in development * fix: crash when chaindata chain has no balancesConfig key * fix: substrate chain reset * fix: crash on prod builds * chore: update @talismn/subshape-fork * fix: separate init data into its own vendor-background script to keep all scripts below 4MB * fix: further split up init data to keep all scripts below 4MB * fix: background script not starting when `dependsOn` is an array * feat: networks and tokens opt-in enhancements (#1162) * fix: enable checks & unnecessary balance reset * fix: tokensWithTestnetsState * fix: balances in account pickers * feat: debug from specific chaindata branch * fix: layout shifts on load * fix: don't refetch tokens when polling * feat: enable/disable all substrate networks * feat: enable/disable all networks * feat: initial delay for polled balances * feat: message if no balance to display * fix: buyable tokens json url * fix: ignore account all in query string * fix: delete custom network * fix: reset balances sub if tokens change * fix: show balances for import when onboarding * fix: typos in comments * feat: initialize empty balances * fix: balance status * fix: chainId from tokenId * fix: cleanup * fix: don't display balances until initialized * chore: cleanup * fix: optimize add missing balances code * fix: tests * feat: shimmer when initializing balance * fix: absolute imports in balances handler * fix: absolute imports in tokenRates handler * fix: show updateTokenRates warning in function docstring --------- Co-authored-by: alecdwm <[email protected]> * refactor: getChainIdFromTokenId * fix: remove useless top level suspense * fix: merge regression * refactor: atoms & suspense performance * fix: layout shift on token & chain logos * fix: tests * chore: cleanup * fix: suspense on tokenRates to prevent flickering * feat: init balances for balancesByParams * feat: maintain subscription when opening dashboard * fix: cleanup * refactor: pull buy tokens config from config repo * fix: wording * fix: no assets message * fix: remove changeset for deleted pkg * fix: changeset * chore: cleanup * feat: merge main atoms into one (#1187) * feat: merge main atoms into one * feat: merge atoms * fix: tests * fix: vendor-talisman cacheGroup not including init data * fix: don't import chaindata init data until it's actually used * fix: **really** don't import chaindata init data until it's actually used * chore: update init data * feat: assets discovery (#1191) * fix: responsive account name alignment in portfolio account picker (#1183) * fix: responsive account name alignment in portfolio account picker * fix: don't break text-ellipsis * fix: allow blockeplorer to be null in wallet_addEthereumChain (#1175) * wip: asset discovery * refactor: optimize scan * feat: token rates for asset discovery * feat: scan contextual menu * fix: prevent bug in analytics (#1186) * fix: remove nonce when estimating gas to validate txs (#1189) * feat: revoke approval signing ui (#1190) * fix: layout shift on dashboard asset rows (#1192) * fix: wording * Upgrade Ledger deps (#1193) * chore: upgrade ethereum ledger dependencies * fix: improve Ledger connection error messages * chore: specify version of ledger/hw-transport library * chore: version bump 1.20.1 (#1194) * chore: rename enabled to active * fix: tests * chore: cleanup * fix: enable => activate * fix: log timer warnings * feat: options param on main hooks * feat: scan native tokens * feat: scan & activate native tokens * fix: testnets management * fix: prevent auto switch to disabled network * feat: enrich when adding network from dapp * feat: migrate to new evm default networks * feat: privacy notice * fix: typo * feat: launch scan after adding account * feat: add border to notification container * feat: alerts if new tokens detected * chore: self review * chore: remove comment * fix: persist tokens count * fix: incorrect instantiation of `ChainConnectorEvm` (#1199) * fix: incorrect instantiation of `ChainConnectorEvm` * fix: combine ChaindataEvmNetworkProvider and ChaindataTokenProvider in ChainConnectorEvm --------- Co-authored-by: alecdwm <[email protected]> * fix: connected includes removed addreses (#1205) * fix: invoke stopListening when an error is caught (#1203) * feat: rework tokens page * fix: poll crowdloan contributions (fixes #1152) * feat: token info context menu * fix: erc20 check --------- Co-authored-by: Alec WM <[email protected]> Co-authored-by: Chid Gilovitz <[email protected]> Co-authored-by: Tiến Nguyễn Khắc <[email protected]> Co-authored-by: Chris Ling <[email protected]> --------- Co-authored-by: Kheops <[email protected]> Co-authored-by: Chid Gilovitz <[email protected]> Co-authored-by: Tiến Nguyễn Khắc <[email protected]> Co-authored-by: Chris Ling <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WIP