Plugins
How Plugins Work
Input → [Plugin: Pre-process] → Process → [Plugin: Post-process] → OutputAvailable Plugins
Plugin
Description
Using Plugins
import { PIPE_InvokeContract, NetworkConfig } from "@colibri/core";
import { PLG_FeeBump } from "@colibri/plugin-fee-bump";
const pipeline = PIPE_InvokeContract.create({ networkConfig });
const plugin = PLG_FeeBump.create({
networkConfig,
feeBumpConfig: {
source: feeSourcePublicKey,
fee: "1000000",
signers: [feeSourceSigner],
},
});
pipeline.addPlugin(plugin, PLG_FeeBump.target);Creating Custom Plugins
Last updated