-
Notifications
You must be signed in to change notification settings - Fork 738
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: add starknet.id getters #400
feat: add starknet.id getters #400
Conversation
✅ Deploy Preview for starknetjs canceled.
|
@0xBenaparte left a couple of cosmetic comments, plus please add the changes in documentation! :) Other than those I have nothing else, maybe someone else can comment the fact that the logic is inside the Account @tabaktoni @dhruvkelawala |
I don't think so |
@janek26 @dhruvkelawala seems that Ethers.js has support for ENS |
I'm with Dhruv on this one. I dont think it should be part of starknet.js for now. In any case I would avoid to change the Provider/Account interface |
What do you think about some compromise, like Ethers has a separate Btw I'm sorry this discussion is happening now when the work by @0xBenaparte is already done |
I think it would be easier for all starknet developers if it is (Loaf from Realms, @fracek, and Astraly directly asked us to do it). If ENS enter starknet (starknet.id gonna make a bridge in the future for it) there is still no problem cause you can access them through another hook ( To avoid confusion, I could not place it in the account class but more as a util that can be accessed through starknet.js (cause at the end of the day considering the popularity of starknet.id right now, it'll be util for a lot of devs). Tell me what you think. |
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.
Yep, much happier! Thanks
It is going to be used to allow the usage of non Latin characters but the alphabet extension has not yet be decided. More info about encoding here ==> https://docs.starknet.id/for-devs/encoding-algorithm |
I made all the changes, tell me what you think, @janek26. Thanks a lot ! |
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.
looks good! one minor thing which should be done before merge
🎉 This PR is included in version 4.15.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
close #382
I needed to use some of our code as utils (because of our encoding algorithm), so I created my own utils file (these functions will only be used for starknet id so it makes sense to create our own file).
I tried to be as clean as possible and everything works smoothly. Tell me what you think.