Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kamiyaa/staking-rewards-example

A (nearly) real world staking rewards smart contract example
https://github.com/kamiyaa/staking-rewards-example

Last synced: 29 days ago
JSON representation

A (nearly) real world staking rewards smart contract example

Awesome Lists containing this project

README

        

# staking-rewards-example
A (nearly) real world staking rewards smart contract example

## Building

First, install dependencies:
```sh
~$ yarn install
```

Next, compile contracts:
```sh
~$ yarn run compile
```

(optional) run tests:
```sh
~$ yarn run test
```

## Code style
`yarn run fmt` will format the solidity/contract code.
`yarn run fmt-test` will format the typescript/test code.