Closed franckc closed 6 years ago
Ah interesting. Yes, this npm package does not implement a lot: https://github.com/nosuchip/truffle-privatekey-provider/blob/master/index.js#L9
Though still it seems convenient to not rewrite that code ?
Agreed, .good not to rewrite that code, and it gives us similar interface as truffle-hdwallet-provider
.
There's of course always a risk in having another dependency, but I feel good on this one.
First pull request? Read our guide to contributing
Checklist:
Description:
Added support for private key provider to the truffle config. This will allow us to use a throwaway hot wallet for doing contracts deployment, by setting the PRIVATE_KEY env variable before running the truffle migrate command.