BVG, get me a ride!
Smart contract to simulate buying and querying a transport ticket from BVG.
Created on 17th September 2022
•
BVG, get me a ride!
Smart contract to simulate buying and querying a transport ticket from BVG.
The problem BVG, get me a ride! solves
- A ticket cannot be faked
- The ticket is fully available 24/7 on the ethereum blockchain
Challenges I ran into
I'm new to solidity and this is the first contract that I've ever written.
Writable functions re-entrancy, needed to create a modifier to be used as a locked or mutex.
Computing the expiry date took me a while to figure it out
Deployment of the contract to testnet, I contacted the mentor and receives useful insights and managed to successfully deploy to görli testnet.
Technologies used
Discussion
Builders also viewed
See more projects on Devfolio
