Commit 1ff8b56
authored
feat: wallet capabilities (#20032)
Initial implementation of the capabilities manifest for app<->wallet
communication. Allows a dapp to request permissions/access upfront to
the wallet, which makes UX so much better. It also doubles as a way for
wallets to convey they support extensions to their interface.
This is not intended to make communication stateful, and it is always
optional for an app to request. They can just use the interface as they
please and allow the wallet to prompt the user for permissions as they
see fit.File tree
6 files changed
+706
-0
lines changed- yarn-project
- aztec.js/src
- api
- wallet
- wallet-sdk/src/base-wallet
6 files changed
+706
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
32 | 49 | | |
33 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
34 | 72 | | |
35 | 73 | | |
36 | 74 | | |
0 commit comments