From 65da185c4629eaf6bd55cdb53a5229e482f4d69b Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 21 Oct 2017 15:28:59 -0400 Subject: [PATCH] update boilerplate and demo configs --- boilerplate/config/blockchain.json | 3 ++- boilerplate/config/communication.json | 7 ++++++- boilerplate/config/contracts.json | 13 +++++++++++++ boilerplate/config/storage.json | 3 ++- demo/config/blockchain.json | 3 ++- demo/config/communication.json | 7 ++++++- demo/config/contracts.json | 13 +++++++++++++ demo/config/storage.json | 3 ++- 8 files changed, 46 insertions(+), 6 deletions(-) diff --git a/boilerplate/config/blockchain.json b/boilerplate/config/blockchain.json index 3453a87d7..26c14fcce 100644 --- a/boilerplate/config/blockchain.json +++ b/boilerplate/config/blockchain.json @@ -12,7 +12,8 @@ "rpcCorsDomain": "http://localhost:8000", "account": { "password": "config/development/password" - } + }, + "wsOrigins": "http://localhost:8000" }, "testnet": { "enabled": true, diff --git a/boilerplate/config/communication.json b/boilerplate/config/communication.json index 07c7851aa..80ec2f80e 100644 --- a/boilerplate/config/communication.json +++ b/boilerplate/config/communication.json @@ -2,6 +2,11 @@ "default": { "enabled": true, "provider": "whisper", - "available_providers": ["whisper", "orbit"] + "available_providers": ["whisper", "orbit"], + "connection": { + "host": "localhost", + "port": 8546, + "type": "ws" + } } } diff --git a/boilerplate/config/contracts.json b/boilerplate/config/contracts.json index f9bbf576f..f365b2137 100644 --- a/boilerplate/config/contracts.json +++ b/boilerplate/config/contracts.json @@ -1,5 +1,18 @@ { "default": { + "versions": { + "web3.js": "1.0.0-beta", + "solc": "0.4.18" + }, + "deployment": { + "host": "localhost", + "port": 8545, + "type": "rpc" + }, + "dappConnection": [ + "$WEB3", + "http://localhost:8545" + ], "gas": "auto", "contracts": { } diff --git a/boilerplate/config/storage.json b/boilerplate/config/storage.json index f9516470b..f1041e849 100644 --- a/boilerplate/config/storage.json +++ b/boilerplate/config/storage.json @@ -11,6 +11,7 @@ "enabled": true, "provider": "ipfs", "host": "localhost", - "port": 5001 + "port": 5001, + "getUrl": "http://localhost:8080/ipfs/" } } diff --git a/demo/config/blockchain.json b/demo/config/blockchain.json index 0bc6ca2cc..18888bd89 100644 --- a/demo/config/blockchain.json +++ b/demo/config/blockchain.json @@ -12,7 +12,8 @@ "rpcCorsDomain": "http://localhost:8000", "account": { "password": "config/development/password" - } + }, + "wsOrigins": "http://localhost:8000" }, "testnet": { "enabled": true, diff --git a/demo/config/communication.json b/demo/config/communication.json index 07c7851aa..80ec2f80e 100644 --- a/demo/config/communication.json +++ b/demo/config/communication.json @@ -2,6 +2,11 @@ "default": { "enabled": true, "provider": "whisper", - "available_providers": ["whisper", "orbit"] + "available_providers": ["whisper", "orbit"], + "connection": { + "host": "localhost", + "port": 8546, + "type": "ws" + } } } diff --git a/demo/config/contracts.json b/demo/config/contracts.json index b899cb0f1..41fa45739 100644 --- a/demo/config/contracts.json +++ b/demo/config/contracts.json @@ -1,5 +1,18 @@ { "default": { + "versions": { + "web3.js": "1.0.0-beta", + "solc": "0.4.18" + }, + "deployment": { + "host": "localhost", + "port": 8545, + "type": "rpc" + }, + "dappConnection": [ + "$WEB3", + "http://localhost:8545" + ], "gas": "auto", "contracts": { "SimpleStorage": { diff --git a/demo/config/storage.json b/demo/config/storage.json index f9516470b..f1041e849 100644 --- a/demo/config/storage.json +++ b/demo/config/storage.json @@ -11,6 +11,7 @@ "enabled": true, "provider": "ipfs", "host": "localhost", - "port": 5001 + "port": 5001, + "getUrl": "http://localhost:8080/ipfs/" } }