Skip to content

Integrate encrypted in-app wallet vaults - #88

Draft
jwahdatehagh wants to merge 1 commit into
masterfrom
agent/wallet-vault-credits
Draft

Integrate encrypted in-app wallet vaults#88
jwahdatehagh wants to merge 1 commit into
masterfrom
agent/wallet-vault-credits

Conversation

@jwahdatehagh

@jwahdatehagh jwahdatehagh commented Jul 28, 2026

Copy link
Copy Markdown
Member

Summary

Replaces the plaintext in-app wallet setup in Components/Layers with the encrypted keyring from @1001-digital/wagmi-in-app-wallet.

  • adds create, restore, unlock, backup, passkey, passphrase-change, and explicit lock flows
  • adds an on-demand unlock dialog used by the Wagmi connector
  • introduces a host-configurable WalletVaultStore for authenticated API sync
  • supplies an encrypted local fallback for hosts without remote storage
  • locks and reloads when the host session identity changes
  • never reads or automatically migrates the legacy plaintext key
  • adds coordinated major changesets for components.evm and layers.evm

Dependency chain

  1. Wallet primitive: Add encrypted, syncable in-app wallet vaults wagmi-in-app-wallet#1
  2. This Layers integration
  3. Networked product flow: https://github.com/networked-art/monorepo/pull/27

The wallet package must be published before the Layers major is released. Networked can then update its dependency to the published Layers version.

Validation

  • pnpm --filter @1001-digital/layers.evm typecheck
  • git diff --check

The repository-wide typecheck still has unrelated pre-existing layers.base import/dependency failures; the changed EVM layer passes.

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.

1 participant