Skip to content
Back to skills

The Trench

ASecurity

Call The Trench Solana program on devnet using the public IDL and TS types.

  • 10 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 30, 2026
developmenttypescriptgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 30, 2026

npx -y skills add Demerzels-lab/elsamultiskillagent --skill the-trench --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of The Trench?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for The Trench
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/demerzels-lab-the-trench/badge)](https://www.skillsdirectory.com/skills/demerzels-lab-the-trench)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: the-trench
description: Call The Trench Solana program on devnet using the public IDL and TS types.
homepage: https://github.com/BAGWATCHER/the-trench-demo
metadata: {"openclaw":{"emoji":"🕳️"}}
---

# 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)
```ts
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.

Files in this skill

  • SKILL.md1.2 KB
  • _meta.json284 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…