- Install dependencies
- Configure environment
- Run
npm i
# or
yarn
Next.js loads a local environment file from .env.local
mv .env.sample .env.local
Fill in the appropriate values
# The wHBAR contract address
NEXT_PUBLIC_CONTRACT_ADDRESS=0x6b432bb2dc5f6202ef79220df986c40656710954
# Ethereum network that the contract is on (1 = Ethereum, 5 = Goerli, etc..)
# https://chainid.network/
NEXT_PUBLIC_NETWORK_ID=5
# Hedera mainnet or testnet
NEXT_PUBLIC_HEDERA_NETWORK=testnet
Run the development server
npm run dev
# or
yarn dev