Readonly
apiDecentraWeb API wrapper instance
Readonly
chainProtected
Readonly
contractReadonly
contractReadonly
dwebDWEB token contract
Readonly
networkReadonly
providerReadonly
signerEthers.js Ethereum signer for writing data to the blockchain
Readonly
wethIs the registrar on the Polygon network
Returns the price of registration in wei
domain name and duration
if true, registration fee will be paid in DWEB tokens, otherwise in WETH
Returns the price of registration in wei for multiple domains
array of domain names and durations
if true, registration fee will be paid in DWEB tokens, otherwise in WETH
Check staking status of a list of domains
list of domains to check
Returns the price of registration in ETH and DWEB tokens and verifies if signer has enough balance to pay for registration.
Generated using TypeDoc
Class that handles TLD registration on Polygon network. Registration is done in 2 steps:
Example