chia-client icon indicating copy to clipboard operation
chia-client copied to clipboard

这工具怎么用?

Open CrazyAz10 opened this issue 3 years ago • 1 comments

不知道怎么使用这个工具 windows和Ubuntu上node 环境跑都会报这个错 image

CrazyAz10 avatar May 12 '21 09:05 CrazyAz10

很可能,你需要将协议变量从 "http "改为 "https"。

const fullNode = new FullNode({
    protocol: 'http' | 'https', // <-- 改为 'https'
    hostname: 'localhost',
    port: 8555
});

jimkoen avatar May 15 '21 09:05 jimkoen