-
Notifications
You must be signed in to change notification settings - Fork 311
fix: migrate subdomains to wallet key address #1226
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
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/blockstack/stacks-js/HmqgQoY7Q6r5e4v1VWxR9n18kq2s |
@ahsan-javaid is this ready for testing? cc @pradel |
Update:
However mock testing can be done on this PR
This will trigger the subdomain migration flow but actually subdomain will not be migrated as the actual migration url needs to be added. I will provide the final update next week once its fully ready to test. cc: @asimm241 |
a8e8338
to
2c023c8
Compare
Codecov Report
@@ Coverage Diff @@
## master #1226 +/- ##
==========================================
+ Coverage 64.78% 65.06% +0.27%
==========================================
Files 126 126
Lines 8753 8834 +81
Branches 1882 1895 +13
==========================================
+ Hits 5671 5748 +77
- Misses 2956 2960 +4
Partials 126 126
|
2c023c8
to
0962077
Compare
@ahsan-javaid Is this ready to test by chance? And mind providing a link to the API work on the registrar? |
@markmhx It will be ready by the end of this week. |
I'll open up a PR today or tomorrow for the API registrar section. |
0962077
to
1d17a97
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@ahsan-javaid @asimm241 Any updates on this work? I've heard from @pradel that his users are now waiting eagerly for this functionality 🙏 |
@markmhx This PR is ready, the corresponding PR in the registrar will probably be created today OR tomorrow. Then It can be tested. The unite tests will be added later. :) |
1d17a97
to
49765da
Compare
Corresponding PR in registrar stacks-archive/subdomain-registrar#88 |
49765da
to
7fac749
Compare
7fac749
to
ea18697
Compare
@janniks this function will allow legacy users to migrate their usernames to the Hiro wallet. But what about transferring subdomains for Hiro wallet users, should stacks.js export a function that does this? |
b0822fa
to
242c8bb
Compare
242c8bb
to
7bfb84e
Compare
Would like to see a detailed markdown of exactly the issue being solved. I am a little confused. 👍 |
That's a good point. I think they should be separate command though. For example, I would keep |
👍 I can add some more detail to the command descriptions. In short, the old Blockstack connect username where owned by a different derivation path of (data private key) of wallets, rather than the wallet key, which the web wallet uses now to own usernames. This command will migrate the address from the old to the current. |
Seems like a good approach 👍 |
aa39668
to
1ea90ee
Compare
1ea90ee
to
2b0857b
Compare
2b0857b
to
63c4083
Compare
@janniks wondering what is missing for this one (and the subdomain pr) to go live, our users are eagerly waiting 🤓 |
@zone117x : We are awaiting your review, can you take a peek please? |
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.
The code and tests look good. But I haven't tested this out myself. If the folks testing this change are happy then LGTM.
✅ Ran final tests, we're just waiting for stacks-archive/subdomain-registrar#88 to be merged (I don't have access), then we can merge this PR. |
📦 Released under |
Description
Add command in cli to enable users to transfer subdomains to wallet-key addresses that correspond to all data-key addresses
Example: Running the command
For details refer to issue #1209
Type of Change
Does this introduce a breaking change?
No
Are documentation updates required?
No
Testing information
Provide context on how tests should be performed.
cd packages/cli
npm run build
./bin.js migrate_subdomains "sound idle panel often situate develop unit text design antenna vendor screen opinion balcony share trigger accuse scatter visa uniform brass update opinion media"
Checklist
npm run test
passes