@newos/cli
Version:
Command-line interface for the NewOS
39 lines (37 loc) • 881 B
JavaScript
const HDWalletProvider = require("newtruffle-hdwallet-provider");
module.exports = {
networks: {
local: {
protocol: 'http',
host: 'localhost',
port: 8545,
gas: 5000000,
gasPrice: 5e9,
networkId: '*',
},
/*
devnet: {
provider: function() {
return new HDWalletProvider("mnemonic...", 'https://devnet.newchain.cloud.diynova.com', "devnet")
},
network_id: "1002"
},
*/
/*
testnet: {
provider: function() {
return new HDWalletProvider("mnemonic...", 'https://rpc1.newchain.newtonproject.org', "testnet")
},
network_id: "1007"
},
*/
/*
mainnet: {
provider: function() {
return new HDWalletProvider("mnemonic...", 'https://global.rpc.mainnet.newtonproject.org', "mainnet")
},
network_id: "1012"
},
*/
},
};