-
Create a
.env.development.local
file with the following content:TRON_PRIVATE_KEY = <key> NEXT_PUBLIC_BANK_KEY = <key> # if empty will fallback to https://api.shasta.trongrid.io TRON_WEB_NODE = https://api.trongrid.io NEXT_PUBLIC_NPC_ADDRESS = <base58_address> NEXT_PUBLIC_NPC_PRIVATE_KEY = <key>
The Tron Grid key is obtainable on the TronGrid website. The private key from a wallet.
-
Install the TronLink extension.
-
Install dependencies with
yarn install
and run the development server withyarn dev
.
On every commit Husky executes two Git hooks:
- commit-msg: ensure that the commit message follows the Convetional Commit Format
- pre-commit: run
yarn lint
andyarn format:check
. In case some files aren't well-formatted, you can manually executeyarn format:write
to format them.
Current development status can be consulted in the Github Project section. Pick one of the open issues or tasks and follow the instructions below:
-
Fork the Project
-
Follow the instructions in getting started
-
Create your Feature Branch (
git checkout -b feature/AmazingFeature
) -
Commit your Changes (
git commit -m 'feat: AmazingFeature'
). Use the Conventional Commits format. -
Push to the Branch (
git push origin feature/AmazingFeature
) -
Open a Pull Request