This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
از همه عزیزان عذرخواهی میکنم بابت مشکل پیش آمدهتا امروز متوجه اشتباه نبودم i AM Sorry 😔 🙏🌹 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Contract, utils } from 'ethers' | |
import { getProvider } from './contracts' // https://docs.ethers.org/v5/api/providers/ | |
import L2ResolverAbi from './L2ResolverAbi.json' // https://gist.github.com/hughescoin/adf1c90b67cd9b2b913b984a2cc98de9 | |
const BASENAME_L2_RESOLVER_ADDRESS = '0xC6d566A56A1aFf6508b41f6c90ff131615583BCD' | |
const convertChainIdToCoinType = (chainId) => { | |
// L1 resolvers to addr | |
if (chainId === 1) { // 1 is mainnet chain id | |
return 'addr' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Contract, utils } from 'ethers' | |
import { getProvider } from './contracts' // https://docs.ethers.org/v5/api/providers/ | |
import L2ResolverAbi from './L2ResolverAbi.json' // https://gist.github.com/hughescoin/adf1c90b67cd9b2b913b984a2cc98de9 | |
const BASENAME_L2_RESOLVER_ADDRESS = '0xC6d566A56A1aFf6508b41f6c90ff131615583BCD' | |
const convertChainIdToCoinType = (chainId) => { | |
// L1 resolvers to addr | |
if (chainId === 1) { // 1 is mainnet chain id | |
return 'addr' | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Markdown 4 mins █████████████████████ 100.0% |