Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/wpuricz/ipfs-eos-demo
- Owner: wpuricz
- Created: 2018-06-07T20:06:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-20T19:52:51.000Z (over 6 years ago)
- Last Synced: 2024-10-29T14:19:21.100Z (15 days ago)
- Topics: blockchain, dapp, eos, eosjs, ipfs-api, vue
- Language: JavaScript
- Homepage:
- Size: 334 KB
- Stars: 42
- Watchers: 7
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-eosio - ipfs-eos-demo - Demo saving text and images to ipfs and storing the hash on the EOSIO blockchain. (Developers / Code examples)
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### 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