CRYPTO NEWS

how can i invoke function each 5 minutes using react?

how can i invoke pickVoters() each 5 minutes using react?

import React, { Component } from "react"; class Pick extends Component { static async getInitialProps(props) { const { address } = props.query;  const eVoting = new EVoting(address);    const accounts = await web3.eth.getAccounts(); await eVoting.methods.pickVoters().send({   from: accounts[0], }); return { address }; } 

how can i invoke function each 5 minutes using react?

Shopping cart
There are no products in the cart!
Continue shopping
0