JSPM

  • Created
  • Published
  • Downloads 51
  • Score
    100M100P100Q86193F
  • License MIT

O3 dapi core messaging protocol

Package Exports

  • o3-dapi-core

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 (o3-dapi-core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

o3-dapi-core

Core messaging protocol.

Accepts plugins for different blockchains.

A plugin is required for use.

Usage

In a browser - cdn

<script src="https://cdn.jsdelivr.net/npm/o3-dapi-core/lib/o3-dapi-core.min.js"></script>
window.o3dapi

Install via npm npm version

npm i --save o3-dapi-core

or

yarn add o3-dapi-core
var o3dapi = require('o3-dapi-core');

import o3dapi from 'o3-dapi-core';

Example

o3dapi.initPlugins([<neo_plugin>, <ont_plugin>]);