This module provides the RPC binding for the CKB Light Client.
import { LightClientRPC } from "@ckb-lumos/light-client";
const lightClientRPC = new LightClientRPC("http://localhost:9000");
lightClientRPC.getTipHeader().then(console.log);
This module provides the RPC binding for the CKB Light Client.
import { LightClientRPC } from "@ckb-lumos/light-client";
const lightClientRPC = new LightClientRPC("http://localhost:9000");
lightClientRPC.getTipHeader().then(console.log);
npm i ckt-lumos-light-client
1
0.30.0
MIT
37.7 kB
23