Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Dev Wallet now provides a WalletInitializer that integrates with dApp Kit's plugin system, using dApp Kit's networks and client factory instead of managing its own configuration. - Export WalletInitializer type from @mysten/dapp-kit-core - Add devWalletInitializer() to @mysten/dev-wallet - Update demo app to use the initializer pattern - Update docs with recommended initializer usage Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
09ef86e to
865a441
Compare
…paths - Reorganize docs into guides/ and reference/ subdirectories - Fix code accuracy issues across adapter docs (wrong method signatures, incorrect property values, missing API methods) - Add devWalletClientInitializer for standalone wallet registration via walletInitializers (same pattern as embedded devWalletInitializer) - Version CLI signer API paths: /api/accounts -> /api/v1/accounts, /api/sign-transaction -> /api/v1/sign-transaction - Add CLI Signer API reference doc with full endpoint specs - Document bookmarklet for zero-code-change wallet injection - Reorder docs to show embedded (dApp Kit plugin) first, standalone second - Remove misleading "no code changes needed" claims for standalone mode - Add faucet instructions to Getting Started Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use a Vite plugin to preserve Lit @CustomElement() decorator calls instead of disabling tree-shaking entirely, producing a smaller standalone bundle. Expand README with step-by-step CLI account import instructions, personal message signing caveat, and bookmarklet usage. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add overrides for hono (>=4.12.4), @hono/node-server (>=1.19.10), @tootallnate/once (>=3.0.1), and immutable (>=5.1.5) to resolve 6 security advisories. Remove stale minimatch overrides that are no longer needed. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fetch coin decimals from chain via getCoinMetadata instead of hardcoded map - Use normalizeStructTag/parseStructTag from SDK for type matching (full package IDs) - Replace custom address validation with isValidSuiAddress from SDK - Add getDefaultLabel() to BaseSignerAdapter for cross-adapter label control - Remove skipAuth option from CLI signing middleware (auth always required) - Case-insensitive Bearer token scheme per RFC 7235 - DNS rebinding check now validates port in Host header - Remove URL-safe chars from base64 validation (standard base64 only) - Move parseWalletRequest from server/ to client/ (browser-side concern) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
These are direct dependencies already at safe versions. Keep @tootallnate/once and immutable overrides (deep transitive deps that can't be updated directly). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove placeholder guide pages (demo-app, isolated-dev-keys, localnet-and-custom-networks, persistent-wallet, quick-prototyping) and add a practical quick start section to the README and index page. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The dev-wallet browser tests (vitest + @vitest/browser-playwright) need Chromium installed. Add a step to install it with system deps. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove ~1200 lines of AI-generated verbosity across source, tests, and docs (excessive comments, redundant assertions, AI-sounding prose) - Fix double-notification bug in RemoteCliAdapter#restoreImportedAccounts - Delete 6 dead CSS style exports never imported by any component - Delete redundant shared-wallet.mdx, merge content into standalone-mode.mdx - Fix accuracy issues in adapter, architecture, and API reference docs - Fix broken symlinks: @mysten/sui and @mysten/wallet-standard now point to worktree packages (was pointing to main repo, causing type errors) - Rebuild @mysten/sui to include PasskeyKeypair credentialId support (3-arg constructor + getCredentialId() method) - All 254 tests pass, lint clean Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Follows the pattern of wallet-sdk and ledgerjs packages. Without this, IDEs type-check test files without @types/node or vitest/globals, causing spurious errors for Buffer, node:http imports, and vitest APIs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ndings - Fix CI failure: `pnpm exec playwright install` now scoped to @mysten/dev-wallet - Fix per-account error isolation in WebCryptoSignerAdapter.initialize() - Replace brittle string-based auth error detection with AuthError class in RemoteCliAdapter - Add explicit allowAutoSign default to BaseSignerAdapter - Propagate destroy() to adapters in DevWallet - Reject non-HTTP(S) URLs in addNetwork() Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Fix prettier formatting in 4 dev-wallet MDX doc files - Move @mysten/dev-wallet browser (Playwright) tests to dedicated dev-wallet-browser-tests.yml workflow, only triggered on changes to packages/dev-wallet/** - Remove playwright install from main turborepo.yml - Change dev-wallet test script to node-only (browser via separate CI) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Adds
@mysten/dev-wallet— a modular, wallet-standard-compliant dev wallet for Sui with pluggable key management and a request-queue signing flow. It replacesuseUnsafeBurnerWalletwith a real approval UI so developers can inspect what they're signing during development.Key features:
npx)@lit/reactDocs: https://sui-typescript-docs-git-mh-dev-wallet-mysten-labs.vercel.app/dev-wallet
Demo
Screen_Recording_2026-03-04_2.20_Compressed.mp4
Test plan
AI Assistance Notice