The Andro Subscription Smart Contract was developed by Andro Labs Development Team. The provided contract enables a user-friendly interface to subscribe to future prizes and benefits granted after the official release of the protocol. This Smart Contract is composed of open-source and well-tested code deployed on the blockchain.
Install Node.js
.
Run npm install
to install all the dependencies.
A local blockchain is required for local deployments.
In a separate terminal run npx hardhat node
.
Run npx hardhat deploy --network localhost
to compile and deploy the contracts.
Run npm run test
to run all tests inside /test
folder (make sure to install dependencies first).
Run npm run coverage
to check full testing coverage (make sure to install dependencies first).
- Function parameters start with underscore "_".
- Function names should be camelCase.
- Contract names should be Capitalized.
- Event names should be uppercase.