Skip to main content

Trade tokens priced in NVDA, TSLA or USDG with ETH

About half of Pons v2 launches are not priced in ETH. The creator picks one of Robinhood Chain's tokenised assets - USDG, NVDA, TSLA, SPCX, GME and the rest - and the whole curve trades in that asset. You still don't need to hold any of it.

What "priced in NVDA" means

The token's bonding curve takes NVDA in and gives NVDA out. Its price, its graduation threshold and the creator's fees are all in NVDA. After graduation it moves to a Uniswap v4 pool paired with NVDA. Every response from the API tells you which asset in quoteAsset:

"quoteAsset": { "address": "0xd0601CE1…", "symbol": "NVDA", "decimals": 18, "isNative": false }

Decimals vary: USDG is 6, cbBTC is 8. The *Formatted fields already account for that.

Buying with ETH

Send the same buy as for any token, with amount in ETH:

const q = await post("/api/local-trade", { action: "buy", token: TOKEN, amount: "0.01", from: wallet.address });

The API works out how much NVDA 0.01 ETH buys on Uniswap, reserves your slippage, and hands the curve that amount. If your wallet already holds enough NVDA it is used and no swap happens. Otherwise the response's txs opens with a swap:

descriptionWhat it is
buy_quote_with_ethSwap ETH for exactly the missing NVDA on Uniswap v4. Unused ETH is refunded in the same transaction.
approve_quoteOne-time allowance for the router to spend your NVDA.
buyThe buy itself.

quoteSwap in the response shows what the swap costs and the pools it goes through. NVDA has a direct ETH pool; an asset like RDDT routes through USDG, found on-chain each time.

Selling back to ETH

A sell pays out in the quote asset. Add toEth: true to get ETH instead:

const q = await post("/api/local-trade", { action: "sell", token: TOKEN, amount: "100%", toEth: true, from: wallet.address });

On a graduated token the sell and the conversion are one transaction. On a curve token the conversion is a second transaction of the guaranteed minimum, so a small amount of the asset can remain. toEth in the response says how much ETH you end up with.

Things that bite

  • The dev buy on a launch is also in ETH and converts the same way.
  • A first buy of any stock-priced token needs an approval, per asset, one time. The script sends it for you.
  • Thin pools move. Some graduated stock-priced tokens swing several percent a minute. If you see slippage_exceeded, retry or raise slippage.