api-compare

command module
v0.0.0-...-325dad6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

api-compare

Compare the apis of venus and lotus

build
make
run
./api-compare --venus-url=<venus url> --venus-token=<venus token> --lotus-url=<lotus url> --lotus-token=<lotus token>
对比 ETH 接口

由于节点默认是不开启 ETH 接口的访问,如果需要测试 ETH 相关接口,需要调整节点的配置

$ vi ~/.venus/config.json
# 把 fevm.EnableEthRPC 改为true
"fevm": {
    "EnableEthRPC": true,
}

$ vi ~/.lotus/config.toml
# 把 Fevm.EnableEthRPC 改为true
[Fevm]
  EnableEthRPC = true

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL