FundamentalsBeginner

How to Buy Your First Crypto Using DeFi

Step-by-step for beginners: set up a self-custody wallet, fund it, pick a network and make your first swap without handing your keys to an exchange.

ChainBridge ResearchUpdated 5 min read

On this page6 sections

Key takeaways

  • You need two things: a self-custody wallet and a little of the network’s native token to pay gas.
  • Fund the wallet from an exchange or an on-ramp, choosing the network carefully and testing with a small amount.
  • Layer 2 networks such as Arbitrum and Base make small first swaps cheap; Ethereum mainnet suits larger amounts.
  • Before signing, read the quote: amount received, minimum received and fees. Start with an amount you can afford to lose.

Before you start

On a centralized exchange, the company holds your coins and you trust it not to freeze your account or get hacked. In DeFi, the tokens sit in a wallet that only you control. No company can block you, and no company can help you if you lose your keys.

A self-custody wallet

An app or browser extension that creates your private key and signs transactions. Your address is public; your key and recovery phrase are not.

A little native token for gas

Every transaction pays a network fee in the chain's own token, ETH on Ethereum and most layer 2s. See Understanding gas fees.

Step 1: install a wallet

Any wallet below works with ChainBridge. MetaMask or Rabby is the easiest place to start; move larger amounts to a hardware wallet later.

Popular wallets for beginners
WalletTypeGood atTrade-off
MetaMaskBrowser extension, mobileSupported almost everywhereHot wallet: keys live on an internet-connected device
RabbyBrowser extension, mobileMulti-chain by default, clear transaction previewsHot wallet
RainbowMobile, extensionSimple interface for Ethereum and layer 2sHot wallet: phone security matters
Ledger, TrezorHardware walletKeys never leave the deviceCosts money, slower to sign
  1. Download from the official site

    Type the address yourself or use the official app store listing. Fake wallet extensions exist.

  2. Create a new wallet

    The app generates a recovery phrase of 12 or 24 words. This phrase is the master key.

  3. Back up the phrase on paper

    No screenshots, notes apps or cloud storage. Store it offline somewhere safe. More in Wallet security.

Step 2: fund your wallet

Ways to fund a new wallet
MethodHowCost
Centralized exchangeBuy on Coinbase, Kraken or similar after identity checks, then withdraw to your wallet address.Trading fee plus a withdrawal fee
On-ramp in your walletPay by card or bank transfer through a provider such as MoonPay or Transak, built into many wallets.Usually higher than an exchange, varies by payment method

Pick the network before you withdraw. Many exchanges can send ETH or USDC directly to Arbitrum, Base or Optimism, where a swap usually costs cents instead of dollars. That makes them a good place to learn. Make sure you also hold that network's gas token:

Gas token per network
NetworkGas paid in
Ethereum, Arbitrum, Base, Optimism, LineaETH
PolygonPOL
BNB ChainBNB
AvalancheAVAX

Step 3: your first swap

ChainBridge is non-custodial: it never holds your funds. It asks three aggregators, 0x, KyberSwap and ParaSwap, for a price and shows you the one that leaves you the most after fees and gas. You sign the trade from your own wallet.

  1. Connect your wallet

    Click Connect Wallet and approve the request in your wallet. Connecting only shares your address; nothing can move without your signature. Check that the network shown matches where your funds are.

  2. Choose what to sell and what to buy

    Put the token you hold on top and the one you want below. USDC is a common first buy: a stablecoin that tracks the dollar. Enter a small amount.

  3. Read the quote

    Check the amount you receive, the minimum received, the price impact and the fees. Slippage is set automatically for the pair; you can change it in settings. See Anatomy of a swap quote.

  4. Approve, then swap

    Selling a token other than the native one needs an approval first, letting the aggregator's contract spend it. If your wallet supports batched calls, approval and swap go out in one confirmation. The transaction is simulated before you sign; if it would fail, you are told before paying gas.

  5. Wait for confirmation

    About 12 seconds per block on Ethereum, a second or two on most layer 2s. The tokens then appear in your wallet.

Afterwards, the portfolio page shows your balances with USD values and the history page lists the swap with a link to the block explorer.

Common beginner mistakes

DeFi has no undo button. Each of these has cost real people real money.

Withdrawing to the wrong network

An exchange asks which network to withdraw on. Pick the one your wallet is set to use, and send a small test amount first. Funds sent on a network you did not expect can be hard or impossible to recover.

Running out of gas money

Keep a little of the network’s native token in the wallet at all times. Without it, you cannot move anything else, not even to sell.

Approving more than you need

A token approval lets a contract spend that token later. Review them from time to time on the approvals page and revoke the ones you no longer use.

Trusting links in messages

Bookmark the apps you use. Support staff, airdrops and “wallet validation” links in DMs or emails are the classic phishing entry point.

Sharing the recovery phrase

No wallet, exchange or support agent will ever ask for it. Anyone who has it owns the wallet.

Review and revoke old approvals on the approvals page.

Next steps

Make your first swap

Connect your wallet, pick a pair and read the quote. ChainBridge compares three aggregators and checks the route before you sign.

Open the swap