@kyve/avalanche
v0.0.0-alpha.31
Published
The official KYVE node for Avalanche
Downloads
79
Keywords
Readme
About
The KYVE + Avalanche node allows you to bridge any data stream from an Avalanche 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 AvalancheInstance from "@kyve/avalanche";
const poolID = ...
const stake = ...
AvalancheInstance(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://...."
}
The Avalanche integration uses the websocket endpoint to listen to the latest block data. For more information have a look at their documentation.