Linked Questions

3 votes
3 answers
3k views

How can contract do recurring payments? [duplicate]

I need to create a contract that will make recurring payments as per user's request, the contract will ask the user to tell the sender and receiver address and it'll transfer some amount of erc20 ...
Fariha Abbasi's user avatar
1 vote
1 answer
4k views

How to automatically send ether, at regular intervals [duplicate]

How to automatically send ether, at regular intervals. I have an array of addresses. For example. 24 hours later send all addresses send eth. I can not understand how to make the timer on the solidity ...
M.Sheremain's user avatar
5 votes
1 answer
2k views

Can smart contracts execute themselves? [duplicate]

Is it possible for a smart contract to autonomously execute (with no external interaction) when a certain condition is met? Say, when a certain time arrives. My thought is that smart contracts are ...
billett's user avatar
  • 1,255
6 votes
1 answer
4k views

Automatically calling a contract function every 24 hours? [duplicate]

I want to have my smart contract call a function every 24 hours automatically. Can this be achieved as follows? pragma solidity ^0.4.2; import "http://github.com/oraclize/ethereum-api/...
ZhouW's user avatar
  • 1,358
1 vote
3 answers
4k views

Schedule an execution of a function in Solidity [duplicate]

I am new to solidity and to smart contracts, i couldn't find a great resource describing how the execution of a function in the future really work behind the scenes and how to implement it. I'd ...
Fahmy Chaabane's user avatar
1 vote
1 answer
3k views

Automated execution of smart contract [duplicate]

What are the chances to create such a smart contract whose function is executed automatically at certain point of time (timestamp) ?         I actually mean ...
Aniket's user avatar
  • 3,545
1 vote
2 answers
3k views

How to write time based events in a contract? [duplicate]

I have created a token creation contract. Now, I have to write time-based events in the same contract like after every 6 months some 'x' number of tokens should send to 3 ether addresses. How to write ...
merklexy's user avatar
  • 173
2 votes
2 answers
1k views

Self executing smart contract? [duplicate]

If I need to implement a smart contract with a function that should be automatically executed each 1 hour (for example). Any suggestions for how to implement such a smart contract?
Mohamed's user avatar
  • 491
2 votes
2 answers
463 views

Is it possible to create an "engine" in ethereum/solidity? [duplicate]

I would like to create a lottery. For that I would need to have a repeating payout event every 1h or 24h -> is this even possible with Solidity/Ethereum?
Fabian Lurz's user avatar
0 votes
1 answer
2k views

How to call the contract function after a specified interval [duplicate]

There is a function in contract that should call every month. Can this be implemented with the help of Solidity? For example: I have made an order for 1 month. A month later the status of the ...
blanry's user avatar
  • 93
3 votes
1 answer
472 views

Do ethereum contracts stay active if it has to wait for a condition to happen? How is the TIME element factored into smart contracts? [duplicate]

I haven't written any contract yet, but would like to know if this is something that can be done. Lets say I write a smart contract to pay someone if his ethereum address goes below a certain amount ...
Patoshi パトシ's user avatar
1 vote
1 answer
1k views

How to set time based function in solidity? [duplicate]

I want to run a function after every 365 days in Solidity. I have tried to use the now keyword, but it is not working (I tried in Remix). How can I get the time?
Himanshu's user avatar
1 vote
1 answer
868 views

how can the smart contract auto update contract status for every 1st of each month? [duplicate]

I am new to etherum blockchain. I am working on designing the contract for payment money. The customer must pay money for rent space for every 1 month, or the contract will be invalid. How can my ...
Alongkorn's user avatar
  • 289
6 votes
0 answers
1k views

Is there a SetTimeout function in Solidity? [duplicate]

Essentially, is there a SetTimeout in Solidity? creationTime = now; lastBlockNumberA = block.number - 1; first = lastBlockNumberA; if(now >= creationTime + 1 days){ lastBlockNumberB = block....
user2890278's user avatar
0 votes
3 answers
1k views

Is possibly to create a Smart Contract that expire if the user doesnt move from own wallet in 30 days? [duplicate]

Well, I want to create my own contract and I will give like 10 coins to every user every month, but if the user doesn't transfer it from his own wallet, I want to "delete" this coins, to encourage ...
Vitor Silva's user avatar

15 30 50 per page