@kyve/zilliqa
v0.0.0-alpha.36
Published
The official KYVE node for Zilliqa
Downloads
52
Keywords
Readme
About
The KYVE + zilliqa node allows you to bridge any data stream from an Zilliqa chain onto Arweave.
Usage
There are two ways to run the node. You can either run the integration itself or run a prebuilt version of the KYVE Node.
import ZilliqaInstance from "@kyve/zilliqa";
const poolID = ...
const stake = ...
ZilliqaInstance(poolID, stake, jwk).run();
Config
The config is pool specific. You can find a list of pool here. For this integration the config should look like this:
{
"endpoint": "wss://....",
"api": "https://...."
}
Default zilliqa mainnet
{
"endpoint": "wss://api-ws.zilliqa.com",
"api": "https://api.zilliqa.com/"
}
The Zilliqa integration uses the websocket endpoint to listen to the latest block data. For more information have a look at their documentation.