Skip to content

Instantly share code, notes, and snippets.

@yurenju
Created March 18, 2020 23:59
Show Gist options
  • Save yurenju/2a4ff579a9f4bfe6c3193609a8a1d6f3 to your computer and use it in GitHub Desktop.
Save yurenju/2a4ff579a9f4bfe6c3193609a8a1d6f3 to your computer and use it in GitHub Desktop.
ropsten: {
provider: () =>
new HDWalletProvider(
process.env["MNEMONIC"],
`https://ropsten.infura.io/v3/939fb730f6cd4449aeb9f101cca7277e`
),
network_id: 3, // Ropsten's id
gas: 5500000, // Ropsten has a lower block limit than mainnet
confirmations: 2, // # of confs to wait between deployments. (default: 0)
timeoutBlocks: 200, // # of blocks before a deployment times out (minimum/default: 50)
skipDryRun: true // Skip dry run before migrations? (default: false for public nets )
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment