Skip to content

feat: add TRNCH action provider (Robinhood Chain screened launches, b… - #1601

Open
isonips wants to merge 3 commits into
coinbase:mainfrom
isonips:feat/trnch-action-provider
Open

isonips wants to merge 3 commits into
coinbase:mainfrom
isonips:feat/trnch-action-provider

Conversation

@isonips

@isonips isonips commented Oct 26, 2026 •

Copy link
Copy Markdown

Description

Adds trnchActionProvider to trade new Robinhood Chain tokens through TRNCH (https://trnch.fun).

  • get_trnch_stats: live public numbers (tokens spotted, kept out as High risk, rugs detected, median detection delay)
  • get_trnch_heat: live feed of launches screened for rugs, honeypots, scam contracts, heavy sell taxes and copycats; each token as an opaque id
  • trnch_buy / trnch_sell: best route across six routers (KyberSwap, LI.FI, Uniswap, 0x, SushiSwap, 1inch), approval then swap sent by the wallet provider (non-custodial), receipts awaited

No setup needed: without TRNCH_API_KEY, a key is created on first use by signing a message with the wallet (no funds move). Robinhood Chain (4663) only.

Tests

Unit tests (trnchActionProvider.test.ts): schemas, network support, approval then swap then confirm, API error returned without sending anything. 6/6 passing.

Live run on Robinhood Chain mainnet, actions invoked through AgentKit (no LLM):

Setup: ViemWalletProvider, fresh wallet funded with 15 USDG + ETH for gas, no TRNCH_API_KEY (key created by wallet signature)
Network: {"protocolFamily":"evm","chainId":"4663"}
Actions loaded: get_trnch_stats, get_trnch_heat, trnch_buy, trnch_sell

get_trnch_stats -> success, live 24h numbers
get_trnch_heat  -> success, 9 screened tokens
trnch_buy  {tokenId: <top Heat id>, amountUsd: 1, slippageBps: 1000}
  -> {"success":true,"txHash":"0xce8100c23fc7006fa633f206839429ecebaba79687527dfea890c74392fefd28","router":"kyberswap"}
trnch_sell {tokenId: <same id>, percent: 100, slippageBps: 1500}
  -> {"success":true,"txHash":"0xfb725e6cf05dbbea62c944a5c9fbd6de13a4b059117870667457733a07b19579","router":"kyberswap"}

Buy: https://robinhoodchain.blockscout.com/tx/0xce8100c23fc7006fa633f206839429ecebaba79687527dfea890c74392fefd28
Sell: https://robinhoodchain.blockscout.com/tx/0xfb725e6cf05dbbea62c944a5c9fbd6de13a4b059117870667457733a07b19579

Checklist

  • Added documentation to all relevant README.md files
  • Added a changelog entry

@isonips
isonips requested a review from murrlincoln as a code owner October 26, 2026 12:59
@cb-heimdall

cb-heimdall commented Oct 26, 2026 •

Copy link
Copy Markdown

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@github-actions github-actions Bot added documentation Improvements or additions to documentation action provider New action provider typescript labels Oct 26, 2026
@isonips
isonips force-pushed the feat/trnch-action-provider branch 2 times, most recently from 0ad8706 to 45e22e7 Compare October 26, 2026 13:04
@isonips
isonips force-pushed the feat/trnch-action-provider branch from 45e22e7 to 8919a5e Compare October 26, 2026 13:04
@isonips

isonips commented Oct 26, 2026

Copy link
Copy Markdown
Author

Hi, friendly ping: tests and changeset are in, commits are signed. Tested live on Robinhood Chain (buy and sell tx confirmed). Happy to change anything you need. Thanks!

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action provider New action provider documentation Improvements or additions to documentation typescript

Development

Successfully merging this pull request may close these issues.

2 participants