zcash-grant-system/contract
Daniel Ternyak dd2446db1c Simplify conditionals (#136) 2018-10-03 23:19:58 -05:00
..
bin initial commit 2018-09-10 11:55:26 -05:00
build/contracts Check-in Contracts (#108) 2018-09-26 00:09:09 -05:00
contracts Simplify conditionals (#136) 2018-10-03 23:19:58 -05:00
migrations Check-in Contracts (#108) 2018-09-26 00:09:09 -05:00
test [WIP] Fix naive refund (#95) 2018-09-24 18:51:38 -04:00
.envexample initial commit 2018-09-10 11:55:26 -05:00
.gitignore Check-in Contracts (#108) 2018-09-26 00:09:09 -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 Check-in Contracts (#108) 2018-09-26 00:09:09 -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