@kyve/avalanche
TypeScript icon, indicating that this package has built-in type declarations

0.0.0-alpha.31 • Public • Published

@kyve/avalanche

The official KYVE node for Avalanche.

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @kyve/avalanche

Weekly Downloads

33

Version

0.0.0-alpha.31

License

MIT

Unpacked Size

7.71 kB

Total Files

4

Last publish

Collaborators

  • christopherbrumm
  • troykessler
  • johnletey
  • fabianriewe