Two DIDLab learning environments are now open for anyone to explore: Trustville, a town told in sixteen smart-contract modules, and the DIDLab blockchain network that runs it. They work together, and both are already in use in our courses.
Why we built them
Blockchain is often explained through hype or jargon. We wanted the opposite: small, concrete examples of everyday trust problems, each solved with a short smart contract, and an honest note about what that contract does not fix. That is our Learn, Practice, Apply approach applied to distributed trust.
Trustville: one town, sixteen trust problems
Trustville is organized around the places in a town. The town hall handles identity and money, the market handles trade between strangers, the college handles credentials and tickets, housing handles deeds and deposits, and the council handles shared decisions. Later modules cover charity, insurance and exchange, and a privacy lab introduces zero-knowledge selective disclosure.
Every module guide follows the same pattern: the problem, how the contract works, a walkthrough, its limitations, common mistakes, a security checklist and exercises. Each guide also asks when a plain database would be the better choice.
Version 1, with a complete set of guided walkthroughs, is live. Version 2 will add more hands-on missions.
The DIDLab blockchain network
The network behind Trustville is a learning environment with:
- a faucet for learning tokens
- encrypted file storage on IPFS
- blockchain-backed badges and credentials
- a block explorer for inspecting transactions and contracts
- developer guides for wallets and contract deployment
How to start
- Install a MetaMask wallet.
- Visit blockchain.didlab.org to add the network and request learning tokens.
- Open Trustville and begin with module 1, which registers you as a resident.
Prefer to work offline? The Trustville guides explain how to run the whole town locally.
Built by students, too
Students in our guided projects have already deployed their own applications on the network. See them in our student showcase.
Questions, ideas or interest in using these environments in your own teaching? Contact us.
Originally published at didlab.org.
