Getting started
New Leaf is a private execution layer for supported stock tokens. In the workspace, you can research prices, authorize a local trading agent, and verify orders settled against USDG. Overview shows the latest block, catalog size and number of tradable pairs, along with shortcuts to trading and account controls.
- Connect your wallet and confirm your sign-in.
- Start and pair the agent on the same computer as the browser.
- Choose a supported stock in Account & limits, open or create an account, authorize the agent address and deposit the asset you need.
- In Trade, select the same stock, bind the agent to the account, and review the limit order before sending it.
- Use Order activity to inspect the admission decision and, when available, verify the settlement.
Wallet and network
Open Connect wallet in the header. Detected wallets lists wallets available in the current browser. Recommended wallets provides installation options. Select an account and confirm the sign-in signature in your wallet. The signature proves you control the address. Deposits, withdrawals and policy changes require their own wallet confirmations.
Select Robinhood Chain when the workspace prompts you to switch networks. Click the connected wallet address to check the network, copy the full address, change wallet or disconnect. If you switch accounts in the wallet, sign in again with the address that owns the trading account.
Stock prices and watchlist
In Markets, search by symbol or company name. Sort by symbol, top gainers or top losers. Star a stock to save it to the browser’s watchlist and switch to Watchlist to see your saved names.
The stock price table shows the underlying equity in USD, its day change and quote time in Eastern Time. Check the quote source and timestamp. Saved or older quotes can remain visible when a provider is between updates.
The catalog also lists stocks for research. A row with Trade opens the corresponding New Leaf order form. The stock picker in the trading workspace provides All stocks, Watchlist and Recent views.
Stock details and market activity
Select a company in Markets to open its detail panel. Where available, the panel shows its underlying quote, daily change, interactive TradingView chart, settlement reference and recent on-chain oracle observations. You can copy its token contract address or open it on Blockscout from the same panel.
Switch to New Leaf trades to see reported activity from New Leaf markets. Use Your orders to check activity attributed to your own signed-in wallet.
Spread Radar
Open Spread Radar, choose a stock and use Refresh to check the available sources.
- U.S. stock quote
- The underlying stock’s last available USD quote, with its source and timestamp.
- New Leaf last fill
- The latest confirmed trade found for the selected New Leaf market. Until a fill is recorded, this value stays blank.
- Settlement reference
- The indicative contract price based on the stock and USDG feeds. The contract can reject a reference when a required feed is stale or unavailable.
The spread is the percentage difference versus the U.S. quote after conversion to a common currency. Positive values show a premium and negative values show a discount. Compare the timestamps before interpreting a spread. Each comparison needs both prices and the applicable USDG conversion.
Portfolio balances
In Portfolio, enter a wallet address and use Look up to view its USDG and stock token balances at the reported block. For funds already deposited into a trading account, open the matching stock and account under Account & limits.
Trading agent
The New Leaf agent runs on your computer. It uses a separate trading key to sign EIP-712 limit orders, submits them to the market operator and runs the daily strategies you create. The agent’s binding and your on-chain policy define the account, stock, limits and expiry it can use. Your wallet controls policy, funding and withdrawals.
Pairing, binding and revocation
- Pair the browser
- The temporary pairing code connects the browser to the local agent. Restarting the agent prints a new code. Keep the code private.
- Bind an account
- After your wallet confirms the policy, bind the agent to the selected trading account in Trade. Bind the current policy again if its version changes.
- Remove trading authority
- Disconnect browser clears the browser pairing. Revoke agent in Account & limits invalidates the current on-chain authorization, including outstanding signatures under that policy.
Use the installation and pairing steps to get started, and see risk limits for the policy controls.
Install and pair the agent
- On the computer you use to trade, install Node.js 22.13 or newer, download the Agent kit and extract it.
- Open a terminal in the extracted folder and run this command.
node tools/agent_bridge.mjs
This command allows the local preview at http://127.0.0.1:48273. For a hosted copy, append --origin followed by the exact trusted site origin, including the scheme and any port.
- Keep the terminal running. Open Trading agent beside the wallet button, paste the code printed by the agent, and choose Connect agent.
- Copy the agent address shown in Trade and use that address in Account & limits. Once authorized, select Bind to this account in Trade for the same stock.
The kit also includes command-line instructions in tools/private_agent.md for users who want to sign, submit or look up orders without the browser.
Trading accounts and funding
Choose the stock in Account & limits. Use Open account with your existing account address, or create an account with the intended agent and policy. Record the account address so you can open it again. Each trading account is scoped to a market.
Under Funds, deposit USDG for buys or the stock token for sells. The wallet may ask for a token approval before the deposit. To reclaim available funds, select Withdraw, choose the asset, and confirm the withdrawal to your wallet.
The wallet address and trading account address serve different purposes. The wallet is the owner and controls the account. The trading account is the address used to hold funds and apply policy for that market.
Risk limits and agent access
Set the maximum notional amount per order, per UTC day and for the lifetime of the policy. Choose the authorization expiry and the drawdown threshold at which buys pause. Check the market, agent address and each limit in your wallet before confirming.
Tighter limits can take effect immediately. Higher limits and changing the agent have a 24-hour delay. After that delay, use Activate scheduled limits and confirm in your wallet. When the policy version changes, bind the current version again before placing new orders.
Choose Revoke agent to invalidate the current authorization. The owner can still manage funds in the account. A local pause in Strategies or disconnecting the browser leaves the on-chain authorization in place.
Private limit orders
In Trade, choose a stock and buy or sell. Enter a whole number of lots and the limit price per lot in USDG. A buy limit is the highest price you’ll pay. A sell limit is the lowest you’ll accept. Use reference price can populate the limit when a valid price is available. Review the total value at your limit before sending.
The local agent signs the order and sends it to the identified operator over an encrypted connection. The operator can see the order before the batch closes. The signed orders the operator executes are published in the settlement transaction and checked by the contract.
Your balance, active policy and eligible reference price affect whether an order can settle. A valid limit specifies your price boundary. It takes a compatible order in the batch to produce a fill.
Order activity and signed receipts
Open Order activity below the trade form to inspect local agent orders. A signed admission receipt records the operator’s decision, the order digest and the batch. Use Download signed receipt to save the receipt JSON when available.
- Awaiting receipt
- The decision has not arrived. Refresh activity and check the previous request before sending another order.
- Accepted or rejected
- The operator admitted or declined the order. A rejection can include a reason. Acceptance precedes settlement.
- Confirming settlement
- A settlement transaction is being checked for the batch. The verified result can show a full fill, a partial fill or zero fills.
- Excluded or settlement reverted
- An order may be left out during settlement checks, or the batch transaction may have failed. Inspect the status and any linked transaction.
If a response was interrupted, use Restore previous order to recover the request from the agent rather than submitting a duplicate decision.
Batch settlement and verification
Eligible orders in a batch match at a single clearing price within the oracle price band. Compatible limits and available quantities determine whether a particular order fills fully, partially or at all. When the contract lacks an eligible quote, settlement may pause even if Markets still shows a saved stock price.
- Copy a settlement transaction hash from the order details or the explorer.
- Open Batch receipts, select the corresponding stock and paste the hash.
- Use Find receipt to check the confirmed batch, matched quantity and clearing price. Review the individual order separately for your own filled quantity.
Your orders and fills
With the owner wallet connected, open Your orders. All orders shows available order activity for the wallet. Fills narrows the history to orders with executions. Use Refresh to check again.
Select a row for identifiers, quantity, outcome and linked transactions when available. Copy the settlement hash for a batch receipt lookup or open the transaction on Blockscout. For an order still awaiting its admission receipt, check the corresponding Agent order in Trade.
Daily strategies
In Strategies, bind an agent, choose a stock and side, set whole lots per day and a USDG limit, then choose a duration from 1 to 365 days. Start now or supply a first order time in UTC.
The agent attempts one order per 24-hour interval subject to the current policy. Keep it running if you close the browser. It skips slots more than five minutes late. Execution history shows the outcome for each slot and any resulting fill.
Pause future attempts from the strategy card and resume under a valid matching policy. Accepted orders can still settle after a pause. Revoking the policy invalidates outstanding signatures under that authorization.
Legacy market
The legacy workspaces are for balances and activity in the original public contracts. Use the wallet that funded the market. The stock selector and available actions depend on the legacy deployment you open.
- Withdraw
- Check trading balances and withdraw the available stock token or USDG to the owner wallet.
- Agent access
- Check an existing mandate and revoke it where available.
- Instructions and Orders
- Inspect old instructions and existing public orders. Cancel outstanding items when the contract and interface permit it.
- Settlement
- Inspect the current batch and recent settlements. Where the interface enables Settle batch, it uses a wallet-confirmed transaction on the legacy contract.
Use Legacy market → Withdraw for old balances and Trade for new private orders.
Contracts and public verification
New Leaf uses Robinhood Chain. The market contract checks signed orders, current authorizations and eligible clearing prices. The trading account manages the owner’s funded balances and agent risk policy. The stock token is a separate contract issued for the underlying equity.
Open a stock’s detail panel to verify its token contract on Blockscout. The private market deployment manifest records the released market contracts and supported assets. Use a confirmed settlement receipt or explorer transaction to verify a specific execution.
Troubleshooting
- Wallet missing or sign-in failed
- Unlock the wallet, select an account and confirm the sign-in request. Reconnect after changing accounts. Check the selected network if prompted.
- Pairing rejected or Agent disconnected
- Keep the agent running on the browser’s computer, use the latest code and check the configured origin. See Install and pair the agent.
- Cannot send an order
- Check the market, selected stock, account binding, available funds, remaining risk limits, expiry and oracle status.
- Reference price unavailable
- Refresh and read the stock and USDG feed timestamps where shown. Settlement requires an eligible reference. A separate market quote can still be visible.
- Accepted order with no fill
- Refresh Order activity and open the batch result when available. The batch can settle with zero fills on an order if quantities and limits do not cross.
- Batch receipt not found
- Verify that the hash is a confirmed settlement transaction for the selected stock and network.
Glossary
- USDG
- The quote asset used by supported New Leaf stock pairs.
- Lot
- The whole trading quantity unit used by the order form.
- Mandate or policy
- The owner’s on-chain authorization for an agent, including limits and expiry.
- Order digest
- The signed order’s unique hash used to correlate a receipt and settlement.
- Oracle price band
- The contract’s eligible clearing-price interval derived from its reference feeds.
- Admission receipt
- The operator-signed record of its decision to accept or reject an order.
- Batch receipt
- The confirmed on-chain settlement record for a group of orders.