Skip to content

Commit 65da185

Browse files
committed
update boilerplate and demo configs
1 parent 15d6a56 commit 65da185

File tree

8 files changed

+46
-6
lines changed

8 files changed

+46
-6
lines changed

boilerplate/config/blockchain.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"rpcCorsDomain": "http://localhost:8000",
1313
"account": {
1414
"password": "config/development/password"
15-
}
15+
},
16+
"wsOrigins": "http://localhost:8000"
1617
},
1718
"testnet": {
1819
"enabled": true,

boilerplate/config/communication.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
"default": {
33
"enabled": true,
44
"provider": "whisper",
5-
"available_providers": ["whisper", "orbit"]
5+
"available_providers": ["whisper", "orbit"],
6+
"connection": {
7+
"host": "localhost",
8+
"port": 8546,
9+
"type": "ws"
10+
}
611
}
712
}

boilerplate/config/contracts.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
{
22
"default": {
3+
"versions": {
4+
"web3.js": "1.0.0-beta",
5+
"solc": "0.4.18"
6+
},
7+
"deployment": {
8+
"host": "localhost",
9+
"port": 8545,
10+
"type": "rpc"
11+
},
12+
"dappConnection": [
13+
"$WEB3",
14+
"http://localhost:8545"
15+
],
316
"gas": "auto",
417
"contracts": {
518
}

boilerplate/config/storage.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"enabled": true,
1212
"provider": "ipfs",
1313
"host": "localhost",
14-
"port": 5001
14+
"port": 5001,
15+
"getUrl": "http://localhost:8080/ipfs/"
1516
}
1617
}

demo/config/blockchain.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"rpcCorsDomain": "http://localhost:8000",
1313
"account": {
1414
"password": "config/development/password"
15-
}
15+
},
16+
"wsOrigins": "http://localhost:8000"
1617
},
1718
"testnet": {
1819
"enabled": true,

demo/config/communication.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
"default": {
33
"enabled": true,
44
"provider": "whisper",
5-
"available_providers": ["whisper", "orbit"]
5+
"available_providers": ["whisper", "orbit"],
6+
"connection": {
7+
"host": "localhost",
8+
"port": 8546,
9+
"type": "ws"
10+
}
611
}
712
}

demo/config/contracts.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
{
22
"default": {
3+
"versions": {
4+
"web3.js": "1.0.0-beta",
5+
"solc": "0.4.18"
6+
},
7+
"deployment": {
8+
"host": "localhost",
9+
"port": 8545,
10+
"type": "rpc"
11+
},
12+
"dappConnection": [
13+
"$WEB3",
14+
"http://localhost:8545"
15+
],
316
"gas": "auto",
417
"contracts": {
518
"SimpleStorage": {

demo/config/storage.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"enabled": true,
1212
"provider": "ipfs",
1313
"host": "localhost",
14-
"port": 5001
14+
"port": 5001,
15+
"getUrl": "http://localhost:8080/ipfs/"
1516
}
1617
}

0 commit comments

Comments
 (0)