Hop Protocol config and metadata
import * as addresses from '@hop-protocol/core/addresses'
console.log(addresses.kovan.USDC.ethereum.l1Bridge)) // 0x123...
See the following files for list of available addresses
import * as networks from '@hop-protocol/core/networks'
console.log(networks.mainnet.gnosis.rpcUrls[0]) // "https://rpc.gnosischain.com/"
See the following files for available configuration info
import { L1BridgeAbi } from '@hop-protocol/core/abi'
console.log(L1BridgeAbi)) // [...]
See src/abi/index.ts for list of available ABIs
import * as metadata from '@hop-protocol/core/metadata'
console.log(metadata.mainnet.tokens.USDC.decimals)) // 6
- See src/metadatatokens.ts for available token metadata
- See src/metadata/chains.ts for available chain metadata