DeFi University
Skip to lesson

Exercise 2

How a Transaction is Built

About 15 min

Your task

You'll play coin selection for a wallet: pick which coins pay a friend, size the transaction in vbytes, and work out the fee and the change for two different choices. Then you'll price a clean-up of the whole wallet on a cheap day. By the end you can build a transaction on paper and check that every sat is accounted for.

Time
20 minutes
You'll need
a calculator (or a spreadsheet)
Builds on
Lesson 2

Warm-up

Check yourself

A transaction spends inputs worth 60,000 sats and creates outputs worth 59,400 sats. What is the fee?

Check yourself

Why do wallets send change to a new address?

Members only

This course is for members.

The DeFi University membership on Skool opens all 31 courses here, plus the live calls and community. Private coaching clients have access too. Already a member? Sign in with your Skool email.