📜  来自智能合约的调用集函数 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:17.852000             🧑  作者: Mango

代码示例1
}
    async function updateAppName() {
        let upName = "Updated"
        test.current.methods.setAppName(upName).send({ from: accounts[0] }).on('transactionHash', (hash) => {
            alert('updated')
        })
    }