Solidity Smart Contracts for the Kinetex Bounty System
Required:
Refer to .env
for required keys.
# install dependancies
$ yarn
$ yarn chain
The chain is now running at http://localhost:8545
!
The contracts are deployed automatically.
This network is reffered to as localhost.
Open the source code and start editing!
Make sure your Metamask chainId is 31337. It is 1337 by default.
$ yarn typechain
$ yarn test
The tests are run on the hardhat network. It is different from localhost. This code is not audited. It is not recommended to deploy to mainnet.
./
├── contracts/ // Solidity smart contracts
├── deploy/ // Contract deployment scripts
├── helpers/ // Helper functions and constants
├── test/ // Unit tests
├── deployments/ // ABI, deployment address (autogenerated)
└── typechain/ // Typescript interfaces (autogenerated)