🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@ethers-ancillary/exchain

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethers-ancillary/exchain

An ethers-compatible provider for OKExChain.

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

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.

Keywords

okexchain

FAQs

Package last updated on 16 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts