🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

abridged

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abridged

Abridged SDK

latest
Source
npmnpm
Version
2.0.0-beta.16
Version published
Maintainers
2
Created
Source

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

FAQs

Package last updated on 30 Jul 2020

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