This feature aims to enable both mainnet and testnet DB resolvers to be used.
Describe Preferred Solution
User will use the same Off-chain resolver button to select the DB resolver during a name registration, the difference lies on the getResolverAddress function, which will get the information of the currentChain and return the correct Off-chain resolver addresses based on the chain the user is using to do the name registration.
Feature Request
Describe the Feature Request
This feature aims to enable both mainnet and testnet DB resolvers to be used.
Describe Preferred Solution
User will use the same Off-chain resolver button to select the DB resolver during a name registration, the difference lies on the
getResolverAddress
function, which will get the information of thecurrentChain
and return the correct Off-chain resolver addresses based on the chain the user is using to do the name registration.Related Code
useNameRegistration.tsx
constants.tsx