/staking-rewards-example

A (nearly) real world staking rewards smart contract example

Primary LanguageTypeScriptMIT LicenseMIT

staking-rewards-example

A (nearly) real world staking rewards smart contract example

Building

First, install dependencies:

~$ yarn install

Next, compile contracts:

~$ yarn run compile

(optional) run tests:

~$ yarn run test

Code style

yarn run fmt will format the solidity/contract code. yarn run fmt-test will format the typescript/test code.