forked from OffchainLabs/arbitrum-token-lists
-
Notifications
You must be signed in to change notification settings - Fork 0
/
update_all
executable file
·26 lines (21 loc) · 1.17 KB
/
update_all
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
if [[ $FORCE_USE_NVM == 'true' ]]; then
echo "(running script using node via nvm)"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
fi
# arb1
yarn fullList --l2NetworkID 42161
yarn arbify --l2NetworkID 42161 --tokenList https://gateway.ipfs.io/ipns/tokens.uniswap.org
yarn arbify --l2NetworkID 42161 --tokenList https://www.gemini.com/uniswap/manifest.json
yarn arbify --l2NetworkID 42161 --tokenList https://api.coinmarketcap.com/data-api/v3/uniswap/all.json
# update whitelist era list (for e.g. changed gateways)
yarn update --l2NetworkID 42161 --tokenList ./src/ArbTokenLists/arbed_arb_whitelist_era.json --includeOldDataFields true
# nova
# yarn fullList --l2NetworkID 42170
yarn arbify --l2NetworkID 42170 --tokenList https://gateway.ipfs.io/ipns/tokens.uniswap.org
yarn arbify --l2NetworkID 42170 --tokenList https://www.gemini.com/uniswap/manifest.json
yarn arbify --l2NetworkID 42170 --tokenList https://api.coinmarketcap.com/data-api/v3/uniswap/all.json
# goerli rollup testnet
yarn arbify --l2NetworkID 421613 --tokenList https://api.coinmarketcap.com/data-api/v3/uniswap/all.json
yarn fullList --l2NetworkID 421613