diff --git a/config/blockchain.js b/config/blockchain.js index af0808f..b8e2100 100644 --- a/config/blockchain.js +++ b/config/blockchain.js @@ -29,6 +29,7 @@ module.exports = { }, testnet: { enabled: true, + proxy: false, networkType: "testnet", syncMode: "light", rpcHost: "localhost", @@ -40,6 +41,7 @@ module.exports = { }, livenet: { enabled: true, + proxy: false, networkType: "livenet", syncMode: "light", rpcHost: "localhost", diff --git a/config/contracts.js b/config/contracts.js index 9545466..47ee138 100644 --- a/config/contracts.js +++ b/config/contracts.js @@ -45,5 +45,27 @@ module.exports = { "args": ["$SpaceshipToken"] } } + }, + + testnet: { + deployment:{ + "accounts": [ + { + "privateKey": "..............." + }, + ], + host: "ropsten.infura.io/...............", + port: false, + protocol: 'https', // <=== must be specified for infura, can also be http, or ws + type: "rpc" + }, + contracts: { + "SpaceshipToken": { + address: "0x79Dc5C2B0b607702f977265595eF33efe68974A6" + }, + "SpaceshipMarketplace": { + address: "0xD6B7b28F61BCbE8f044095029FCD3745bea68F4d" + } + } } }; diff --git a/config/storage.js b/config/storage.js index da9dab0..cd7d066 100644 --- a/config/storage.js +++ b/config/storage.js @@ -31,5 +31,18 @@ module.exports = { port: 5001, getUrl: "http://localhost:8080/ipfs/" } + }, + testnet: { + enabled: true, + provider: "ipfs", + dappConnection: [ + { + provider: "ipfs", + host: "ipfs.infura.io", + port: 5001, + protocol: "http", + getUrl: "http://ipfs.infura.io/ipfs/" + } + ] } };