The react implementation for Dashboard Delegation
·
Report Bug
·
Request Feature
The dapp is a client side only poject and is built using the Create React App scripts.
Follow the next step to start using this dapp or follow the next tutorial on Youtube
For development you will need to have the following:
From a terminal, navigate to the project folder and run yarn install
In the application's src folder there are 3 config files (config.devnet.ts, config.testnet.ts, config.mainnet.ts).
Based on the environment used the configs will need to be updated:
.env.example
to .env
staking.yourcompany.com
or add path e.g. PUBLIC_URL=/staking/
if you wish to deploy the app in a subfolder.A build of the app is necessary to deploy for testing purposes or for production use. The dapp is configured with build scripts targeting either the public devnet, the public testnet or the public mainnet.
For testing on the devnet run => yarn run build-devnet
For testing on the testnet run => yarn run build-testnet
For production use on the mainnet run => yarn run build-mainnet
To run the project locally run yarn start
from the project folder. This will start the React app in development mode, using the configs found in the config.ts file.
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
One can contribute by creating pull requests, or by opening issues for discovered bugs or desired features.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)