DApp connects to Nabox Wallet (EVM)
EVM Tether DApp connects to Nabox wallet.
Last updated
EVM Tether DApp connects to Nabox wallet.
Last updated
Nabox Wallet injects the window.NaboxWallet object into the page, which is similar to the ethereum object injected by MetaMask. You can adapt it by referring to the way to adapt MetaMask.
Nabox Wallet implements some API of MetaMask, including:
"eth_accounts",
"eth_requestAccounts",
“eth_sign”,
"personal_sign",
"wallet_addEthereumChain",
"wallet_switchEthereumChain",
"eth_sendTransaction",
"eth_getBalance",
"eth_getCode",
"eth_call",
"eth_estimateGas",
"eth_getTransactionByHash",
"eth_blockNumber",
"eth_getTransactionReceipt",
"net_version",
"eth_chainId",
"eth_gasPrice",
And "accountsChanged", "chainChanged" events
Nabox Wallet will inject ethereum objects into the page when the user does not install or enable MetaMask;