Skip to content

Commit

Permalink
feat: known EVM networks & tokens (#67)
Browse files Browse the repository at this point in the history
* wip: collect known evm networks & tokens data

* feat: logos download steps

* feat: partial provisioning of logos

* wip: partial logo provisioning

* wip: partial token logos provisioning

* wip: partial token logos provisioning

* feat: logos provisioning

* feat: logos provisioning completed

* wip: evm native token overrides

* fix: disable steps temporarily

* chore: logo provisioning update

* wip: rework build

* fix: fetch external

* fix: evm-networks schema compliance

* fix: substrate tokens coingecko logos provisioning

* feat: chains extra cache

* fix: token logos

* fix: substrate native token logos

* fix: chaindata schema

* feat: file structure section in readme

* fix: token cache duplicates

* wip: polishing
  • Loading branch information
0xKheops authored Oct 13, 2023
1 parent 83fa74e commit 5772ac3
Show file tree
Hide file tree
Showing 8,375 changed files with 149,741 additions and 427 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
# Only needed when running `bun run build` locally
# When it's run on the CI, GitHub automatically generates a GITHUB_TOKEN for the job
GITHUB_TOKEN=

# Should only be necessary when running on the CI
COINGECKO_API_KEY=
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,21 @@ To make a contribution, please fork this repo and make your changes in your fork
1. Copy `.env.sample` to `.env` and fill in the variables
1. Run the build via
`pnpm build`

### File structure

Some files are edited manually, some other are generated automatically as part of the CI.

The table below describes the purpose of each file and how it is edited.

| File name | Edit Type | Purpose |
| ------------------------------------- | --------- | --------------------------------------------------------------------------------------------- |
| `chaindata.json` | manual | A list of all parachains and relay chains in the Polkadot ecosystem |
| `testnets-chaindata.json` | manual | A list of all parachains and relay chains in the Polkadot ecosystem |
| `chains-extras-cache.json` | automatic | Caches static data for each substrate chain |
| `evm-networks.json` | manual | List of EVM chains supported by default in Talisman |
| `known-evm-networks.json` | automatic | List of EVM networks, generated from [ethereum-lists](https://github.com/ethereum-lists) |
| `known-evm-networks-overrides.json` | manual | Overrides to `known-evm-networks.json`, matched by chain id |
| `known-evm-networks-icons-cache.json` | automatic | Caches images for each network defined in [ethereum-lists](https://github.com/ethereum-lists) |
| `known-evm-tokens-cache.json` | automatic | Caches static data for ERC20 tokens |
| `tokens-buyable.json` | manual | List of tokens displayed in Talisman's Buy Tokens form |
21 changes: 21 additions & 0 deletions assets/chains/10.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
92 changes: 92 additions & 0 deletions assets/chains/42170.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/chains/known/5ireChain.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/chains/known/ETND.webp
Binary file not shown.
Binary file added assets/chains/known/LaChain.webp
Binary file not shown.
Binary file added assets/chains/known/MARO.webp
Binary file not shown.
Binary file added assets/chains/known/PLT.webp
Binary file not shown.
Binary file added assets/chains/known/SX.webp
Binary file not shown.
Binary file added assets/chains/known/SenjePowers.webp
Binary file not shown.
Binary file added assets/chains/known/aac.webp
Binary file not shown.
Binary file added assets/chains/known/acolicon.webp
Binary file not shown.
Binary file added assets/chains/known/adil.webp
Binary file not shown.
Binary file added assets/chains/known/aerie.webp
Binary file not shown.
Binary file added assets/chains/known/agora.webp
Binary file not shown.
Binary file added assets/chains/known/agung.webp
Binary file not shown.
Binary file added assets/chains/known/aia.webp
Binary file not shown.
Binary file added assets/chains/known/aioz.webp
Binary file not shown.
Binary file added assets/chains/known/airdao.webp
Binary file not shown.
Binary file added assets/chains/known/alaya.webp
Binary file not shown.
Binary file added assets/chains/known/alltra.webp
Binary file not shown.
Loading

0 comments on commit 5772ac3

Please sign in to comment.