πProtocol Overview
ActaFi Protocol
Solidity Smart Contracts and deployment focused on Avalanche network
Main Commands
yarn lint
- check formatting issuesyarn fix:sol
- automatically prettify Solidityyarn fix:ts
- automatically prettify Typescriptyarn solhint
- Solidity hinter with tips to improve codenpx hardhat test
oryarn test
- Runs mocha testsnpx hardhat compile
oryarn compile
- Compiles the entire project, building all artifactsnpx hardhat clean
oryarn clean
- Clears the cache and deletes all artifactsnpx hardhat typechain
- Generate Typechain typings for compiled contractsnpx hardhat coverage
oryarn coverage
- Generates a code coverage report for testsnpx hardhat acccounts
- Prints the list of accountsnpx hardhat balances
- Prints the list of AVAX account balancesnpx hardhat deploy
- Deploys Smart Contractsnpx hardhat docgen
oryarn docgen
- generate documentation from Solidity commentsnpx hardhat init:pools
- Initialises liquidity poolsnpx hardhat check
- Check whatever you neednpx hardhat console
- Opens a hardhat consolenpx hardhat flatten
- Flattens and prints contracts and their dependenciesnpx hardhat help
- Prints this messagenpx hardhat node
- Starts a JSON-RPC server on top of Hardhat Networknpx hardhat run
- Runs a user-defined script after compiling the projectnpx hardhat token
- Deploy test token
Last updated