@dragonereum/contracts

1.1.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @dragonereum/contracts

Weekly Downloads

6

Version

1.1.2

License

WTFPL

Unpacked Size

1.08 MB

Total Files

141

Last publish

Collaborators

  • maksim-tolo
  • maxaleks