计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
the-trench【效率与协作】Call The Trench Solana program on devnet using the public IDL and TS types.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill to construct Anchor clients that call The Trench program on devnet. This repo is public and contains only the IDL and TS types (no private bot logic).
6fs4qcRYSdR8pd2ZPoAmLpthrqZR94Dhf6J4PLvtqQt1{baseDir}/../idl.json{baseDir}/../the_trench.tsimport { Connection, PublicKey } from "@solana/web3.js";
import { AnchorProvider, Program } from "@coral-xyz/anchor";
import idl from "../idl.json";
const programId = new PublicKey("6fs4qcRYSdR8pd2ZPoAmLpthrqZR94Dhf6J4PLvtqQt1");
const connection = new Connection("https://api.devnet.solana.com", "confirmed");
const provider = AnchorProvider.env();
const program = new Program(idl as any, programId, provider);
// Example call
// await program.methods.listDeadToken(...).accounts({ ... }).rpc();