- Clone or fork this repo and run
npm i
. - Install solidity dependencies by entering the solidity folder with
cd src/solidity
and runningnpm i
. - Compile solidity contracts by running
npx hardhat compile
.
Follow these steps to setup your development environment:
- Optionally, open the
scripts/devDeploy.ts
file and update line 20 with your test address to be sent test funds on the local node. (An easier method will be added soon) - Navigate back to the root folder.
- Run
npm run dev
to start the development server.- If you'd like to run the development server with the live testnet contracts, use
npm run testnet-dev
instead (npm run testnet-dev-win
if you are on windows)
- If you'd like to run the development server with the live testnet contracts, use
When your app is production ready, run the following command to output the static site files to the docs
directory:
npm run build
npm run build-win