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:
+15
-1
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user