Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support HDWallet provider #1

Open
Vivi728 opened this issue Aug 19, 2021 · 1 comment
Open

Support HDWallet provider #1

Vivi728 opened this issue Aug 19, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Vivi728
Copy link

Vivi728 commented Aug 19, 2021

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: "*",
},
}

@biganxin
Copy link

@fksyuan

@biganxin biganxin added enhancement New feature or request help wanted Extra attention is needed labels Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants