🚀 Launch Week Day 3:Introducing Supply Chain Attack Campaigns Tracking.Learn More →
Socket
Book a DemoInstallSign in
Socket

hypercore-nanoeth

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hypercore-nanoeth

Hypercore extension for Nanoeth

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

hypercore-nanoeth

Hypercore extension for Nanoeth

npm install hypercore-nanoeth

Usage

const HyperNanoETH = require('hypercore-nanoeth')

const client = new HyperNanoETH(hypercoreReplicationStream)
const server = new HyperNanoETH(hypercoreReplicationStream, async onrequest (message) {
  // forward this json rpc message to your eth provider
})

// client is a normal hypereth instance
console.log(await client.blockNumber())

License

MIT

FAQs

Package last updated on 03 Feb 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