Smart contracts for the Besu permissioning system
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
permissioning-smart-contracts/truffle-config.js

36 lines
784 B

6 years ago
const HDWalletProvider = require('truffle-hdwallet-provider');
/* The adress used when sending transactions to the node */
var address = "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73";
/* The private key associated with the address above */
var privateKey = "8f2a55949038a9610f50fb23b5883af3b4ecb3c3bb792cbcefbd1542c692be63";
6 years ago
module.exports = {
6 years ago
networks: {
development: {
provider: () => new HDWalletProvider(privateKey, "http://127.0.0.1:8545"),
host: "127.0.0.1",
port: 8545,
network_id: "*",
from: address
},
ganache: {
host: '127.0.0.1',
port: 7545,
network_id: '*',
},
6 years ago
},
compilers: {
solc: {
settings: {
optimizer: {
enabled: false,
runs: 200
},
}
}
}
6 years ago
};