Contract AddressL73w5odyo5ZdJ1fPp319nfjqaFfHDdKifRmM8Kxpump
|
Trench Tools is a self-hosted Solana trading stack. You run it, you choose the RPCs and senders, and your wallets stay on your own machine or VPS.
The browser extension plugs into the terminals you already use, so you can trade with your own presets and wallet groups instead of routing everything through another platform account. The toolbar popup lets you check connection/auth state, choose the active preset and wallet selection, and set a quick-buy amount without opening the full Options page. LaunchDeck is the launch side: deploy, snipe, dev-buy, dev-sell, follow flows, reports, and automation.
No mandatory accounts. No required platform fees. Clone it, run it, own what gets built, signed, and sent.
This repo is under active development. The docs reflect the setup and features we consider usable today. The software is provided as-is; by using it, you accept responsibility for your machine, VPS, wallets, keys, dependencies, provider accounts, and any trading outcome.
Trench Tools has three main pieces:
execution engine(execution-engine, port8788) - the local Rust trading host. It owns wallets, presets, fee and route resolution, transaction build/sign/send, confirmations, the balance/PnL event stream, and the voluntary Trench Tools fee setting. Anything that submits a trade goes through here. The browser extension talks to this for every trade.Trench Tools extension- the Chrome/Edge extension that injects Trench Tools into supported trading terminals so you can trade with your presets and wallet groups from inside those sites. It talks to the local hosts over loopback by default and uses a shared bearer token.LaunchDeck(launchdeck-engine, port8789, pluslaunchdeck-follow-daemonon port8790) - the launchpad feature inside Trench Tools. It handles deploy, snipe, dev-buy, dev-sell, and follow flows for Pump, Bonk, and Bagsapp. It has its own standalone UI onhttp://127.0.0.1:8789and is also available through the extension popout.
For most users:
- Read docs/QUICKSTART.md for local Windows/Linux setup.
- If you are using a fresh server, use docs/VPS_SETUP.md instead.
- Install the browser extension with docs/EXTENSION.md. Download the latest packaged extension zip to the PC running Chrome/Edge, or pull
extension/trench-tools/ the full repo with git and load that folder. - Keep docs/TROUBLESHOOTING.md nearby for connection/auth issues.
VPS is still the recommended real trading setup because it is cheap, private by default, and closer to the latency profile you actually care about. With a fresh VPS, the bootstrap startup script, and a Helius Developer tier plan, most users can get the stack up from scratch in about 5 minutes. Local setup is fine when you are editing, testing, or learning the tool.
If you get stuck during setup, use an AI coding assistant to walk through the steps with you. Cursor, Codex, Claude, and similar tools are all fine for checking install commands, editing .env, reading logs, and following the VPS guide. Do not paste real private keys, API keys, or auth tokens into any AI/chat tool.
Set the mode in .env first:
TRENCH_TOOLS_MODE=orTRENCH_TOOLS_MODE=both- normal full stack. Startsexecution-engine,launchdeck-engine, andlaunchdeck-follow-daemon.TRENCH_TOOLS_MODE=ee- extension trading only. Starts onlyexecution-engineon8788.TRENCH_TOOLS_MODE=ld- LaunchDeck only. Starts LaunchDeck and the follow daemon, but not extension trading.
Then use the simple repo-root commands:
npm start
npm stop
npm restartYou can still override the mode for a one-off run:
- Windows:
.\trench-tools-start.ps1 --mode both - Linux:
./trench-tools-start.sh --mode both
The launcher exits after the selected services pass their health checks. npm stop stops the running Trench Tools processes.
For most operators today:
- run on a VPS near the provider endpoints and RPCs you actually use
- EU VPS location: Frankfurt or Amsterdam
- US VPS location: New York / Newark area or Salt Lake City area
- Asia VPS location: Singapore or Tokyo
- Helius Developer tier, about $50/month, or better for the main infrastructure
SOLANA_RPC_URL: Helius Gatekeeper HTTP,https://beta.helius-rpc.com/?api-key=YOUR_HELIUS_API_KEYSOLANA_WS_URL: Helius standard websocket,wss://mainnet.helius-rpc.com/?api-key=YOUR_HELIUS_API_KEYWARM_RPC_URL: separate Shyft RPC for compatible warm/cache traffic off the main Helius budget- execution provider:
Helius SenderorHello Moon
Why this split: Helius Gatekeeper HTTP has been the best Helius HTTP path in our testing, while Helius standard websocket has been the better watcher websocket path. Shyft is a good low-priority warm RPC because its free tier is useful for warmup, cache, and block-height traffic.
Hello Moon is the recommended alternate low-latency provider. It requires Lunar Lander access from Hello Moon docs or the Hello Moon Discord.
Do not treat any shared latency numbers as universal. Test from the VPS and region you actually run.
Vultr is the worked example in docs/VPS_SETUP.md. It is easy to deploy quickly across many regions, supports standard card/fiat payments as well as crypto, and has been reliable for long-term use. If you use Vultr, please use my referral link. Any other VPS provider is fine as long as you place it close to the provider endpoints and RPCs you plan to use.
Personal note: I have used Vultr for 5+ years and have not had issues with it.
The extension site list is moving fast. Current status:
- Live:
axiom.trade - Live:
j7tracker.io - Coming soon: Terminal (formerly Padre), GMGN, Telegram web, Discord web, X, and more terminals
Axiom currently includes token-page controls, Pulse quick buy and manual panel controls, watchlist and wallet-tracker quick buys, floating panel, LaunchDeck popout, Vamp import helpers, and DexScreener shortcuts. J7 includes contract-address quick actions and tweet-card LaunchDeck Deploy/Vamp buttons. See docs/EXTENSION.md for the current extension setup and site-status details.
The execution engine verifies routes from on-chain state before trading. Current native coverage includes Pump bonding curve and Pump AMM, Bonk routes, Raydium AMM v4 and CPMM WSOL pool inputs, Raydium LaunchLab SOL pools, Meteora DBC and DAMM v2 launchpad routes, and a small trusted stable-route allowlist.
Pool/pair support is intentionally not the same as "anything a website labels as a pair." See docs/SUPPORTED_POOLS.md before assuming a route is executable.
Trench Tools defaults to a voluntary 0.1% fee on supported trade paths.
To turn it off:
TRENCH_TOOL_FEE=0To keep the default, leave it blank or set:
TRENCH_TOOL_FEE=0.1To increase support to 0.2%:
TRENCH_TOOL_FEE=0.2Restart the runtime after changing .env. If Trench Tools has saved you money and time and you want to support development and future tools, consider leaving the default 0.1% fee enabled. It is still much lower than the average fee charged by current trading platforms.
After setup:
execution-engineis reachable athttp://127.0.0.1:8788launchdeck-engineis reachable athttp://127.0.0.1:8789when runningbothorldlaunchdeck-follow-daemonis running behind LaunchDeck when runningbothorld- the token file exists at
.local/trench-tools/default-engine-token.txt - Extension Options -> Global settings shows the expected host connection state
- Axiom shows the enabled Trench Tools surfaces
- the toolbar popup shows the expected preset, wallet/group, and quick-buy controls
If the runtime is on a VPS and your browser is on your own computer, add both forwards to your SSH config so Cursor/SSH opens them automatically:
Host Trenchtools-vps
HostName YOUR_SERVER_IP
User root
LocalForward 8788 127.0.0.1:8788
LocalForward 8789 127.0.0.1:8789
ExitOnForwardFailure yes
ServerAliveInterval 30Manual fallback:
ssh -L 8788:127.0.0.1:8788 -L 8789:127.0.0.1:8789 root@YOUR_SERVER_IPUse a small test amount first. Start with the recommended providers: Helius Sender or Hello Moon.
Keep the runtime private by default:
- do not share
.env - do not paste real private keys, API keys, JWTs, or auth tokens into issues, screenshots, Discord, or support messages
- do not expose raw local ports to the public internet
- use the SSH-tunnel VPS pattern in docs/VPS_SETUP.md
- use HTTPS and browser host-permission grants if you intentionally point the extension at non-loopback hosts
Read SECURITY.md before running this with real wallets.
Start here:
- docs/QUICKSTART.md - local Windows/Linux setup, first run, and first extension connection
- docs/VPS_SETUP.md - fresh VPS setup, bootstrap script, systemd service, SSH tunnels
- docs/EXTENSION.md - Chrome/Edge developer-mode install, host pairing, auth token, presets, sites, updates
- docs/CONFIG.md - recommended stack, runtime defaults, Helius guidance, regions, warm behavior
- docs/ENV_REFERENCE.md - every
.env.exampleand.env.advancedvariable
Execution and architecture:
- docs/PROVIDERS.md - Helius Sender, Hello Moon, and deferred provider notes
- docs/ARCHITECTURE.md - execution engine, extension, LaunchDeck, auth flow, local state
- docs/TROUBLESHOOTING.md - startup, extension auth, VPS, RPC, and provider issues
LaunchDeck:
- docs/launchdeck/USAGE.md - LaunchDeck operator workflow
- docs/launchdeck/LAUNCHPADS.md - Pump, Bonk, Bagsapp support matrix
- docs/launchdeck/STRATEGIES.md - dev buys, snipes, dev sells, follow sells
- docs/launchdeck/FOLLOW_DAEMON.md - watcher ownership, triggers, and follow timing
- docs/launchdeck/REPORTING.md - reports, history, and local state
Contributor/internal reference: