@dragonereum/contracts

Dragonereum smart contracts

Usage no npm install needed!

<script type="module">
  import dragonereumContracts from 'https://cdn.skypack.dev/@dragonereum/contracts';
</script>

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