Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Aave FlashLoan.sol sample for Ropsten network truffle.js
var HDWalletProvider = require("truffle-hdwallet-provider");
var mnemonic = "mnemonic"
var ropsten = "https://ropsten.infura.io/v3/xxxxxxxxxxxx"
module.exports = {
networks: {
ropsten: {
provider: function() {
return new HDWalletProvider(
mnemonic,
ropsten
);
},
network_id: 3,
from: "0",
gas: 470000
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment