Skip to content

hyperdivision/hypercore-nanoeth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Hypercore extension for Nanoeth

Resources

License

Stars

Watchers

Forks

Packages

No packages published