Skip to content

feat: implement useInvisibleWallet React hook for WebAuthn-powered … - #18

Merged
Miracle656 merged 1 commit into
Miracle656:mainfrom
jotel-dev:main
Mar 25, 2026
Merged

feat: implement useInvisibleWallet React hook for WebAuthn-powered …#18
Miracle656 merged 1 commit into
Miracle656:mainfrom
jotel-dev:main

Conversation

@jotel-dev

@jotel-dev jotel-dev commented Mar 25, 2026

Copy link
Copy Markdown
Contributor

Closes #10


The useInvisibleWallet hook has been updated to verify wallet deployment upon login, rather than merely retrieving the contract address locally.

What was implemented
Added isDeployed state tracking across the lifecycle (login, deploy).
Updated
login()
to actively fetch the contract ledger entry leveraging server.getContractData().
When the contract does not exist yet (i.e. 'not found' error),
login
skips restoring the address, and sets a contextual "Wallet not yet deployed" error.
isDeployed correctly reflects the wallet's on-chain readiness, and is exposed on the returned
InvisibleWallet
interface.
Documented JSDoc for isDeployed and
login
methods tracking these new behaviors.

@vercel

vercel Bot commented Mar 25, 2026

Copy link
Copy Markdown

@jotelfootball-tech is attempting to deploy a commit to the miracle656's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Mar 25, 2026

Copy link
Copy Markdown

@jotelfootball-tech Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Miracle656
Miracle656 merged commit 223224e into Miracle656:main Mar 25, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(sdk): upgrade login() to verify wallet deployment on-chain before restoring session

2 participants