This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var HDWalletProvider = require("truffle-hdwallet-provider"); | |
var mnemonic = process.env.MNEMONIC; | |
var infuraAccessToken = process.env.INFURA_ACCESS_TOKEN; | |
module.exports = { | |
networks: { | |
// テストネット用デプロイ設定 | |
ropsten: { | |
provider: function() { | |
return new HDWalletProvider( | |
mnemonic, | |
"https://ropsten.infura.io/" + infuraAccessToken | |
); | |
}, | |
network_id: 3, | |
gas: 4000000, | |
gasPrice: 10000000000 // 10 Gwei | |
} | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment