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
+2
View File
@@ -7,6 +7,8 @@ import kreditsContracts from 'npm:kredits-contracts';
export default Ember.Service.extend({
ipfs: Ember.inject.service(),
web3Instance: null,
web3Provided: false, // Web3 provided (using Mist Browser, Metamask et al.)