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

proposal: Minty in the browser as a decentralized web app #92

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yusefnapora
Copy link
Contributor

This adds a proposal to port Minty from a node.js command line app to something that can run completely in the browser, using js-ipfs and an ethereum wallet extension like MetaMask.

I'm not 100% convinced we should start working on this yet, but I wanted to write up the path while Minty is fresh in my head.

- We want to encourage d-app devs to use js-ipfs directly in their d-apps, as opposed to using an HTTP api from Pinata, nft.storage, etc
- This seems like a good thing to encourage, but it also raises the bar for adoption a bit, since js-ipfs is a heavier dependency than an HTTP client and may require learning new concepts, etc.

- D-app devs are willing to use a remote pinning service for persistence
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how different is the experience for a dapp creator if they use a remote backend server (a la infura) or a remote pinning service (a la pinata)? I guess the difference is using an HTTP API vs using IPFS directly to parse/upload the file client side?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think it's a huge difference, since you'll probably want to use a pinning service either way.

If you were running a backend server, you could potentially pin your data to your own IPFS nodes instead of using a pinning service, as long as those nodes are well-connected and up all the time. But since browser nodes can't really be up all the time, it seems like the pinning service is closer to "required" than "recommended".

There's probably a way to do it without a pinning service that I'm not thinking of though... hopefully someone will think of it :)

@mikeal mikeal added the Nitro NFT Free for All label Mar 30, 2021
@mikeal mikeal added confidence:low Confidence rating is 5 or below. ease:low Ease rating is 5 or below. labels Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confidence:low Confidence rating is 5 or below. ease:low Ease rating is 5 or below. Nitro NFT Free for All
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants