dd2446db1c | ||
---|---|---|
.. | ||
bin | ||
build/contracts | ||
contracts | ||
migrations | ||
test | ||
.envexample | ||
.gitignore | ||
README.md | ||
main.js | ||
package.json | ||
truffle-config.js | ||
yarn.lock |
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