Skip to content

Support sponsored smart-account transaction flows - #91

Merged
jwahdatehagh merged 1 commit into
masterfrom
agent/7702-pimlico-layers
Jul 30, 2026
Merged

Support sponsored smart-account transaction flows#91
jwahdatehagh merged 1 commit into
masterfrom
agent/7702-pimlico-layers

Conversation

@jwahdatehagh

Copy link
Copy Markdown
Member

Summary

  • add per-chain EIP-7702 smart-account configuration to components.evm and layers.evm
  • read authenticated bundler/paymaster broker URLs from public runtime configuration
  • pass smart-account settings into the in-app wallet connector only when both static chain configuration and a runtime RPC URL are present
  • support EIP-5792 calls IDs in transaction flows and wait for their successful calls receipt
  • preserve the existing transaction-hash receipt path for self-paid and external-wallet transactions
  • export the new transaction-result helpers and smart-account types
  • document the configuration and environment variables
  • update @1001-digital/wagmi-in-app-wallet to the published 0.2.0

Why

Downstream apps need to submit sponsored mint and collect calls through their authenticated broker while keeping Layers' existing transaction UI and receipt semantics. This provides the opt-in configuration and receipt handling needed by the networked.art integration without placing paymaster credentials in browser configuration.

Developer impact

Smart-account support is opt-in per chain. Existing integrations that return a normal transaction hash continue through the unchanged receipt path. The included changeset releases minor versions of @1001-digital/components.evm and @1001-digital/layers.evm.

Validation

  • pnpm install --frozen-lockfile against the published wallet package
  • pnpm test — 13 tests passed across components and components.evm
  • pnpm --filter @1001-digital/layers.evm typecheck
  • pnpm changeset status — minor releases for components.evm and layers.evm

@jwahdatehagh
jwahdatehagh marked this pull request as ready for review July 30, 2026 12:54
@jwahdatehagh
jwahdatehagh merged commit 1d758ee into master Jul 30, 2026
1 check passed
@github-actions github-actions Bot mentioned this pull request Jul 30, 2026
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