crypto-wallet-core
Version:
A multi-currency support library for address derivation, private key creation, and transaction creation
224 lines (218 loc) • 6.14 kB
text/typescript
export let ETH_TOKEN_OPTS = {
'0x4fabb145d64652a948d72533023f6e7a623c7c53': {
name: 'Binance USD Coin',
symbol: 'BUSD',
decimals: 18,
address: '0x4fabb145d64652a948d72533023f6e7a623c7c53'
},
'0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48': {
name: 'USD Coin',
symbol: 'USDC',
decimals: 6,
address: '0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48'
},
'0x6c3ea9036406852006290770BEdFcAbA0e23A0e8': {
name: 'PayPal USD',
symbol: 'PYUSD',
decimals: 6,
address: '0x6c3ea9036406852006290770BEdFcAbA0e23A0e8'
},
'0x8e870d67f660d95d5be530380d0ec0bd388289e1': {
name: 'Paxos Dollar',
symbol: 'USDP',
decimals: 18,
address: '0x8e870d67f660d95d5be530380d0ec0bd388289e1'
},
'0x056fd409e1d7a124bd7017459dfea2f387b6d5cd': {
name: 'Gemini Dollar',
symbol: 'GUSD',
decimals: 2,
address: '0x056fd409e1d7a124bd7017459dfea2f387b6d5cd'
},
'0x6b175474e89094c44da98b954eedeac495271d0f': {
name: 'Dai',
symbol: 'DAI',
decimals: 18,
address: '0x6b175474e89094c44da98b954eedeac495271d0f'
},
'0x2260fac5e5542a773aa44fbcfedf7c193bc2c599': {
name: 'Wrapped Bitcoin',
symbol: 'WBTC',
decimals: 8,
address: '0x2260fac5e5542a773aa44fbcfedf7c193bc2c599'
},
'0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce': {
address: '0x95ad61b0a150d79219dcf64e1e6cc01f0b64c4ce',
decimals: 18,
name: 'SHIBA INU',
symbol: 'SHIB'
},
'0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c': {
name: 'Euro Coin',
symbol: 'EUROC',
decimals: 6,
address: '0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c'
},
'0x4d224452801aced8b2f0aebe155379bb5d594381': {
name: 'ApeCoin',
symbol: 'APE',
decimals: 18,
address: '0x4d224452801aced8b2f0aebe155379bb5d594381'
},
'0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0': {
name: 'Matic Token',
symbol: 'MATIC',
decimals: 18,
address: '0x7d1afa7b718fb893db30a3abc0cfc608aacfebb0'
},
'0xdac17f958d2ee523a2206206994597c13d831ec7': {
name: 'Tether USD',
symbol: 'USDT',
decimals: 6,
address: '0xdac17f958d2ee523a2206206994597c13d831ec7'
}
};
export let MATIC_TOKEN_OPTS = {
'0x2791bca1f2de4661ed88a30c99a7a9449aa84174': {
name: 'USDC.e',
symbol: 'USDC.e',
decimals: 6,
address: '0x2791bca1f2de4661ed88a30c99a7a9449aa84174'
},
'0xdab529f40e671a1d4bf91361c21bf9f0c9712ab7': {
name: 'binance-usd',
symbol: 'BUSD',
decimals: 18,
address: '0xdab529f40e671a1d4bf91361c21bf9f0c9712ab7'
},
'0x8f3cf7ad23cd3cadbd9735aff958023239c6a063': {
name: '(PoS) Dai Stablecoin',
symbol: 'DAI',
decimals: 18,
address: '0x8f3cf7ad23cd3cadbd9735aff958023239c6a063'
},
'0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6': {
name: '(PoS) Wrapped BTC',
symbol: 'WBTC',
decimals: 8,
address: '0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6'
},
'0x6f8a06447ff6fcf75d803135a7de15ce88c1d4ec': {
name: 'SHIBA INU (PoS)',
symbol: 'SHIB',
decimals: 18,
address: '0x6f8a06447ff6fcf75d803135a7de15ce88c1d4ec'
},
'0xb7b31a6bc18e48888545ce79e83e06003be70930': {
name: 'ApeCoin (PoS)',
symbol: 'APE',
decimals: 18,
address: '0xb7b31a6bc18e48888545ce79e83e06003be70930'
},
'0xc2132d05d31c914a87c6611c10748aeb04b58e8f': {
name: 'Tether USD',
symbol: 'USDT',
decimals: 6,
address: '0xc2132d05d31c914a87c6611c10748aeb04b58e8f'
},
'0x7ceb23fd6bc0add59e62ac25578270cff1b9f619': {
name: 'Wrapped Ether',
symbol: 'WETH',
decimals: 18,
address: '0x7ceb23fd6bc0add59e62ac25578270cff1b9f619',
},
'0x3c499c542cef5e3811e1192ce70d8cc03d5c3359': {
name: 'USDC',
symbol: 'USDC',
decimals: 6,
address: '0x3c499c542cef5e3811e1192ce70d8cc03d5c3359',
}
};
export let ARB_TOKEN_OPTS = {
'0xaf88d065e77c8cc2239327c5edb3a432268e5831': {
name: 'USD Coin',
symbol: 'USDC',
decimals: 6,
address: '0xaf88d065e77c8cc2239327c5edb3a432268e5831'
},
'0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f': {
name: 'Wrapped Bitcoin',
symbol: 'WBTC',
decimals: 8,
address: '0x2f2a2543b76a4166549f7aab2e75bef0aefc5b0f'
},
'0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9': {
name: 'Tether USD',
symbol: 'USDT',
decimals: 6,
address: '0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9'
},
'0x82af49447d8a07e3bd95bd0d56f35241523fbab1': {
name: 'Wrapped Ether',
symbol: 'WETH',
decimals: 18,
address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1',
}
};
export let BASE_TOKEN_OPTS = {
'0x833589fcd6edb6e08f4c7c32d4f71b54bda02913': {
name: 'USD Coin',
symbol: 'USDC',
decimals: 6,
address: '0x833589fcd6edb6e08f4c7c32d4f71b54bda02913'
},
'0x4200000000000000000000000000000000000006': {
name: 'Wrapped Ether',
symbol: 'WETH',
decimals: 18,
address: '0x4200000000000000000000000000000000000006',
}
};
export let OP_TOKEN_OPTS = {
'0x0b2c639c533813f4aa9d7837caf62653d097ff85': {
name: 'USD Coin',
symbol: 'USDC',
decimals: 6,
address: '0x0b2c639c533813f4aa9d7837caf62653d097ff85'
},
'0x68f180fcce6836688e9084f035309e29bf0a2095': {
name: 'Wrapped Bitcoin',
symbol: 'WBTC',
decimals: 8,
address: '0x68f180fcce6836688e9084f035309e29bf0a2095'
},
'0x94b008aa00579c1307b0ef2c499ad98a8ce58e58': {
name: 'Tether USD',
symbol: 'USDT',
decimals: 6,
address: '0x94b008aa00579c1307b0ef2c499ad98a8ce58e58'
},
'0x4200000000000000000000000000000000000006': {
name: 'Wrapped Ether',
symbol: 'WETH',
decimals: 18,
address: '0x4200000000000000000000000000000000000006',
}
};
export let SOL_TOKEN_OPTS = {
'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v': {
name: 'USD Coin',
symbol: 'USDC',
decimals: 6,
address: 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v'
},
'Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB': {
name: 'Tether USD',
symbol: 'USDT',
decimals: 6,
address: 'Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB'
},
};
export const TOKEN_OPTS = {
ETH_TOKEN_OPTS,
MATIC_TOKEN_OPTS,
ARB_TOKEN_OPTS,
BASE_TOKEN_OPTS,
OP_TOKEN_OPTS,
SOL_TOKEN_OPTS
}