Skip to content
This repository has been archived by the owner on Oct 27, 2023. It is now read-only.

Latest commit

 

History

History
32 lines (23 loc) · 1.02 KB

METAMASK.md

File metadata and controls

32 lines (23 loc) · 1.02 KB

1. ETHEREUM NETWORK SETUP

Make sure you have the Metamask extension installed. Then fill in the ENV file with Ethereum EVM Network, for exemple using Kovan.

# .env

# Create a new infura provider (or any other web3 provider) and add the id here
NEXT_PUBLIC_WEB3_CONNECTION=wss://kovan.infura.io/ws/v3/

# MetaMask Network Configs
NEXT_PUBLIC_NATIVE_TOKEN_NAME=ETH
NEXT_PUBLIC_NEEDS_CHAIN_ID=42
NEXT_PUBLIC_NEEDS_CHAIN_NAME=kovan
NEXT_PUBLIC_BLOCKSCAN_LINK=kova.etherscan.com

Or emulate your own blockchain using Ganache.

2. ADMIN WALLET

The admin wallet is the address of the contracts governor, this person will be able to manage the default network, also to access the /administration page where actions to manage the default settings for ERC20 and Network are available. Check Networks Manager doc for more.

# .env

NEXT_PUBLIC_ADMIN_WALLET_ADDRESS=yourwalletaddress
NEXT_WALLET_PRIVATE_KEY=yourwalletprivatekey