embark/test_dapps/packages/test_app/config/storage.json

40 lines
868 B
JSON

{
"default": {
"enabled": true,
"ipfs_bin": "ipfs",
"available_providers": ["ipfs", "swarm"],
"upload": {
"provider": "ipfs",
"host": "localhost",
"port": 5001
},
"dappConnection": [
"$BZZ",
{"provider": "swarm", "host": "localhost", "port": 8500, "getUrl": "http://localhost:8500/bzzr:/"},
{"provider": "ipfs", "host": "localhost", "port": 5001, "getUrl": "http://localhost:8080/ipfs/"}
]
},
"development": {
"enabled": true,
"upload": {
"provider": "swarm",
"host": "localhost",
"port": 8500,
"getUrl": "http://localhost:8500/bzzr:/"
}
},
"livenet": {
"enabled": true,
"upload":{
"provider": "ipfs",
"host": "ipfs.infura.io",
"protocol": "https",
"port": false,
"getUrl": "https://ipfs.infura.io/ipfs/"
}
}
}