app3-apis

App3 module to interact with the APIS blockchain and smart contracts.

Usage no npm install needed!

<script type="module">
  import app3Apis from 'https://cdn.skypack.dev/app3-apis';
</script>

README

app3-apis

This is a sub package of app3.js

This is the APIS package to be used app3.js. Please read the documentation for more.

Installation

Node.js

npm install app3-apis

In the Browser

Build running the following in the app3.js repository:

npm run-script build-all

Then include dist/app3-apis.js in your html file. This will expose the App3APIS object on the window object.

Usage

// in node.js
var App3APIS = require('app3-apis');

var apis = new App3APIS('ws://localhost:8546');