DOCDocs

How the port works. In plain words.

What happens to your stocks and your USDC, what it costs, and what can go wrong. Live on Base mainnet.

What Stock Port is

Stock Port lets you borrow USDC against tokenized stocks (NVDAc, AAPLc, TSLAc and others) on Base, without selling them. The loan itself lives on Aave V4. Stock Port builds the transactions, shows you the risk before you sign, and adds Loan Guard, which can repay part of your loan before Aave liquidates it.

It is non-custodial. Your stocks go into Aave's contract, never to a Stock Port wallet. Every transaction is built in your browser, shown to you, and signed by your own wallet.

How borrowing works

  1. Pick a stock you hold and how much to deposit. Each stock has a collateral factor set by Aave, from 55% to 79%: the loan-to-value at which liquidation starts.
  2. Pick how much USDC to borrow. We show your health after the loan and the price at which you would be liquidated.
  3. Confirm. Wallets that support batching do the deposit, collateral switch and borrow in one confirm; others ask you to sign each step. Approvals are exact, never unlimited.

Health is your collateral (weighted by LTV) divided by what you owe. Below 1.00, anyone can liquidate part of your position. Stock Port refuses new loans that would leave health under 1.3 (1.5 while the US market is closed, since the reference price is frozen and can gap at the open), so a new loan can survive about a 23% fall before liquidation. With Buy and borrow, each buy must land within slippage plus 2% of the reference price, and the new stock counts at the lower of its reference value and the USDC you paid.

You can repay any time, in part or in full, and withdraw your stock when the loan is closed.

Loan Guard

Loan Guard is a contract on Base. You park a USDC reserve in it and pick a trigger health, for example 1.25. If your health falls below the trigger, anyone can call it (our keeper, a Bankr agent or you), and it repays just enough of your Aave debt from your own reserve to bring health back to your target.

It can only do two things with your money: repay your own Aave debt, or send your reserve back to you. It never touches your stock, has no owner, no admin key and no upgrade path. You can withdraw the reserve any time.

Setup includes a one-time approval on Aave that lets Aave's Giver (a position manager that can only add funds) repay on your behalf. Without it, or with an empty reserve, the guard can't act, and the site shows it as not armed.

The weekend gap

Tokenized stocks trade onchain all week, but the reference price Aave uses (Chainlink NAV) stops updating when US markets close for the weekend. On Monday it can jump in one step. A loan that looked safe on Friday can be liquidatable at the open, with no warning in between.

Loan Guard has a separate, higher weekend trigger that applies from Friday 20:00 UTC to Monday 01:00 UTC and on US market holidays, so it can top up before the open instead of after. The weekend clock on the site shows which window you are in.

Buy and borrow

Don't hold a tokenized stock yet? Spend USDC and Stock Port buys the stock (or the Mag 7 basket) on Aerodrome, deposits it on Aave and borrows against it. Each buy is checked against the Chainlink price with at most 1% slippage, and we deposit only the amount the swap guarantees. Anything extra stays in your wallet.

Borrow from X

With a Bankr account you can post “@bankrbot borrow 10 USDC against my NVDAc on Stock Port”. Stock Port builds the exact transactions and Bankr signs them from your own Bankr wallet, under the same rules: exact approvals and no new loan under health 1.3. Setup is on the Borrow page.

Fees

  • Stock Port fee: none.
  • Interest: Aave's variable USDC borrow rate, paid to Aave lenders. It changes with demand. The base rate is on the Markets page. Aave V4 can add a risk premium per position, so your rate can be higher than the base.
  • Swaps (Buy and borrow only): the Aerodrome pool fee and any price impact, capped by the 1% slippage limit.
  • Liquidation: if it happens, Aave gives liquidators a bonus paid from your collateral.
  • Gas: Base network fees, usually a few cents.

Risks

  • Liquidation. If the stock falls far enough, part of your collateral is sold to repay the loan, plus a fee. You keep the USDC you borrowed.
  • Weekend and holiday gaps. Prices can jump at the open with nothing in between. Loan Guard reduces this risk only if it is armed and has enough reserve.
  • Price gaps. The pool price of a tokenized stock can drift away from the real share price, especially when markets are closed or pools are thin. Buys are paused when the gap is over 2% and a fresh reference price is available. When the reference is stale, as on weekends, that check can't run.
  • Smart contracts. Aave V4, Aerodrome, the token contracts, Loan Guard and AutoPilot can all have bugs. Loan Guard and AutoPilot are new and have not had an external audit.
  • Keepers can be late. Loan Guard needs someone to call it. Anyone can, including our keeper, but no keeper is guaranteed to be on time.
  • No shareholder rights. Tokenized stocks track a reference price. They give no voting rights or ownership in the company.
  • Where you live. Not available in the US, UK or other restricted regions.

Nothing here is investment advice.

Contracts on Base

FAQ

Can Stock Port take my stocks? No. For loans they sit in Aave's contract under your address. If you use AutoPilot, the stocks you put in it sit in the AutoPilot contract, where only your chosen agent can trade them inside your rules, and exit() returns everything to you. No Stock Port wallet ever holds them.

Do I need to repay by a date? No. There is no due date. Interest keeps adding up until you repay.

Which wallets work? Base Account, MetaMask, Coinbase Wallet, Rabby, Phantom and others. On a phone, open the site inside your wallet app.

Where do I see my loan? On My loan, after connecting your wallet.

Docs · Stock Port