Web Wallet
Install
When Namada is in mainnet
, the web wallet will be available in most browser extension web stores. For now, the user can install it from source by following the instructions below.
Installing from source (for development and experiment purposes)
Connect to a testnet or run a local node
- Follow the instructions for the testnets to connect to a testnet or set up a local node.
- Figure out where the base directory is stored and save its location as a variable such as
export BASE_DIR=<path/to/base/dir>
. You can follow these docs to save this variable. Go ahead and save the chain id as a variable as well. You can find the chain id by runningcat $BASE_DIR/global-config.toml
. Save this chain-id to the variableexport CHAIN_ID=<CHAIN_ID>
. - You will need to edit the CometBFT config in order to allow the web wallet to connect to your node.
The CometBFT config will be located in
$BASE_DIR/$CHAIN_ID/cometbft/config/config.toml
. You will need to change thecors_allowed_origins
field to["*"]
. You can do this by runningsed -i 's/cors_allowed_origins = \[\]/cors_allowed_origins = ["*"]/' \ $BASE_DIR/$CHAIN_ID/cometbft/config/config.toml
Setting up the extension
- Clone the namada-interface repository (opens in a new tab).
- Follow the installation instructions in
README.md
. cd
into thenamada-interface/apps/extension
directory and runyarn start:chrome
. This will build the extension and place it in thenamada-interface/apps/extension/build
directory. It also starts the dev server which will watch for changes.cd
into thenamada-interface/apps/namada-interface
directory and runyarn dev:local
in order to launch a local instance of the web wallet.- Add the extension to the browser. For example, in Chrome, you can go to
chrome://extensions/
and clickLoad unpacked
and select thenamada-interface/apps/extension/build/chrome/
folder.
Receiving tokens
You can show the address of any account by pressing the Receive
button in the initial view under the "Total Balances" tab. You can copy the address by clicking the copy icon next to the address.
This will also display a QR code that can be scanned by a mobile wallet.
Sending Transactions
In order to send transactions, you can press the Send
button in the initial view under the "Total Balances" tab. This will open a modal that will allow you to send tokens to any account, from any account in your wallet that has a positive balance.