Skip to content

Instantly share code, notes, and snippets.

@Shih-Yu
Created January 10, 2022 22:30
Show Gist options
  • Save Shih-Yu/fefc599d2b9576f01d47034510e9db64 to your computer and use it in GitHub Desktop.
Save Shih-Yu/fefc599d2b9576f01d47034510e9db64 to your computer and use it in GitHub Desktop.
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