Skip to content

Instantly share code, notes, and snippets.

@Freyert
Created August 7, 2018 14:41
Show Gist options
  • Save Freyert/8bffcb4ba84d539be820ef3d703e6cb9 to your computer and use it in GitHub Desktop.
Save Freyert/8bffcb4ba84d539be820ef3d703e6cb9 to your computer and use it in GitHub Desktop.
Truffle with Kaleido
const Web3 = require('web3');
module.exports = {
networks: {
geth: {
provider: function () {
return new Web3.providers.HttpProvider('https://USERNAME:PASSWORD@HTTP_RPC_ENDPOINT')
},
network_id: '*',
gasPrice: 0
},
quorum: {
provider: function() {
return new Web3.providers.HttpProvider('https://USERNAME:PASSWORD@HTTP_RPC_ENDPOINT')
},
network_id: '*',
gasPrice: 0
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment