Skip to content

An ethers-compatible provider for OKExChain.

License

Notifications You must be signed in to change notification settings

ethers-io/ancillary-exchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

11fe26f · Nov 16, 2021

History

11 Commits
Nov 16, 2021
Nov 16, 2021
Nov 16, 2021
Nov 16, 2021
Nov 16, 2021
Aug 7, 2021
Aug 7, 2021
Aug 7, 2021
Nov 16, 2021
Nov 16, 2021
Aug 7, 2021
Aug 7, 2021
Aug 7, 2021
Aug 7, 2021
Aug 7, 2021

Repository files navigation

Ancillary Package: ExChain

npm version

Experimental: This packages is still in the early stages of the ancillary package template and the library has not been thoroughly tested.

An ancillary package for ExChain.

Installing and Importing

Node

/home/ricmoo> npm install @ethers-ancillary/exchain
// JavaScript
const { JsonRpcProvider } = require("@ethers-ancillary/exchain");

// TypeScript
import { JsonRpcProvider } from "@ethers-ancillary/exchain";

Browser

Include the ESM module (exchain.esm.js) in the same folder as the core library (i.e. ethers.esm.min.js) and import using:

<script type="module">
  import { JsonRpcProvider } from "./exchain.esm.js";
</script>

Application Programming Interface (API)

JsonRpcProvider

The API for this provider is identical to the JsonRpcProvider, except it uses a formatter compatible with ExChain's transaction hashing algorithm.

License

MIT License.

About

An ethers-compatible provider for OKExChain.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published