> For the complete documentation index, see [llms.txt](https://nabox.gitbook.io/nabox/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nabox.gitbook.io/nabox/ethereum-dapp-connect-nabox-plugin.md).

# DApp connects to Nabox Wallet (EVM)

### 1.window\.NaboxWallet

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",

&#x20;"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；
