Updating markets
All guides

Get help · Aave V4 basics

Practice with test funds

Try supply, borrow, repay, and withdraw in the separate local Ethereum copy.

4 sections Beginner friendly

A separate practice environment

The local lab runs copied Ethereum contracts with disposable funds. You can try an action, inspect the result, and reset the starting balances. The network selector includes Local test mode, which opens the lab instructions and a link to the separately running lab. The published explorer’s live networks still use real funds; opening the instructions does not switch a wallet to fake money.

The lab uses a built-in test account. You do not need a browser wallet, a seed phrase, or real funds for the practice cycle. Its test accounts must never be used to hold real funds.

Open the local lab

On the computer with this project and its dependencies installed, open PowerShell in the project folder and run npm.cmd run dev:test. Leave that terminal running, then open http://127.0.0.1:3014/test-mode in ur browser.

Look for LOCAL TEST MODE and chain 31337 before practicing. If setup reports a required port is occupied, resolve that conflict before retrying. Ctrl+C in the launcher terminal stops the lab. This setup is local to that computer; a remote reader cannot start it from the published site.

Try the full cycle

Use the lab’s supplied defaults for this exercise. They are test fixtures, not suggested live position sizes.

  1. Supply: leave 1 WETH selected and collateral enabled. Preview, inspect the result, then confirm with test funds.
  2. Borrow: choose Borrow, leaving 1,000 USDC. Preview and confirm.
  3. Repay: choose Repay and leave Repay all selected. Preview and confirm.
  4. Withdraw: after debt is cleared, choose Withdraw and leave Withdraw all selected. Preview and confirm.
  5. Inspect ur fork positions and Local transaction history. Reset test funds restores the starting state and clears previous history.

What the exercise proves

The lab checks copied-contract execution through a local adapter. It does not reproduce browser-wallet prompts, the production SDK’s full transaction flow, or real-network confirmation behavior.

Lab previews expire after 60 seconds and are invalidated by changed state or reset. The lab has Repay all and Withdraw all options that the main form does not yet offer. Local receipts belong to the copy and do not link to Etherscan.

Words in this guide

Full glossary
Borrow

Sends the chosen token to ur wallet and creates debt backed by eligible collateral.

Collateral

Eligible supplied assets enabled to support borrowing. These assets can be taken during liquidation if the position no longer meets its requirements.

Fork

A local copy of a blockchain's state used for testing. Actions on this practice copy do not change the live Ethereum network.

LOCAL TEST MODE

The banner identifying the separate local practice site. Use Local test mode in the network selector for instructions; live-network transactions still use real funds.

Local transaction history

The record of actions submitted to the local practice chain. These transactions do not appear on Ethereum Etherscan.

PositionPositions

An account's supplied assets and debt within a market. One account can have separate positions in multiple Spokes.

Repay

Uses tokens from ur wallet to reduce debt in the selected position.

Repay all

An option in the local practice lab to repay the full test debt. The main site uses an entered amount.

Reset test funds

Restores disposable balances in the local practice environment so u can repeat the exercises.

Seed phrase

The secret recovery words for a wallet. They can give control of its accounts; the local lab does not need them.

Snapshot

A saved state of the local practice chain that the lab can return to after testing an action.

Supply

Moves the chosen token from ur wallet into the selected market after the transaction confirms.

TransactionTransactions

A signed request processed by the blockchain, such as supplying tokens or granting an approval. Review its receipt to check whether it succeeded.

ur fork positionsYour fork positions

Positions on the local copy of Ethereum used for practice. These are separate from positions on the live network.

USDC

A dollar-denominated stablecoin token designed to track one US dollar. Its token amount and market dollar value are separate measurements.

Wallet

An app or device that manages accounts and lets u approve transactions. Connecting a wallet is different from approving a payment or loan.

WETH

Wrapped Ether: ETH represented as an ERC-20 token. WETH and the ETH used to pay gas appear as separate balances.

Withdraw

Returns supplied tokens to ur wallet, subject to available liquidity and the position's collateral requirements.

Withdraw all

An option in the local practice lab to request the full test supply. Position and liquidity checks still apply.