Deploying a Contract
Hardhat Deployment
Truffle Deployment
require('dotenv').config();
const HDWalletProvider = require('truffle-hdwallet-provider');
module.exports = {
// See <http://truffleframework.com/docs/advanced/configuration>
// for more about customizing your Truffle configuration!
networks: {
abogida: {
provider: function() {
return new HDWalletProvider(
process.env.MNEMONIC,
"https://rpc.abogida.network")
},
network_id: 100,
gas: 500000,
gasPrice: 1000000000
},
development: {
host: "127.0.0.1",
port: 8545,
network_id: "*" // Match any network id
}
}
};Last updated