the-trench
Call The Trench Solana program on devnet using the public IDL and TS types.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- the-trench
- homepage
- https://github.com/BAGWATCHER/the-trench-demo
- metadata
- { "openclaw": { "emoji": "?️" } }
- description
- Call The Trench Solana program on devnet using the public IDL and TS types.
02 资源文件 1
- 参考文档_meta.json276 B
03 SKILL.md 正文
The Trench Skill
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).
Program
- Program ID (devnet):
6fs4qcRYSdR8pd2ZPoAmLpthrqZR94Dhf6J4PLvtqQt1 - IDL:
{baseDir}/../idl.json - TS types:
{baseDir}/../the_trench.ts
Usage (TypeScript)
import { 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();
Notes
- This skill does not include any private trading logic or alpha.
- If you need mainnet, update the program ID and IDL accordingly.
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.