Numbers Protocol
Search
⌃K

Solidity

Internal Concept

  1. 1.
    Testnet is for the dev team's development, not for the QA team's tests. If you release a product feature to the QA team for testing, you should provide the mainnet contract information.
  2. 2.
    Use local network for your personal development.
  3. 3.
    Use testnet for deploying the testing environments for the dev team's collaboration. Use num-testnet wallet to deploy. Ask ${admin} for the wallet information.

Development Environment

  1. 1.
    We use Hardhat instead of Truffle.
  2. 2.
    We use Ethers.js instead of web3.js.

Quality

It's necessary to write the unit tests.

Security and Audit

It's necessary to use Slither and Mythril to self-audit at least, and there must be zero critical warnings in the auditing results. Please check numbers-staking for examples.