You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We hope that by adapting the HDWallet provider, users can use HDWallet locally by modifying truffle-config.js. In this way, developers can sign locally through HDWallet when deploying the contract and send it to the blockchain network to implement the deployment of the contract.
Here is a configuration example of the network part of the configuration file:
We hope that by adapting the HDWallet provider, users can use HDWallet locally by modifying truffle-config.js. In this way, developers can sign locally through HDWallet when deploying the contract and send it to the blockchain network to implement the deployment of the contract.
Here is a configuration example of the network part of the configuration file:
const mnemonic = "scrub quality dune window title attitude merry fuel expire flock hungry kidney"
networks: {
development :{
provider: function () {
return new HDWalletProvider(mnemonic,'http://47.241.91.2:6789')
},
network_id: "*",
},
}
The text was updated successfully, but these errors were encountered: