-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
feat: make chain list extendable #59
feat: make chain list extendable #59
Conversation
✅ Deploy Preview for vue-dapp ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for vue-dapp-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
It looks good, seems that you just remain |
It's just a suggestion, maybe this plugin shouldn't take the responsibility of managing the networks, also because there are too many and on each project they will be different. But also the information, per chain that devs needs will be different for their needs. So you can let users to just input their networks/chains and don't deal with that. |
Make sense, I like this extendable feature, but I prefer to remain |
@re2005 Hey, I changed my mind. Just remaining |
Yes, this makes sense. I can help with the docs if @re2005 can't. The best would be to have a It makes sense to have Ethereum and its testnets (Goerli) added by default in the plugin (because they use |
Something other lib do provide a list of most common chains. So you can import everything or just the ones you need. Check: it's all in there. |
c9196f3
to
685b655
Compare
Hey @chnejohnson So finally i'm running on a valid/good use case. My application supports some networks that are not "inside" Check: This Pr will also fix that allowing the extension of the network list. I've added some documentation as well. (@tempe-techie please help out if you think documentation needs more details) Please review and let's merge it. |
dab4cf1
to
ecf088a
Compare
Looks good! Thanks! 🎉 🤘 😎 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @re2005, thanks for your good work!
I reviewed the code and found a few bugs (probably made by my hand), but it's fine to fix it later. The main problem is that you have to drop the last commit:d74597
( Merge branch main...) and run git rebase -i main
on commit:ecf088
and fix a simple conflict. So it will be more clear in the git history.
In addition to what's mentioned above, it looks good to me 👍
121a839
to
ccacec6
Compare
@chnejohnson Thanks for the review 🙏 I hope It's all fixed now. |
ccacec6
to
34e3802
Compare
Update Board.vue Update useEthers.ts Update chainId.ts Update App.vue chore: extendable networks option chore: update docs Update index.md Update README.md fix: url and symbol Update README.md Update index.md
34e3802
to
d9e47c9
Compare
@re2005 Perfect! |
The available network list is essential on every application, but they are so many, so better reduce it to a few and let the user extend it as it needs.
Please share ideas here.