Created
March 12, 2018 00:04
-
-
Save hm0429/c3b916ae403bfdf39d4f0043425b847d to your computer and use it in GitHub Desktop.
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