Core concepts / Money and tokens
Core concepts
Money and tokens
Your balance and the markets live on different chains in different tokens. Every trade therefore includes a conversion, and that single fact explains most of the app's timing and most of its error messages.
#The two tokens
| Token | Chain | Role | Decimals |
|---|---|---|---|
USDG | Robinhood Chain | Your spendable balance. What you deposit and withdraw. | 6 |
pUSD | Polygon | the venue’s collateral. What orders settle in. | 6 |
Both track the US dollar, so a conversion is not a trade in the usual sense and you are not exposed to a moving exchange rate between them. Both also use 6 decimals, which is why amounts in the code appear as integer base units: 1000000 base units is $1.00.
USDG 0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168 (Robinhood Chain)
pUSD 0xC011a7E12a19f7B1f670d46F03B03f3342E82DFB (Polygon)#Why a conversion is needed
You hold USDG because that is the chain the app’s balances and deposits live on. The venue only accepts its own collateral on Polygon. Neither side can be changed from the app, so buying means turning USDG into pUSD first, and cashing out means turning it back.
This crossing is handled by Relay, a bridging service. The app requests a quote for the conversion, sends funds to the address the quote names, and then polls until the far side reports the conversion complete.
#Which direction, and when
- Buying converts
USDGfrom your cash wallet intopUSDin your trading proxy, then places the order. - Selling puts
pUSDin the proxy, then converts it back toUSDGin your cash wallet.
#Where funds can pause
Because the journey has several hops, an interrupted trade leaves money at whichever hop it reached. It is always in one of these places, and always yours:
Cash wallet (USDG, Robinhood Chain)
|
| Relay conversion
v
trading proxy (pUSD, Polygon)
|
| order fills on the CLOB
v
Outcome shares (Polygon)The most common pause is pUSD sitting in the proxy: the conversion finished but the order did not fill, or a sale completed but the conversion back has not run. The app reports this explicitly, and the remedy is normally to repeat the action, which picks up the existing balance instead of converting again.
#Gas
Movements on Polygon are sponsored through the venue’s gasless relayer, so you never hold POL. On Robinhood Chain, gas is paid in ETH; the app sponsors some transfers itself, but keeping a small ETH balance in the cash wallet avoids trouble on the ones it does not.
Both directions are walked through step by step in placing a trade and cashing out.