# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# build for production and launch server
$ yarn build
$ yarn start
# generate static project
$ yarn generate
- 网址:https://www.trufflesuite.com/ganache
- 安装:双击安装即可
- 参考文档:https://blog.csdn.net/wumingzhifu/article/details/106329147
const contract = new this.web3Instance.eth.Contract(Abi, contractAddress)
const from = this.web3.account
const contractRes = await contract.methods.store(10).send({ from })