The official KYVE node for Zilliqa
npm install @kyve/zilliqa@kyve/zilliqaThe official KYVE node for Zilliqa.
The KYVE + zilliqa node allows you to bridge any data stream from an Zilliqa chain onto Arweave.
There are two ways to run the node. You can either run the integration itself or
run a prebuilt version of the KYVE Node.
``js
import ZilliqaInstance from "@kyve/zilliqa";
const poolID = ...
const stake = ...
ZilliqaInstance(poolID, stake, jwk).run();
`
The config is pool specific. You can find a list of pool here.
For this integration the config should look like this:
`json`
{
"endpoint": "wss://....",
"api": "https://...."
}
Default zilliqa mainnet
`json``
{
"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.