Wallet

How to set up your web3 wallet to use your Erigon node

Whatever network you are running, it's easy to connect your Erigon node to your local web3 wallet. Here is a couple of examples of popular web3 wallets:

  • Metamask

  • Mycrypto.com

For Erigon to provide access to wallet functionalities it is necessary to enable RPC by adding the flags --http.addr="0.0.0.0" --http.api=eth,web3,net,debug,trace,txpool

For example:

/build/bin/erigon --internalcl --http.addr="0.0.0.0" --http.api=eth,web3,net,debug,trace,txpool

Metamask

To configure your local Metamask wallet (browser extension)

  1. Click on the network selector button. This will display a list of networks to which you're already connected

  2. Click 'Add network'

  3. A new browser tab will open, displaying various fields to fill out. Complete the fields with the proper information, in this example for Ethereum network:

    • Network Name: Erigon (or any name of your choice)

    • Chain ID: 1

    • New RPC URL: https://127.0.0.1:8545

    • Currency Symbol: ETH

    • Block Explorer URL: https://www.etherscan.io (or any explorer of your choice)

    After performing the above steps, you will be able to see the custom network the next time you access the network selector.

MyCrypto

To add your Erigon node to your MyCrypto wallet follow these steps

1. Click on Change Network

2. Tap + Add Custom Node

3. Enter the following details:

  • Node Name: Erigon (or any name of your choice)

  • Network: ETH (or the network of your choice; in case you are trying to add a network not present in the list use custom)

  • URL: https://127.0.0.1:8545

Tap on Save & Use Custom Node to finish.

Last updated