
Lesson 1: Rethinking Web3 · Part 5/6 — Transfers and DApp Login
Topic: Transfers and DApp login (Transfers & DApps). Overview: a full MetaMask transfer walkthrough / logging into a DApp with no registration
3.4 Transferring with MetaMask
First we create another account, in the place we saw earlier.
Tap the upper left,
open this Accounts list,
tap Add account,
then get the address of Account 2.


Go back to the main screen and tap Token.
Note the upper left: Account 1 is still the one currently open.

Tap Send.

Add Account 2’s address, and Amount, which is the quantity.
I transferred 0.01,
then tapped Continue at the bottom.


Tap Confirm.
Wait a moment,
and the transfer is complete.

Account 2 now has 0.01 SepoliaETH!

3.5 Logging into a DApp with MetaMask
Let’s look at how to log into a DApp in the Web3 world without registering an account and password.
I opened a DApp.
As you can see, there is no need to register; just click Connect MetaMask.

MetaMask will pop up a dialog.
Because the account we selected in MetaMask is Account 2, it will ask to connect Account 2 here.
We tap the Connect button.

After the connection is complete, we enter a transfer screen.

We enter Account 1’s address and send the 0.01 ETH back.
After entering it, click the Send Transaction button,
and MetaMask responds.


It says there is not enough SepoliaETH. We only have 0.01 SepoliaETH and were about to send all of it, leaving nothing to pay the network fee.
So we send a little less: 0.005.
This time it succeeds. Tap Confirm.


Go and look in the MetaMask wallet.
Account 1 now has 0.045 SepoliaETH.

Account 2 has 0.00496 SepoliaETH left.
It started with 0.01, minus 0.005, so 0.005 should have remained; the missing portion is the fee.

Summary
After this series of operations, we can see a clear difference between DApps and apps in Web2:
In a DApp you do not register an account; the entire account system reuses the infrastructure of the Ethereum blockchain.
Exercises
Generate your own Web3 account.
Claim test ETH.
Try a transfer in MetaMask!
Series navigation (part 5 of 6)
Lesson 1: Rethinking Web3 is split into 6 X Articles.
← Previous: 01d — Test networks and test ETH
→ Next: 01f — Configuring a local test chain
📚 Full table of contents: see README.md
🔗 Original long article: see ../01-Web3 认知重启.md
This part covers: transfers and DApp login
This article was imported from an X Article. Original: https://x.com/i/status/2110718983322427444