Skip to content

dicether/contracts

Repository files navigation

Contracts

Smart Contracts that implement dicether's state channel.
It is released under the AGPL-3.0.

Install dependencies

    npm install

Build

    npm build

Run tests

You need to have a running ganache instance. As we are using eth_signTypedData which is currently not implemented by ganache we are use a custom implementation. Therefore ganache needs to be started with --mnemonic "test" to use the correct private keys.

    ganache-cli -e=1000 --mnemonic "test"

Then you can run tests with

    npm run test