Skip to content

LanguageNetwork/poc-ipfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Proof of Concept for IPFS with Smart contract

Setup

As for any js-ipfs-api example, you need a running IPFS daemon, you learn how to do that here:

Note: If you load your app from a different domain than the one the daemon is running (most probably), you will need to set up CORS, see https://github.com/ipfs/js-ipfs-api#cors to learn how to do that.

A quick (and dirty way to get it done) is:

> ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin "[\"*\"]"
> ipfs config --json API.HTTPHeaders.Access-Control-Allow-Credentials "[\"true\"]"

Run this example

Once the daemon is on, run the following commands within this folder:

> cd dapp
> npm install
> npm start

Now open your browser at http://localhost:8888

imag

Check Contract Transactions

About

πŸ”—β›“ Proof of Concept for IPFS with Smart contract

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published