abridged
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-beta.16 • Public • Published

Abridged SDK

NPM version MIT licensed

Installation

$ npm i abridged -S

Usage

import { createGoerliSdk } from 'abridged';
import WebSocket from 'ws';     // only for node.js
import fetch from 'node-fetch'; // only for node.js
 
const INFURA_PROJECT_ID = '';   // see: https://infura.io/
 
const sdk = createGoerliSdk({
  queryProviderEndpoint: `https://goerli.infura.io/v3/${INFURA_PROJECT_ID}`,
  authKeyModule: {
    privateKey: '0x...', // optional
  },
  fetch,     // only for node.js
  WebSocket, // only for node.js
});

Resources

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i abridged

Weekly Downloads

17

Version

2.0.0-beta.16

License

MIT

Unpacked Size

233 kB

Total Files

94

Last publish

Collaborators

  • jamesyoung
  • staszek