@dragonereum/contracts
v1.1.2
Published
Dragonereum smart contracts
Downloads
4
Readme
How to use with Truffle
Installation
npm install @dragonereum/contracts
Usage example
import contract from 'truffle-contract';
import Getter from '@dragonereum/contracts/dist/Getter.json';
// or
import { Getter } from '@dragonereum/contracts';
const getter = contract(Getter);
getter.setProvider(window.ethereum);
How to run tests
npm run test