zcash-grant-system/contract
Daniel Ternyak 2f513d0ce6
initial commit
2018-09-10 11:55:26 -05:00
..
bin initial commit 2018-09-10 11:55:26 -05:00
contracts initial commit 2018-09-10 11:55:26 -05:00
migrations initial commit 2018-09-10 11:55:26 -05:00
test initial commit 2018-09-10 11:55:26 -05:00
.envexample initial commit 2018-09-10 11:55:26 -05:00
.gitignore initial commit 2018-09-10 11:55:26 -05:00
README.md initial commit 2018-09-10 11:55:26 -05:00
main.js initial commit 2018-09-10 11:55:26 -05:00
package.json initial commit 2018-09-10 11:55:26 -05:00
truffle-config.js initial commit 2018-09-10 11:55:26 -05:00
yarn.lock initial commit 2018-09-10 11:55:26 -05:00

README.md

Grant.io Smart Contracts

This is a collection of the smart contracts and associated testing and build process used for the Grant.io dApp.

API

This repo provides Truffle build artifacts, ABI json, and type definitions for all contracts. You can import them like so:

import {
  EscrowContract, // Truffle build artifacts
  EscrowABI,      // Contract ABI
  Escrow,         // Contract type defintion
} from 'grant-contracts';

Commands

To run any commands, you must install node dependencies, and have truffle installed globally.

Testing

yarn run test

Runs the truffle test suite

Building

yarn run build

Builds the contract artifact JSON files, ABI JSON files, and type definitions

Publishing

TBD