Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hhstore committed Aug 2, 2021
1 parent f14f958 commit dba0907
Showing 1 changed file with 16 additions and 20 deletions.
36 changes: 16 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,23 @@ crypto wallet metadata
## metadata:

- [dist](dist)

### ETH Tokens:

- ETH Tokens: [dist/eth_contract_map.json](./dist/eth_contract_map.json)
- token metadata: https://github.com/MetaMask/contract-metadata/blob/master/contract-map.json
- this file miss some fields, not completed


### BSC Tokens:

- BSC Tokens: [dist/bsc_contract_map.json](dist/bsc_contract_map.json)
- support bsc `mainnet/testnet`
- token icon: https://github.com/binance-chain/tokens-info
- token metadata:
- https://dex.binance.org/api/v1/tokens?limit=1000000000
- https://testnet-dex.binance.org/api/v1/tokens?limit=1000000000



## quickstart:
Expand Down Expand Up @@ -53,27 +68,8 @@ task gen

```

## wallet contract metadata:


### ETH:

- token metadata: https://github.com/MetaMask/contract-metadata/blob/master/contract-map.json
- this file miss some fields, not completed
- generate result: [dist/eth_contract_map.json](./dist/eth_contract_map.json)


### BSC:

- token icon: https://github.com/binance-chain/tokens-info
- token metadata:
- https://dex.binance.org/api/v1/tokens?limit=1000000000
- https://testnet-dex.binance.org/api/v1/tokens?limit=1000000000
- generate result: [dist/bsc_contract_map.json](dist/bsc_contract_map.json)
- support bsc `mainnet/testnet`

## ref:

- https://taskfile.dev/#/usage?id=env-files
- https://github.com/better-go/pkg
- https://gobyexample.com/writing-files
- https://gobyexample.com/writing-files

0 comments on commit dba0907

Please sign in to comment.