Answers for "call set function from smart contract"

0

call set function from smart contract

}
    async function updateAppName() {
        let upName = "Updated"
        test.current.methods.setAppName(upName).send({ from: accounts[0] }).on('transactionHash', (hash) => {
            alert('updated')
        })
    }
Posted by: Guest on October-28-2021

Browse Popular Code Answers by Language