Skip to content

Instantly share code, notes, and snippets.

@jcbombardelli
Created May 24, 2020 20:51
Show Gist options
  • Select an option

  • Save jcbombardelli/3f6d1c1a68ce6763e60719cd160cee02 to your computer and use it in GitHub Desktop.

Select an option

Save jcbombardelli/3f6d1c1a68ce6763e60719cd160cee02 to your computer and use it in GitHub Desktop.
const PrivateKeyProvider = require('@truffle/hdwallet-provider');
const privateKeys = [
"c87509a1c067bbde78beb793e6fa76530b6382a4c0241e5e4a9ec0a0f44dc0d3"
]
module.exports = {
networks: {
besu: {
gas: 4700000,
gasPrice: 0,
provider: () => new PrivateKeyProvider(privateKeys, 'http://127.0.0.1:8545', 0, 10),
network_id: '*',
}
},
compilers: {
solc: {
version: "0.4.24",
docker: false,
settings: {
optimizer: {
enabled: true,
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment