Skip to content

feat: add walletconnect and injected dapp provider with approval flow - #20

Open
digitalSloth wants to merge 1 commit into
mainfrom
feature/wallet-connect
Open

digitalSloth wants to merge 1 commit into
mainfrom
feature/wallet-connect

Conversation

@digitalSloth

Copy link
Copy Markdown
Owner

Adds WalletConnect pairing and a read-only injected window.zenon provider, with a shared approval flow for dApp signing requests.

Core:

  • account-block-params, account-block-validation, message-guard, message-signing: validate and decode dApp signing requests, including contract-call data previews
  • dapp-approvals, site-permissions, inpage-protocol, inpage-approval-bridge: approval queue, per-site permissions and the inpage message protocol
  • walletconnect-service, walletconnect-client, walletconnect-sign-client-adapter, storage/walletconnect-storage: WalletConnect sessions and persistence

Extension:

  • content-script.ts, inpage.ts: inject window.zenon with read-only and prompting provider methods
  • sw/: service-worker router, ports, approval inbox and public state
  • approve.html, ApproveApp.vue, approve-main.ts: approval window opened as a popup

UI:

  • pages/WalletConnect.vue, DappApprovalDialog.vue, SettingsDialog.vue: pairing, session list and approval dialog
  • composables: useWalletConnect, useDappApprovals, useConnectedSites

Also updates manifest, build configs, router, package.json and the README.

Adds WalletConnect pairing and a read-only injected window.zenon provider, with a shared approval flow for dApp signing requests.

Core:
- account-block-params, account-block-validation, message-guard, message-signing: validate and decode dApp signing requests, including contract-call data previews
- dapp-approvals, site-permissions, inpage-protocol, inpage-approval-bridge: approval queue, per-site permissions and the inpage message protocol
- walletconnect-service, walletconnect-client, walletconnect-sign-client-adapter, storage/walletconnect-storage: WalletConnect sessions and persistence

Extension:
- content-script.ts, inpage.ts: inject window.zenon with read-only and prompting provider methods
- sw/: service-worker router, ports, approval inbox and public state
- approve.html, ApproveApp.vue, approve-main.ts: approval window opened as a popup

UI:
- pages/WalletConnect.vue, DappApprovalDialog.vue, SettingsDialog.vue: pairing, session list and approval dialog
- composables: useWalletConnect, useDappApprovals, useConnectedSites

Also updates manifest, build configs, router, package.json and the README.
@digitalSloth
digitalSloth requested a review from 0x3639 September 19, 2026 18:57
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