Inspiration
The global market for Internet of things (IoT) end-user solutions is expected to grow to 1.6 trillion U.S. dollars by the end of 2025. Smart devices can represent basically anything, spanning from smart houses keylocks like Lockii to grid interconnected solar panels.
Being able to interconnect all of these objects through a powerful and reliable blockchain like Neo that can automate operations with smart contracts will be a game changer and would open the doors to an illimitate number of applications.
What it does
Lockii uses the Neo blockchain as a store of state and proof of ownership over the NFT representing the smart lock. Thanks to a NFT NEP11 smart contract, the reliable state of the keylock is checked and used to decide whether to open or close the device.
How we built it
The whole system is composed by:
- A Raspberry PI connected to a servo motor and a led. Here Lockii core code continuously run asking the Neo blockchain informations about the state of the device. When the state changes the motor is moved to open or close the lock and the corresponding status led is turned on/off.
- An NFT smart contract used to manage the state of the device. Here each device corresponds to an NFT, so basically the whole system can support multiple device together and can also orchestrate them.
- A frontend web app where the user can see its Lockii NFTs and manage them.
Challenges we ran into
- Device hardware management
- Device lifecycle management and interaction with the Neo blockchain
- Orchestrate system components
- Create the physical MVP
Accomplishments that we're proud of
- Create a real life functioning MVP that interconnects Neo blockchain with a physical IoT device
- Manage lifecycle of a physical device reacting to Neo blockchain state changes
- NEP11 implementation possibilities
What we learned
- Build a hardware device connected to the blockchain
- Interaction with the Neo N3 blockchain
- Create a real life MVP of an interactive smart device
What's next for Lockii
In the future the idea is to build a more general IoT library to be applied to other smart devices and open source it to attract more people to developing Internet of things dApps on the Neo blockchain.
Built With
- c#
- neo
- neo-wallet-adapter
- neon-js
- node.js
- raspberry-pi
- react
- typescript
- vercel
Log in or sign up for Devpost to join the conversation.