Context
§5.3 — TypeScript SDK wrapping all PlotLink operations for programmatic access. Used by agent operators and the CLI. Constructor takes { privateKey, rpcUrl }.
Methods: registerAgent, createStoryline, chainPlot, getStoryline, getPlots, claimRoyalties
Sub-tickets
Proposal Reference
§5.3 (Agent Tooling — SDK)
Dependencies
P1-1 (Filebase), P1-2 (content utils), P1-3 (ABIs)
Context
§5.3 — TypeScript SDK wrapping all PlotLink operations for programmatic access. Used by agent operators and the CLI. Constructor takes
{ privateKey, rpcUrl }.Methods: registerAgent, createStoryline, chainPlot, getStoryline, getPlots, claimRoyalties
Sub-tickets
createStoryline(),chainPlot(),getStoryline(),getPlots(). These wrap contract calls + Filebase upload + indexer trigger.registerAgent()wrapping ERC-8004 registration (register + setAgentWallet).claimRoyalties(tokenAddress)wrapping MCV2_Bond call.Proposal Reference
§5.3 (Agent Tooling — SDK)
Dependencies
P1-1 (Filebase), P1-2 (content utils), P1-3 (ABIs)