Browse DIDLab Docs

DIDLab tool · Swap

Make a small verified swap

This public guide explains the operational flow without publishing the deeper AMM exercises. Use small classroom amounts and verify every transaction.

01

Connect on DIDLab

Connect MetaMask and switch to chain 252501. The swap interface should report the correct network before allowing writes.

02

Prepare classroom assets

Use funded lab accounts only. You need native TRUST for gas and the classroom token you plan to swap. TT and LabUSDT are used for the current learning pair.

03

Approve only when required

ERC-20 swaps normally require an allowance before the router can move a token. Read the approval amount in your wallet and avoid approving more than the lab requires.

04

Review the quote

Check input amount, expected output, slippage settings, wallet balance, and network before confirming the swap transaction.

05

Verify the receipt

After confirmation, open the transaction in Blockscout and inspect status, gas used, token-transfer events, and the destination contract.

Course boundary

Liquidity math, reserve changes, price impact experiments, LP token mechanics, attack scenarios, and assessment questions are reserved for the DIDLab Labs blockchain course.

Verify, do not assume

The wallet popup is only one view of the transaction. Use the explorer receipt and token-transfer logs as the independent source of truth after the transaction is mined.

Open Explorer

Validation profile

Network

DIDLab Blockchain

Chain ID

252501

Client

Hyperledger Besu

Consensus

QBFT

Native asset

TRUST

Platform token

TT (ERC-20)

Solidity examples

0.8.24

Last validated

August 2026

Go deeper in DIDLab Labs

Public documentation explains the workflow and expected result. Authenticated DIDLab Labs adds managed workspaces, deeper exercises, checkpoints, evidence capture, and instructor assessment.

Open DIDLab Labs