πEtherem (EVM)
As each blockchain network is different, there are some features that are unique to the packets involved. Here, we have included the special methods available in EVM Chains.
Networks
As you know, many blockchain networks such as BSC, Polygon, Avalanche, etc. are based on Ethereum (EVM) and work with the same logic. That's why our package is called evm-chains. All EVM networks will work in this package.
Networks contains many EVM-based blockchain networks by default, so you can directly launch the Provider with the relevant network.
import { networks, Provider } from '@multiplechain/evm-chains'
const ethereum = networks.ethereum
const bsc = networks.bsc
const polygon = networks.polygon
const sepolia = networks.sepolia
const findNetwork1 = networks.findById(1)
const findNetwork3 = networks.findByHexId('0x1')
const findNetwork2 = networks.findByKey('ethereum')
const findNetwork4 = networks.findByName('Ethereum')
const findNetwork5 = networks.findBySymbol('ETH')
const provider = new Provider(ethereum)Ethers
The class that contains many methods in Ethers.
Last updated