API

Example repos

Working projects on this API to clone, run and hand to your assistant as the pattern to follow.

Three starters, each one Next.js app. Try them live first: the hosted demos run in your browser, keep your wallets in your browser (download the backup before funding anything) and use a free key made for you on the spot, so you can launch and trade without installing anything. When you want to build on one, press Use this template on GitHub or clone it. All three share one wallet folder on your machine, so a wallet made in one shows up in the others.

RepoWhat it doesChainLive demo
pumpfun-starterWallets, Jito-bundled launches with up to 16 buyers, snipers, holder auto-buys, custom pairs, Mayhem mode, trading with timed sells, vanity mints.Solanapumpfun.trenchy.tools
pons-starterLaunch and trade on pons, on the bonding curve and on Uniswap v4 after graduation; live trades.Robinhood Chainpons.trenchy.tools
wallet-moverCreate wallets, split, distribute and consolidate funds, directly or through an exchange, same chain or cross-chain.Solana · Robinhood · ETH · BNBmover.trenchy.tools
Run one
git clone https://github.com/Trenchy-Tools/pumpfun-starter
cd pumpfun-starter
npm install
cp .env.example .env      # paste your key into TRENCHY_API_KEY
npm run dev               # http://localhost:3000

What every starter does the same way

  • Every API call goes through one file, lib/trenchy.ts: copy it into your own bot.
  • Keys stay on your machine: the API returns unsigned transactions, the app signs them locally.
  • Every wallet is written to a file in ~/Desktop/trenchytools-wallets before it can be funded, and nothing funds a wallet whose file is missing.
  • API errors are shown exactly as returned: message, code, hint, docs link.
  • AGENTS.md tells your coding agent how to extend the app safely.