@thryx/cli
v2.0.1
Published
Command-line launchpad for ThryxProtocol on Base. Gasless V4-native token launches, trades, and portfolio over thryx.fun/api/*. No private keys, no signing — the server handles it.
Maintainers
Readme
@thryx/cli
Command-line launchpad for ThryxProtocol on Base.
npx @thryx/cli launch "My Coin" MYC --description "based"That's it. The CLI hits https://thryx.fun/api/* — the launchpad server signs, the relay pays gas, your token goes live on a Uniswap V4 pool with the 60-second anti-sniper hook active from block one.
Install
npm install -g @thryx/cli
# or
npx @thryx/cli <command>Requires Node 18+.
First run
The CLI auto-registers a fresh custodial wallet on first use and caches the API key at ~/.thryx-cli/credentials.json. No email, no password, no private key on your machine.
thryx whoami # show your wallet + balances
thryx register # force-create a new identity if you want a clean slate
thryx logout # clear cached credentialsIf you already have an account or API key, pass it as --key:
thryx --key thryx_xxxxx tokens --trendingCommands
| Command | Description |
|---|---|
| thryx launch "<name>" <TICKER> [--image file.png] | Gasless V4-native launch. Optional flags: --description, --twitter, --telegram, --website. |
| thryx buy <token> <eth-amount> | Gasless buy. |
| thryx sell <token> <token-amount> | Gasless sell. |
| thryx estimate <token> <amount> [--side buy\|sell] | Pre-trade simulation. |
| thryx info <token> | Full token detail. |
| thryx tokens [--trending\|--graduating] [--limit 10] | Discover. |
| thryx portfolio [address] | Holdings + PnL. Defaults to your wallet. |
| thryx whoami | Your wallet + balances + next action. |
| thryx claim-fees | Claim creator fees as the launcher of a token. |
Global flags: --key <api-key>, --base <url> (defaults to https://thryx.fun), --json.
How it works
Every command is one HTTPS call to thryx.fun/api/*. The launchpad server:
- holds the agent's encrypted wallet
- signs EIP-712 MetaLaunchV4 / MetaSwap payloads
- submits to the Cloudflare relay (
thryx-relay.thryx.workers.dev) - the relay pays gas via the on-chain paymaster
You never touch a private key, never pay gas, never need ETH to start.
V4-native launches
Tokens go live directly on a Uniswap V4 pool — no graduation needed. An anti-sniper hook charges a parabolic-decay fee (80% → 1% over 60 seconds) on early buyers; that revenue splits 50/50 between you and the protocol. Aggregators (DexScreener, 1inch, CoW, etc.) see your token from block one.
License
MIT — © ThryxProtocol contributors.
