Skip to content

Instantly share code, notes, and snippets.

@yuyasugano
Created September 23, 2020 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuyasugano/eb17746a237db7ecfaaa3f8758107051 to your computer and use it in GitHub Desktop.
Save yuyasugano/eb17746a237db7ecfaaa3f8758107051 to your computer and use it in GitHub Desktop.
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