Skip to content

Instantly share code, notes, and snippets.

@bogdan
Created January 2, 2024 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bogdan/5cf345cf6b5351c91c34492f597ad41e to your computer and use it in GitHub Desktop.
Save bogdan/5cf345cf6b5351c91c34492f597ad41e to your computer and use it in GitHub Desktop.
Recover your ZNS domains.
UI File: Zilliqa.json
Frontend: => zilliqa address
Backend: Get all domains where logical owner is zilliqa address
UI: Display all domains (no pagination needed)
UI: Confirm Recover All?
UI: Choose ETH wallet
Frontend: POST Create action: public key, new ETH owner address
Frontend: `new ethers.Wallet(zilPrivateKey)`
https://github.com/unstoppabledomains/uns/blob/d0d8a7196779de3f4709d93e62d3009fa726a348/test/custody/ZilliqaRecover.test.ts#L47
Frontend: Sign action and POST signature
UI: Track progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment