The Event

The recent @ethglobal hackathon took place from 25 to 27 of May 2018, lots of teams and hackers all over the world signed up for the event months before. It is the #ethereum most important hackathon. There was a very high skilled level, in my case I wasn't accepted to participate and had to wait on the waiting list for someone to cancel.

Fortunately for me, somebody did =). I was very exited and arrived early at the event. I met 3 more Argentinean devs and we teamed up for the next 3 days to create our project.





Our Project

We all loved the idea to bring #IoT to the #blockchain world. So we decided to create a project that would link the physical world to the virtual world, bringing the decentralization and immutability attributes of blockchain to IoT devices.

Our take on was to create an access control system linked to a DAO (decentralized autonomous organization) so that the access control becomes 100% unmmutable and decentralized. The DAO itself had the ability to issue access to certain addresses and revoke it as well. The best part is given that we are talking about DAO, there is no one person in charge, access permission manager is resolved by voting and this permission can also be revoked by the voting process as well.

This brings a world of posibilites, for example, voting for the access control rules: work hours, number of access per day, guest invites, even how many coca colas is someone permitted to drink per day! As the smart contract is upgradable via voting, rules can also change in a decentralized and democratic process.

The Result

Our result was amazing! We managed to create a 100% working product on these 3 days. So how it works is users download a mobile app, where they have an ethereum address generated for them.

The DAO authorizes the given address to access the physical location via a NFC communication request and the raspberry pi connected to a smart contract validates it. We also have a 2FA to validate the phone.

A deeper look at the architecture

We used AragonNetwork DAO where we voted for permission, authorized addresses and revoked addresses permision.

The IoT device (raspberry pi in our case) communicates via NFC with the phone who issues a request to access the location. Project is divided in 4 sub-projects, DAO, mobile app, iot device and smart contracts.

Future Improvements

Customize access for specific locations/days/times.

Temporary 2nd level of allower/revoker roles.

Extendable to other IoT devices (drink dispenses, locks, food dispensers, stairs, etc).

QR Alternative.

Integration with existing mobile wallet.

Final Thoughts

We are very thankful for the opportunity to participate and happy with our result. I encourage more developers to join this amazing world of DApps as I can see it as part of the upcoming future. Powering a DApp with a DAO has an impressive power, I keep surprising myself with the possibilities we can create to make the world a better place.

Thanks if you made it this far!

dev team: @marcelocavazzoli @jgnatch @andre-brener-2b026671 @martinzugnoni

Ignacio Julián Gutiérrez Martín Zugnoni Andre Brener

source code: https://github.com/devnacho/bouncer_dao

my twitter: https://twitter.com/chelinho139

Thanks!

keywords: #ethereum #hackathon #iot #nfc #decentralization #aragon #network