【文件属性】:
文件名称:hypercore-nanoeth:Nanoeth的Hypercore扩展
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-24 03:41:47
JavaScript
超核纳米
Nanoeth的Hypercore扩展
npm install hypercore-nanoeth
用法
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 .
【文件预览】:
hypercore-nanoeth-master
----index.js(2KB)
----package.json(620B)
----LICENSE(1KB)
----example.js(747B)
----.gitignore(24B)
----README.md(470B)