Follow these steps to add the GenLayer Localnet as a custom network in MetaMask:
- Unlock your MetaMask wallet or install MetaMask if you haven’t already.
- Click the network dropdown in the top-left corner of the MetaMask interface.
- Scroll to the bottom of the list and click "Add a custom network".
Fill out the fields with the following information:
- Network Name:
GenLayer Localnet - RPC URL:
http://127.0.0.1:4000/api - Chain ID:
61999 - Currency Symbol:
GEN - Block Explorer URL: Leave this blank for now.
- Click on "Save" to confirm and add the network to your MetaMask.
- Once saved, you will be automatically switched to the GenLayer Localnet network.
- Confirm that the GenLayer Localnet is selected in the network dropdown.
- Ensure the GenLayer Localnet is running and accessible at
http://127.0.0.1:4000/api. - If you encounter issues, double-check the Chain ID and RPC URL.
Clone this repository and set up the development environment:
yarn install && yarn startTo interact with Genlayer Wallet locally, you will need to install MetaMask Flask, a canary distribution for developers.