Skip to content

The solidity contracts to coordinate the nodes and tasks.

License

Notifications You must be signed in to change notification settings

iwehf/h-contracts

 
 

Repository files navigation

The Smart Contracts for the Crynux Network

The solidity contracts to coordinate the nodes and tasks.

Task State Transitions

Task State Transitions

Compilation and Generating Contract ABIs

The contracts are developed using the Hardhat framework.

Install the dependencies before compilation:

$ npm install

Run hardhat compiling command using npm:

ABI is generated using @symblox/hardhat-abi-gen.

$ mkdir abi && npm run compile

Tests

All the test files are located under ./test. The tests could be executed using npm:

$ npm run test
$ npx hardhat test

Run coverage

$ npx hardhat coverage && open coverage/index.html

About

The solidity contracts to coordinate the nodes and tasks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.4%
  • Solidity 42.6%