My ESP32 is now the server of my little blockchain project

Dec 02, 2026 Last reply: 7 hours ago 3 Replies
Jump to replies (3)

Been working on this since summer break started. I'm 15 and I wanted to learn how blockchains actually work, so instead of just reading about it I started building an experimental one, purely for learning and trying out ideas. The blockchain part is a whole other story, but here's the bit that fits this sub. A network like that needs a starting point, a node that new peers can find and connect to when the network is still tiny. So I wrote a bootstrap node, basically a member of the network that acts as the meeting spot where everyone first says hello.



The kicker is where it runs. It's on an ESP32, the whole board cost me under 10 euros, powered over micro-USB, with Wi-Fi and Bluetooth built right in. That tiny thing with the red power LED sitting on my desk is doing the job of a server. Still kind of blows my mind that a board cheaper than a pizza can hold the center of a network.


That feeling of a tiny board quietly doing real work never really wears off. I run an ESP8266 as a little status reporter in my garage, just blinking an LED when something changes, and every time I glance at it I get the same kick you're describing. A chip the size of a thumbnail holding down the network side of a project is genuinely wild when you stop and think about it.

Your bootstrap idea is a smart way to learn it too. The node new peers check in with first is the piece most tutorials skip, so writing your own instead of copying someone's sketch teaches you way more about how peer discovery actually works. And doing it to understand blockchains rather than just reading about them is exactly the right instinct at your age. Reading gives you the theory, building gives you all the weird edge cases nobody warns you about.

One thing I'd say from my own dabbling is to enjoy this stage of the project. When a network is small and everything runs on hardware you can hold in your hand, you can see the whole system in your head. That gets harder as things grow, and it's a nice thing to remember later.

The pizza comparison made me laugh, but honestly it undersells it. I've spent more on coffee getting the idea for a project than on the board running it.

I came at these boards from the other direction, I started with an ESP8266 years ago just fiddling with home automation and only got an ESP32 later when I wanted more headroom. What still gets me is how little fuss they need. Mine hang off a phone charger in a cupboard, running day after day with no fan, no noise, no heat worth worrying about. Keeping an old laptop alive as a server felt like babysitting compared to this.

What I like about what you describe is that you built the part most people skip. When I tried to wrap my head around peer to peer stuff I read a mountain of articles and understood maybe a tenth of it. You went and stood in the middle of the problem instead, with your own front door for the network, the address every newcomer hits first. That's the difference between reading about a thing and actually knowing it. One small pushback from my own experience. The wow of the hardware wore off for me once I'd memorised the specs, and only came back when something I built stayed up for weeks without me touching it. The board matters less than what it's quietly doing, so you've got the right instinct focusing on the network side.

Are you testing with just one or two peers connecting so far, or have you tried several at once?

Funny how the Bluetooth side barely gets a mention. Mine just sits there idle while the Wi-Fi does all the lifting, and I'd guess most people never touch it. You using it for anything on your bootstrap node, or is it just nice having the option on the same board? I'm curious what you went with for the handshake when a new peer shows up. Do they just send a hello and get a list back, or is there some auth step you built in? At 15 you've got the time to experiment with this stuff that most of us don't, might as well milk summer break for all it's worth.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required