@kyve/smartweave v0.0.0-alpha.38
About
The KYVE + SmartWeave node allows you to store the state from any SmartWeave contract onto Arweave. This allows the client to load a state a given block-height without the need of calculating through every transaction.
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 (recommended).
import SmartWeaveInstance from "@kyve/smartweave";
const poolID = ...
const stake = ...
SmartWeaveInstance(poolID, stake, wallet).run();Config
The config is pool specific. You can find a list of pool here.
For this integration the config should look like this, and the architecture should be set to SmartWeave:
{
  "contracts": ["CONTRACT_ID_1", ...]
}The SmartWeave integration listens to changes happening on the contracts you specify in the config.
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
4 years ago
4 years ago
5 years ago
5 years ago
4 years ago
5 years ago