You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added JAW (@jaw.id/core) as a wallet provider alongside ZeroDev, set as the new default. Same IWalletProvider
interface passkey-based smart accounts on Arbitrum Sepolia.
Setup
pnpm install
In packages/app/.env, set VITE_JAW_API_KEY= your-api-key
Optional: VITE_JAW_PAYMASTER_URL.
In packages/app/src/hooks/use-auth.ts , set as new DEFAULT_PROVIDER = 'jaw'
pnpm dev:app
Test plan
Register — click Register, enter username, accept passkey create prompt → lands on /dashboard with smart account
address shown.
Login — log out, click Login, pick the passkey from the OS picker → same address as before.
Refresh — while logged in, refresh tab. No prompt; goes straight to /dashboard (JAW caches session).
Hey, thanks for the contribution! A few small things:
There's a drift between hooks/use-auth.ts ('zerodev') and stores/wallet-store.ts ('jaw') — could we keep them in sync? Ideally as a single shared constant so they can't diverge again.
On our side we'd like to keep ZeroDev as the default provider — it's a hard dependency for us due to existing technical agreements and some upcoming plans on that integration. JAW is a great addition as an alternative, but let's land it without flipping the default. 🙏
Could we also pin @jaw.id/core to a concrete version (e.g. ^0.2.5) instead of "latest"? With "latest", any lockfile regeneration (merge conflict, fresh clone, CI cache miss) pulls whatever's currently published, so builds stop being reproducible across builders forking this starter. And since the SDK is still on 0.x, a breaking change can land in a minor release and silently break things without any code change on our side.
Could you adjust the defaults to 'zerodev' and pin the version? Happy to merge once that's aligned.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added JAW (@jaw.id/core) as a wallet provider alongside ZeroDev, set as the new default. Same IWalletProvider
interface passkey-based smart accounts on Arbitrum Sepolia.
Setup
Optional: VITE_JAW_PAYMASTER_URL.
Test plan
address shown.