Created
January 10, 2022 22:30
-
-
Save Shih-Yu/fefc599d2b9576f01d47034510e9db64 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
require("dotenv").config(); | |
const HDWalletProvider = require('@truffle/hdwallet-provider'); | |
module.exports = { | |
networks: { | |
cronosTestnet: { | |
provider: () => new HDWalletProvider(process.env.PRIVATE_KEY, `https://cronos-testnet-3.crypto.org:8545`), | |
network_id: "*", // Cronos's testnet id | |
skipDryRun: true | |
}, | |
}, | |
// Set default mocha options here, use special reporters etc. | |
mocha: { | |
// timeout: 100000 | |
}, | |
// Configure your compilers | |
compilers: { | |
solc: { | |
version: "*", // Fetch exact version from solc-bin (default: truffle's version) | |
} | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment