# Earn upfront — user guide

Source: https://docs.hedgehood.io/earn-upfront

:::warning[Testnet]

Earn upfront runs on Robinhood Chain **testnet** only, with test tokens. It stays on testnet for a while first, so
quotes, fills and settlement run through real expiries before any real funds are involved. Its contracts
(`OptionsCore`, `RfqSettler`) have not had a third-party audit yet. Mainnet follows the testnet run and the audit; its
addresses will be published here.

:::

Pick a stock, a date and a price you are happy to buy or sell at. A market maker pays you a **premium now**, in the
same transaction, and it is yours whatever happens. In return you agree to buy (a put) or sell (a call) at that price
if the stock closes past it on the date.

- **You choose** the stock, the expiry and the strike. Each position is your own, not a share of a pool.
- **Fully collateralised.** A put locks the strike × amount in USDG; a call locks the stock. Nothing is lent out.
- **Firm prices.** Every quote is a signed price from a market maker, checked on chain. Several makers can quote
  the same request; you get the best one.

## How a trade works

1. **Pick** a stock, an expiry (a Friday, up to three weeks out) and a strike from the listed option strikes.
2. **Get a quote.** The app asks every connected market maker for a firm price; the best one comes back within about
   two seconds and stays valid for about two minutes.
3. **Confirm.** Your wallet sends the fill (and, the first time, an approval of the USDG or stock token you lock). Keep
   a little ETH in the wallet for gas; a transaction on Robinhood Chain costs a few cents of gas.
4. **The premium is in your wallet** as soon as the transaction confirms.

## At expiry

The option settles at **16:00 ET** on the expiry, at the Chainlink price in effect at that second (prints after 16:00,
including the closing auction, do not count). Hedgehood's keeper settles the series and sends everything back to your
wallet: you do not need to come back or pay gas.

| You sold | The stock closes | You get back |
|---|---|---|
| A put at strike K | at or above K | all your USDG |
| | below K, cash series | USDG worth the close × amount (you bear the drop below K) |
| | below K, physical series | the shares, bought at K (if the buyer exercises within a day; otherwise cash as above) |
| A call at strike K | at or below K | all your shares |
| | above K, cash series | shares worth K × amount (the rise above K goes to the buyer) |
| | above K, physical series | K × amount in USDG for your shares (if the buyer exercises within a day; otherwise cash as above) |

The app shows both outcomes for your exact strike and amount before you confirm.

## Closing early (best effort)

**Plan to hold to expiry.** Your collateral stays locked until the option settles; there is no guaranteed way out
before that. When a market maker holding your option is quoting, **Your positions** shows a price to buy it back:
you pay it (plus gas) and your collateral is released in the same transaction. No quote means
no maker is offering a close right now: try later, or hold to expiry. Quotes stop 30 minutes before the expiry.

## Fees

- **Platform fee**: paid by the market maker, not by you: 12.5 % of the premium, capped at 1 % of the notional. The
  premium you see is already what you receive.
- **Gas**: your wallet pays it in ETH for the fill, the approval and an early close. Settlement at expiry costs you
  nothing.

## Limits

Quotes are available during the US regular session (9:30–16:00 ET) on mainnet. Each order has a minimum (500 USDG of
strike value on testnet) and a maximum per order, and makers take a limited size per day and per strike. The app shows,
for the strike you pick, the size you can still ask for now and what is left today; MIN and MAX fill them in. A request
outside them gets no quote.

## Risks

- **A put can make you buy a falling stock** at the strike; a **call caps your upside** at the strike. The premium is
  the price of that.
- **Locked until expiry.** An early close depends on a maker quoting one; count on holding to the expiry you chose.
- **Settlement price.** The Chainlink price at 16:00:00 ET can differ from the official close.
- **Stock token events.** If the stock token is paused or its multiplier moves (a split, for example), settlement waits
  and, after seven days, uses the same 16:00 round.
- **Smart contracts.** The kernel and settler are upgradeable by their owner (a Safe on mainnet) and not yet audited.

Market makers: see [Earn upfront for market makers](https://docs.hedgehood.io/earn-upfront/makers).
