Skip to content

Instantly share code, notes, and snippets.

@hm0429 hm0429/truffle.js
Created Mar 12, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.