Skip to content

Commit

Permalink
Create truffle-config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Jul 29, 2024
1 parent c378a18 commit 54d27f1
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions blockchain_integration/pi_network/truffle-config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
module.exports = {
networks: {
development: {
host: "localhost",
port: 8545,
network_id: "*",
gas: 5000000,
gasPrice: 20000000000
},
testnet: {
host: "testnet.pi.network",
port: 8545,
network_id: "testnet",
gas: 5000000,
gasPrice: 20000000000
},
mainnet: {
host: "mainnet.pi.network",
port: 8545,
network_id: "mainnet",
gas: 5000000,
gasPrice: 20000000000
}
},
compilers: {
solc: {
version: "0.8.0",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
}
}
};

0 comments on commit 54d27f1

Please sign in to comment.