Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create re-frame IPFS effects library #3

Open
madvas opened this issue Feb 21, 2018 · 0 comments
Open

Create re-frame IPFS effects library #3

madvas opened this issue Feb 21, 2018 · 0 comments
Assignees

Comments

@madvas
Copy link
Contributor

madvas commented Feb 21, 2018

After #2 is done, create re-frame effects for working with js-ipfs-api, similar to re-frame-web3-fx.
Let's call it re-frame-ipfs-fx.

We'll need effects only for files part of the library.

For example effect for ipfs.files.add might look like:

(reg-event-fx
    ::my-event
    (fn []
      {:ipfs.files/add {:files files
                        :options options
                        :on-success [::on-success]
                        :on-error [::on-error]}}))

This lib should be fully documented in repo's README.
This lib should be fully tested, with tests runnable with travis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants