Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [smart-lock]

A smart-lock is an embedded device that provides physical security to an asset. It locks/unlocks itself based on instructions received from a recognised smart contract running on a blockchain.

0
votes
1answer
21 views

Time-locked deposit protocol?

I am designing a protocol where a user A sends a time-locked deposit to user that if the user B within time t provide a proof that he exists in a location x (this may be obtained by third party like ...
1
vote
2answers
286 views

Slackness issue and time in smart contracts

At a high level, slackness issue says, it is not possible to guarantee that at any given point in time all honest miners see exactly the same blockchain length [1]. On the other hand, as we know the ...
0
votes
0answers
17 views

Please help. my contract to run and successful

Please help what is function is lacking to this contract that unable to send the token from creator to receiver... it error said cannot find log event check sender.. here is my code contract ...
0
votes
0answers
46 views

what does this mean? '' cannot locate the transfer event log check sender

. Can somebody help me what to do on my smart contract? I practice to create a smart contract through youtube the I success but when I try to send to another wallet of my token it failed it says '' ...
6
votes
2answers
921 views

Smart contract erc20 code snippet to prevent buyer token transfers

I´m going to start a token pre-sale and I want to be able to send the tokens to the buyer but prevent the buyer to send tokens to another wallet. I tried the following in my ERC20 smart contract but ...
0
votes
1answer
142 views

How can smart lock inform Contract that it has been locked?

Suppose Smart lock (SL) has an Internet connection. How can SL send message to Smart Contract when User close SL? How to protect from reply attack? Is there any gas effective way to check SL ...
8
votes
3answers
634 views

How do smart locks make sure that they have access to an up-to-date version of the blockchain?

Smart locks like Slock.it are supposed to allow locks to be able to do things based on the blockchain state. Does that work with locks that don't have their own internet connection? If so, how does ...