Skip to content

Instantly share code, notes, and snippets.

@artiya4u
Last active March 3, 2018 09:15
Show Gist options
  • Save artiya4u/0ede2fcc17752d2811be5799d98e9bc9 to your computer and use it in GitHub Desktop.
Save artiya4u/0ede2fcc17752d2811be5799d98e9bc9 to your computer and use it in GitHub Desktop.
module.exports = {
networks: {
development: {
host: "127.0.0.1",
port: 8545,
network_id: "*" // match any network
},
live: {
host: "88.88.88.88", // Random IP for example purposes (do not use)
port: 80,
network_id: 1, // Ethereum public network
// optional config values:
// gas
// gasPrice
// from - default address to use for any transaction Truffle makes during migrations
// provider - web3 provider instance Truffle should use to talk to the Ethereum network.
// - function that returns a web3 provider instance (see below.)
// - if specified, host and port are ignored.
},
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment