current position:Home>Excuse me: People's contract is open source. Can I write a program to call a contract method automatically every 10 seconds?

Excuse me: People's contract is open source. Can I write a program to call a contract method automatically every 10 seconds?

2022-02-03 23:42:13 Q & A of Denglian community

It's someone else's contract , I write a program to call a contract method , Can do every 10 Is it called automatically in seconds ? Not every time Pop it out A little fox dialog




Take the answer 1:

Tolerable , however 10 Seconds seem a little frequent , The etheric fang 10 second + Just one block .

You can use the private key directly in the background ( Or you can export mnemonics for the private key or keystrore) Initiate a signed transaction . You can try ethers.js , Here's one too Chinese document




copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032342111536.html

Random recommended