This post presents the code used for our paper "Smart Contract-Based Access Control for the Internet of Thins" (arxiv.org),including the ACC, RC, JC, JavaScript at the subject and JavaScript at the object.
Steps to run the code.
1. Deploy the ACC, RC and JC on the Ethereum blockchain network. In my case, I just built a local private Ethereum blockchain network using three devices, i.e., a desktop PC and two Raspberry Pi's. Each device has the geth client installed.
2. Add the address of the ACC into the lookuptable of the RC and store the address of the JC to the jc variable of the ACC. This is to enable the interactions among the contracts.
3. Add the required information for access control to the smart contracts, e.g., access control policies.
4. Run the monitor.js javascript on the object side and the requester.js on the subject side to test the access control.
How to run the code can you give us the step wise implementation
ReplyDeletehow to execute it on raspberry pi 3
ReplyDeletecan you explain step by step how to implement this given code
ReplyDeleteCould you please explain what value to be given to "abi" parameter of Register method in RC.
ReplyDeleteThanks.
Quickly your website can unquestionably acquire well known being among the most regarding submitting buyers, for the meticulous content articles or simply just essential critiques. cotação bitcoin
ReplyDeletehow to execute it
ReplyDeleteI really like your take on the issue. I now have a clear idea on what this matter is all about.. ethereum
ReplyDeleteHey, Need some help regarding smart contract methods. Your little help can save my time. can you provide your mail id or any other contact details ?
ReplyDeleteHey, Need some help regarding smart contract methods. Your little help can save my time. can you provide your mail id or any other contact details ?
ReplyDelete