Add IPFS service (#4)

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 was merged in pull request #4.
This commit is contained in:
2017-02-18 09:48:26 +00:00
committed by GitHub
parent 2a9f9a50c4
commit 26cebc11c6
5 changed files with 65 additions and 3 deletions
+15 -1
View File
@@ -21,8 +21,22 @@ module.exports = function(environment) {
// when it is created
},
browserify: {
transform: [
["babelify", {
presets: ["es2015"],
global: true
}]
]
},
web3ProviderUrl: "https://parity.kosmos.org:8545",
ethereumChain: "testnet"
ethereumChain: "testnet",
ipfs: {
host: 'localhost',
port: '5001',
protocol: 'http'
}
};
if (environment === 'development') {