Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wpuricz/ipfs-eos-demo

Demo saving text and images to ipfs and storing the hash on the EOS blockchain
https://github.com/wpuricz/ipfs-eos-demo

blockchain dapp eos eosjs ipfs-api vue

Last synced: 7 days ago
JSON representation

Demo saving text and images to ipfs and storing the hash on the EOS blockchain

Awesome Lists containing this project

README

        

#### IPFS EOS Demo

This is a Vue.js example using IPFS to store images and text then storing the hash from IPFS as a string on the EOS blockchain.

This example shows:
- Saving text to IPFS, then storing the hash returned by IPFS on the EOS blockchain
- Saving an image to IPFS, then storing the hash returned by IPFS on the EOS blockchain
- fetching the hash from the EOS blockchain, then querying IPFS for the image or text

IPFS Example

### Config

Create a file called secrets.js and add it to the config directory. Paste this into the file and add your actual endpoint and keys for the app:

```
module.exports = {
endpoint: "http://x.x.x.x:8888",
keys: [
'keygoeshere,
'keygoeshere',
]
};
```

Start using:

npm run dev