@colony/colony-js-adapter

ColonyContract adapter interfaces

Usage no npm install needed!

<script type="module">
  import colonyColonyJsAdapter from 'https://cdn.skypack.dev/@colony/colony-js-adapter';
</script>

README

colonyJS Adapter interface

This package exports an interface which is designed to be used for wrapping JavaScript-Ethereum libraries (e.g. ethers.js, web3.js) so that they have a simple and predictable API. Additionally, the interface requires the adapter to provide Contract loading functionality.

Installation

yarn add colony-js-adapter

Usage

/* @flow */

import type { IContract, IAdapter, IProvider } from '@colony/colony-js-adapter';

Contributing

This package is part of the colonyJS monorepo.

Please read our contributing guidelines.