Skip to content

About

Hypercore extension for Nanoeth

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages