lerajk / trustless-relay

Smart contracts for running a trustless relay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trustless Relay

WARNING: This package is still in development. The contracts are in no way production ready.

This repo implements the Trustless Relay contract. For more information on the Trustless Relay concept, see:

Setup

In order to run tests against the contract, you need to have truffle installed globally:

npm install -g truffle

You also need to include a secrets.json in this directory of form:

{
  "mnemonic": "public okay smoke segment forum front animal extra appear online before various cook test arrow",
  "hdPath": "m/44'/60'/0'/0/"
}

Finally, you need to install the tokens package:

truffle install tokens

Testing

In order to run the tests, you need to have two Ethereum clients running and specified in truffle.js (default on ports 7545 and 8545).

truffle compile
truffle test

About

Smart contracts for running a trustless relay


Languages

Language:JavaScript 100.0%