Add IPFS service

Add the `ipfs-api` JS library and a service using the browserified
version of it. The service has functions for storing and reading file
contests.
This commit is contained in:
2017-02-17 18:20:46 +08:00
parent 2a9f9a50c4
commit be568840db
5 changed files with 55 additions and 3 deletions
+6 -1
View File
@@ -22,7 +22,12 @@ module.exports = function(environment) {
},
web3ProviderUrl: "https://parity.kosmos.org:8545",
ethereumChain: "testnet"
ethereumChain: "testnet",
ipfs: {
host: 'localhost',
port: '5001',
protocol: 'http'
}
};
if (environment === 'development') {