BSC DApp Connect Nabox Plugin

Nabox Chrome Plugin v1.0.7

Install the App

Acquire Nabox plugin in Google store

Download

Acquire source code

Acquire the latest source code from Github: http://github.com/naboxwallet

Installation dependency

npm install

Runing locally

npm run serve

Packaging locally

npm run build

Google plugin add the local package

Connect Plugin

1.window.NaboxWallet

Nabox Wallet injected a NaboxWallet object which is similar to Metamask; You can refer to the method of connecting metamask for adaptation;

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

2.window.ethereum

Nabox Wallet will inject ethereum objects into the page when the user does not install or enable metamask;

Last updated