conflux-web-cfx-contract

ConfluxWeb module to interact with Conflux smart contracts.

Usage no npm install needed!

<script type="module">
  import confluxWebCfxContract from 'https://cdn.skypack.dev/conflux-web-cfx-contract';
</script>

README

conflux-web-cfx-contract

This is a sub package of ConfluxWeb.js

This is the contract package to be used in the conflux-web-cfx package.

Installation

npm install conflux-web-cfx-contract

Usage

import {Contract} from 'conflux-web-cfx-contract';

new Contract(
    'http://127.0.0.1:4546',
    abi,
    address,
    options
);

Types

All the typescript typings are placed in the types folder.