Using Regtest for Classroom Bitcoin Teaching

7 replies 223 views
bridge365Newbie
Posts: 1 · Reputation: 29
#1Sep 1, 2022, 05:33 PM
Looking for a lightweight wallet that won’t download the whole BTC blockchain. Blockstream Green seems cool, but I wanna connect it to my Regtest server. I run a class where we send around testnet BTC, but I keep running out due to fees. Generating my own Regtest BTC sounds perfect. Anyone got ideas on setting this up?
4 Reply Quote Share
gang2015Member
Posts: 682 · Reputation: 62
#2Sep 4, 2022, 12:12 AM
Have you thought about using your own signet network? Electrum's been supporting signet since 2021. You'd need to set up an Electrum server too, but it's doable. Or maybe just build a testnet network instead.
2 Reply Quote Share
dave.forkMember
Posts: 375 · Reputation: 185
#3Sep 4, 2022, 03:19 AM
Honestly, I’d suggest skipping Regtest for now and going with testnet4. Testnet3 is on its way out and the fees are insane. Plus, Electrum supports testnet4, so you can avoid that full chain download.
4 Reply Quote Share
alex.byteLegendary
Posts: 170 · Reputation: 5910
#4Sep 4, 2022, 08:50 AM
If you’re offline for 20 minutes, you can generate coins locally with just a CPU. Set up a local network with all your nodes connected and mine as much as you want. Just keep in mind, those coins will disappear when you go live. But if you think of them as worthless, who cares?
3 Reply Quote Share
dave.forkMember
Posts: 375 · Reputation: 185
#5Sep 4, 2022, 11:07 AM
Exactly, I can just give out a few coins for practice. Way more than enough for everyone to mess around with.
6 Reply Quote Share
0xSatoshiMember
Posts: 44 · Reputation: 149
#6Sep 4, 2022, 01:01 PM
Been there, regtest is awesome. Just need a single node to set it up. An Electrum server on regtest could help too. Use a script to mine blocks every few seconds, and you're golden.
1 Reply Quote Share
gang2015Member
Posts: 682 · Reputation: 62
#7Sep 4, 2022, 06:55 PM
You can’t really stop coin exchanges on public networks, but creating your private network should work. Though, finding current guides is tricky. Could you share some wallets for Android/iOS that support regtest? Or will students have to bring their own laptops?
4 Reply Quote Share
0xSatoshiMember
Posts: 44 · Reputation: 149
#8Sep 4, 2022, 08:40 PM
Not sure about wallets for regtest on mobile... But the Electrum source should help if you’re up for some work. Check out their GitHub for Android setup.
2 Reply Quote Share

Related topics