JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14
  • Score
    100M100P100Q63175F
  • License MIT

ColonyContract adapter interfaces

Package Exports

  • @colony/colony-js-adapter

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@colony/colony-js-adapter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.