JSPM

  • Created
  • Published
  • Downloads 1226
  • Score
    100M100P100Q119108F

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@venusprotocol/governance-contracts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    governance-contracts

    Prerequisites

    Installing

    
    npm install
    

    Run Tests

    
    npx hardhat test
    

    Hardhat Commands

    
    npx hardhat accounts
    
    npx hardhat compile
    
    npx hardhat clean
    
    npx hardhat test
    
    npx hardhat node
    
    npx hardhat help
    
    REPORT_GAS=true npx hardhat test
    
    npx hardhat coverage
    
    TS_NODE_FILES=true npx ts-node scripts/deploy.ts
    
    npx eslint '**/*.{js,ts}'
    
    npx eslint '**/*.{js,ts}' --fix
    
    npx prettier '**/*.{json,sol,md}' --check
    
    npx prettier '**/*.{json,sol,md}' --write
    
    npx solhint 'contracts/**/*.sol'
    
    npx solhint 'contracts/**/*.sol' --fix
    
    
    
    MNEMONIC="<>" BSC_API_KEY="<>" npx hardhat run ./script/hardhat/deploy.ts --network testnet
    

    Documentation

    Documentation is autogenerated using solidity-docgen.

    They can be generated by running yarn docgen