Skip to content

selendra/selendra-staking-dashboard

 
 

Repository files navigation

Selendra Staking Dashboard

Setup for development

## Run this first if failed run later command.
npm install --legacy-peer-deps.
## Run this after failed
npm install --force
npm run start

Environment Variables

Optionally apply the following envrionment variables in an environment file such as .env or with yarn build to customise the build of dashboard:

# disable all mentioning of fiat values and token prices
REACT_APP_DISABLE_FIAT=1

# display an organisation label in the network bar
REACT_APP_ORGANISATION="© Selendra"

# provide a privacy policy url in the network bar
REACT_APP_PRIVACY_URL=https://...

# disable mainnet network (for testnet deployment)
REACT_APP_DISABLE_MAINNET=1


# add connection to a custom network (for example a feature net, local and devnet are avaliable by default in a development build)
REACT_APP_ENABLE_CUSTOM_NETWORK=1
REACT_APP_CUSTOM_WS_ADDRESS=wss://rpc-testnet.selendra.org

About

Selendra Staking Dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 99.5%
  • Other 0.5%