christianholman / whbar-portal

Home Page:https://portal.whbar.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🌀 wHBAR Portal

Local development

  1. Install dependencies
  2. Configure environment
  3. Run

Install dependencies

npm i
# or 
yarn

Configure environment

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

Run the development server

npm run dev
# or
yarn dev

About

https://portal.whbar.co


Languages

Language:TypeScript 88.5%Language:JavaScript 9.3%Language:CSS 1.9%Language:Shell 0.2%