Skip to content

added scopedProperties #355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 233 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
233 commits
Select commit Hold shift + click to select a range
7579235
Chain Abstraction docs for Flutter
quetool Mar 26, 2025
b67bbdd
update docs
quetool Mar 26, 2025
9acb5b8
minor change
quetool Mar 26, 2025
e339f83
minor change
quetool Mar 26, 2025
7511668
minor update
quetool Mar 28, 2025
59ecb82
Merge branch 'main' of https://github.com/reown-com/reown-docs into f…
quetool Apr 1, 2025
fc0b130
fixed conflicts
quetool Apr 1, 2025
7ebe4ff
added error description & token info
vrajdesai78 Apr 4, 2025
a641f0d
Adding a demo to the Social Login feature page and pointing to Reown …
rohit-710 Apr 4, 2025
70963ad
Adding AppKit demo on Overview page
rohit-710 Apr 4, 2025
825e0fd
moving SIWX folder from Features to Authentication
rohit-710 Apr 4, 2025
04c2b6b
Fixing home page to add CTAs to socials
rohit-710 Apr 4, 2025
da8906a
updating the text in the contribute box
rohit-710 Apr 4, 2025
500a78f
added docs for web and updated rn docs
vrajdesai78 Apr 4, 2025
4b60d72
added scopedProperties
vrajdesai78 Apr 4, 2025
454b101
added brief description for adding wallet service
vrajdesai78 Apr 4, 2025
3b34fc8
removing styles from video box
rohit-710 Apr 4, 2025
0207122
Adding Link mode demo and fixing learn more button
rohit-710 Apr 4, 2025
aa3e0ad
fixing homepage learn more box
rohit-710 Apr 4, 2025
647681c
Adding a demo of an app without link mode
rohit-710 Apr 4, 2025
d9cbcc8
Merge pull request #354 from reown-com/linear-fixes
rohit-710 Apr 4, 2025
9dbda6c
improve learn more
rtomas Apr 4, 2025
f12156f
Merge pull request #356 from reown-com/feat/improve-learn-more-home
rohit-710 Apr 4, 2025
3a7d7c1
add cspell to our docs
rtomas Apr 4, 2025
2ca475b
fixing Verify API doc page
rohit-710 Apr 7, 2025
bf5cbb6
Merge pull request #358 from reown-com/fix-verify
rohit-710 Apr 7, 2025
76aef52
updating some overdue code highlight issues
rohit-710 Apr 7, 2025
a34cbc5
Updating some overdue highlight code formatting
rohit-710 Apr 7, 2025
335ed2b
fixing some more highlights
rohit-710 Apr 8, 2025
dc9bf84
how many more incorrect highlight commands
rohit-710 Apr 8, 2025
63fa791
Merge pull request #359 from reown-com/fix-highlight
rohit-710 Apr 8, 2025
d7b2737
Revamping navbar and sidebar
rohit-710 Apr 8, 2025
48a48f7
Moving guides above cloud and updating walletkit nav
rohit-710 Apr 8, 2025
8151107
Adding WalletKit overview
rohit-710 Apr 8, 2025
5c925ed
Merge pull request #357 from reown-com/chore/add-cspell
rohit-710 Apr 8, 2025
d56aba0
Updating overview page
rohit-710 Apr 8, 2025
6854788
nit changes based on review
vrajdesai78 Apr 9, 2025
586b990
added info about 1CA for link mode
vrajdesai78 Apr 9, 2025
8efb134
update kotlin docs
jakubuid Apr 9, 2025
c215fbc
Adding navigation instructions
rohit-710 Apr 9, 2025
0d65b08
minor grammar fix
rohit-710 Apr 9, 2025
4c6e6b0
updating discord invite links
rohit-710 Apr 9, 2025
78d7cae
Merge pull request #360 from reown-com/navigation-update
rohit-710 Apr 9, 2025
75245aa
Pushing fix for missing sections
rohit-710 Apr 9, 2025
cb4c076
restructuring walletkit
rohit-710 Apr 9, 2025
9df0fcd
re-adding Cloud under AppKit language specific docs
rohit-710 Apr 9, 2025
7197eba
adding cloud docs to WalletKit language specific docs
rohit-710 Apr 9, 2025
fe3b4ce
changing the order of cloud on AppKit
rohit-710 Apr 9, 2025
0ea2e05
Merge pull request #364 from reown-com/fix-sidebar
rohit-710 Apr 9, 2025
56be407
refactor(docs): configure proper frontmatter titles (#361)
bkrem Apr 9, 2025
4987d50
fixing code highlighting issues on AppKit Ethers
rohit-710 Apr 9, 2025
f8f4851
update other poor highlight formatting and fix solana upgrade guide
rohit-710 Apr 9, 2025
513b6a2
Merge pull request #365 from reown-com/fix-highlight-issue
rohit-710 Apr 10, 2025
dc9010d
updated video src and improved note UI
vrajdesai78 Apr 11, 2025
df25e03
Merge pull request #363 from reown-com/chore/update_kotlin_ca_docs
vrajdesai78 Apr 11, 2025
ae33000
Updating highlighted code for a fix
rohit-710 Apr 11, 2025
8a784be
Merge pull request #368 from reown-com/highlight-fixes
rohit-710 Apr 11, 2025
410168b
re-strucuted shared files and resolved conflicts
vrajdesai78 Apr 11, 2025
52cee1c
Merge pull request #362 from reown-com/fix/add-1ca-info-link-mode
vrajdesai78 Apr 11, 2025
acf4b57
Merge pull request #329 from reown-com/flutter/chain_abstraction_docs
vrajdesai78 Apr 11, 2025
0643162
resolved conflicts for ca docs
vrajdesai78 Apr 11, 2025
10c503d
updating title
rohit-710 Feb 6, 2025
6a21812
Rebasing with main and adding a basic AppKit Core installation setup
rohit-710 Apr 11, 2025
a7958a3
updating intro text
rohit-710 Apr 11, 2025
1f210bb
grammar fix
rohit-710 Apr 11, 2025
74c1c19
resolved conflicts
vrajdesai78 Apr 11, 2025
4f237f9
fixed unnecessary changes in docs.json
vrajdesai78 Apr 11, 2025
0c80e42
fixed unnecessary changes from docs.json
vrajdesai78 Apr 11, 2025
071ad5c
Adding Chain Abstraction doc to React Native sidebar
rohit-710 Apr 11, 2025
38eb1a1
updated screenshots and details to submit wallet in walletguide
vrajdesai78 Apr 11, 2025
43afca0
Merge pull request #369 from reown-com/add-walletguide-submission-doc
rohit-710 Apr 15, 2025
86a8593
documentation enhancement
quetool Apr 15, 2025
ff71b72
minor change
quetool Apr 15, 2025
8e83fa2
Update docs.json to hide wcm upgrade guide from sidebar
rohit-710 Apr 16, 2025
464f10c
Merge pull request #282 from reown-com/wcm-preview
rohit-710 Apr 16, 2025
998c0d1
Merge pull request #353 from reown-com/vraj/wk-644-update-the-docs-wi…
vrajdesai78 Apr 16, 2025
d0563a0
Feat: smart session guide v1 (#371)
rtomas Apr 16, 2025
c09ec93
fix add funds text (#374)
rtomas Apr 16, 2025
8fc913f
fix small typo (#375)
rtomas Apr 17, 2025
6523ad4
chore: add open swap with arguments docs (#376)
enesozturk Apr 18, 2025
58d81e5
chore: add troubleshoot section for the web sdk
enesozturk Apr 18, 2025
c3197c0
modify smart session one page (#373)
rtomas Apr 20, 2025
d817e99
Docs Update: Adding more context to React and Next's hooks docs (#381)
rohit-710 Apr 23, 2025
532ff44
Fix: Remove redundant 'npm install' from Ethers v5 installation comma…
devin-ai-integration[bot] Apr 28, 2025
827613f
Add Unity direct wallet connection
skibitsky Apr 28, 2025
cc8eb05
Fix unity appkit installation
skibitsky Apr 28, 2025
a3ff0c3
Grammar update
skibitsky Apr 28, 2025
c0f289d
add wallet buttons to JS (#387)
rtomas Apr 28, 2025
111c8ee
chore: move trouble shooting to a guide doc
enesozturk Apr 29, 2025
3b5258e
chore: revert new lines
enesozturk Apr 29, 2025
9e99cd0
adding missing recipes to the sidebar
rohit-710 Apr 29, 2025
c6761a5
fixing file name
rohit-710 Apr 29, 2025
07bb79f
Merge pull request #377 from reown-com/enes/apkt-2684-universal-link-…
enesozturk Apr 29, 2025
6c563c7
Adding reown-appkit.mdc and adding instructions within Readme
rohit-710 Apr 29, 2025
f28ccc2
improving the mdc file
rohit-710 Apr 29, 2025
15f4d8e
Adding CTAs to the docs
rohit-710 Apr 29, 2025
860a4be
Adding AI instructions to installation docs of Next and React
rohit-710 Apr 29, 2025
6a08e91
updating links
rohit-710 Apr 29, 2025
0586be3
Renaming core to fundamentals
rohit-710 Apr 29, 2025
be61bed
Update README.md
rohit-710 Apr 29, 2025
9be9b46
Update overview.mdx
rohit-710 Apr 29, 2025
b59bb8e
updating the CTAs
rohit-710 Apr 29, 2025
3381a1e
Updating CTA links
rohit-710 Apr 29, 2025
05eb568
Merge pull request #389 from reown-com/ai-improvements
rohit-710 Apr 30, 2025
8a6fdfe
Fix grammatical error in Next.js AppKit documentation (#391)
devin-ai-integration[bot] Apr 30, 2025
c6c4661
Fix capitalization of JavaScript throughout documentation
devin-ai-integration[bot] Apr 30, 2025
0e0a50a
Merge pull request #386 from reown-com/chore/unity-appkit-update
skibitsky May 2, 2025
9bf09a6
Merge pull request #392 from reown-com/devin/1746020656-fix-javascrip…
rohit-710 May 5, 2025
5c500d9
Adding contextual options to the docs
rohit-710 May 5, 2025
1f9e06d
Merge pull request #394 from reown-com/contextual-menu
rohit-710 May 5, 2025
2e58cb0
Adding ChatGPT as the default contextual option
rohit-710 May 5, 2025
71e6dbf
Merge pull request #395 from reown-com/contextual-menu
rohit-710 May 5, 2025
ac29fe7
Updating company desc as per tone of voice
rohit-710 May 5, 2025
006202b
Merge pull request #396 from reown-com/copy-improve
rohit-710 May 6, 2025
af381f4
Adding Smart Sessions under AppKit features
rohit-710 May 6, 2025
31c5598
adding a note to mention early access feature
rohit-710 May 6, 2025
4901a37
Creating chain abstraction feature doc
rohit-710 May 6, 2025
85fac2e
Adding Chain Abstraction video demo
rohit-710 May 6, 2025
2b9f968
Adding chain abstraction leverage
rohit-710 May 6, 2025
4f65e42
Adding info about how Chain abstraction works
rohit-710 May 6, 2025
c0e3524
Adding example use cases and get started section
rohit-710 May 6, 2025
2a752bb
Adding a get started section for chain abstraction
rohit-710 May 6, 2025
1cbb2ff
add appkit pay
rtomas May 6, 2025
f5d7930
typo fixes
rtomas May 6, 2025
90d7a4d
add caip-25 example for 5792 capabilities
jakubuid May 7, 2025
702f810
add references
jakubuid May 7, 2025
4c721b6
add wallet service util method for kotlin
jakubuid May 7, 2025
a85a700
add other platforms
jakubuid May 7, 2025
17ffebf
Update walletkit/android/eip5792.mdx
rohit-710 May 7, 2025
1577db4
Update walletkit/android/eip5792.mdx
rohit-710 May 7, 2025
134381d
Update walletkit/android/eip5792.mdx
rohit-710 May 7, 2025
d72a4b2
Update walletkit/android/eip5792.mdx
rohit-710 May 7, 2025
61e453e
Update walletkit/android/eip5792.mdx
rohit-710 May 7, 2025
6731b8f
Adding WCM upgrade guide to the sidebar
rohit-710 May 7, 2025
72b7c9f
Removing AppKit core and Ethereum provider code
rohit-710 May 7, 2025
acf06f9
Adding a note to remove walletconnect modal from package.json
rohit-710 May 7, 2025
1f9a3a0
Adding a message about AppKit core from scratch and walletconnect modal
rohit-710 May 7, 2025
4cbeb16
Moving a general description about AK Core to the end
rohit-710 May 7, 2025
c3d86bc
Update appkit/upgrade/wcm.mdx
rohit-710 May 7, 2025
0442c04
Merge pull request #401 from reown-com/appkit-core
rohit-710 May 7, 2025
f16d56a
clean headless text
rtomas May 7, 2025
64aaaab
modify new integration
rtomas May 7, 2025
34bf333
improve code
rtomas May 7, 2025
3550d1e
Adding info about networks and assets supported
rohit-710 May 7, 2025
8899a15
Merge pull request #397 from reown-com/add-features
rohit-710 May 7, 2025
782cf60
Updating Chain abstraction supported chains and tokens
rohit-710 May 7, 2025
61bbc48
Updating WalletKit chain abstraction doc page
rohit-710 May 7, 2025
a8feb05
Merge pull request #402 from reown-com/add-features
rohit-710 May 7, 2025
ecbcfb6
Merge branch 'main' into feat/appkit-pay
rtomas May 7, 2025
f4d0143
Reworking Payments overview and highlevel docs
rohit-710 May 7, 2025
b7d9e4f
Adding info about one click checkout and subscriptions
rohit-710 May 7, 2025
752cab3
Updating CTAs on Payments overview doc
rohit-710 May 8, 2025
40e5140
Adding a video demo for Pay with exchange
rohit-710 May 8, 2025
819c5e9
Adding demo for pay with exchange
rohit-710 May 8, 2025
8ae318d
Merge pull request #399 from reown-com/feat/appkit-pay
rohit-710 May 8, 2025
6ef73e0
address comments
jakubuid May 9, 2025
f16485a
fix typo (#403)
rtomas May 9, 2025
46d3e19
Removing travel rule point from one-click checkout
rohit-710 May 9, 2025
8db4884
replacing a demo and adding self custodial checkout option
rohit-710 May 9, 2025
2c2e7dd
Updating demos and content
rohit-710 May 9, 2025
c12377c
Adding info about projects already using AppKit
rohit-710 May 9, 2025
7c38284
Updating CTAs
rohit-710 May 9, 2025
902e6e2
Adding a note about self custodial wallet flow
rohit-710 May 9, 2025
cebf95a
Adding contact sales
rohit-710 May 9, 2025
82171ee
Minor change
rohit-710 May 9, 2025
3846cec
Merge pull request #406 from reown-com/feat/appkit-pay
rohit-710 May 9, 2025
c82f359
address PR comments
jakubuid May 13, 2025
d0f1885
Adding Link Mode to WalletKit features
rohit-710 May 13, 2025
13a8552
Rearranging the WalletKit dropdown as per usage
rohit-710 May 13, 2025
502fb84
Add info about assets and networks supported
rohit-710 May 13, 2025
68794bb
Flutter docs update specially after new Social Login implementation w…
quetool May 13, 2025
40e28ce
Update walletkit/flutter/usage.mdx
quetool May 13, 2025
0159716
Update appkit/flutter/core/options.mdx
quetool May 13, 2025
5145b79
Update appkit/flutter/core/email.mdx
quetool May 13, 2025
2e73eb2
Update appkit/flutter/core/actions.mdx
quetool May 13, 2025
0bd0899
Update walletkit/flutter/usage.mdx
quetool May 13, 2025
bbe2abb
Update appkit/flutter/core/actions.mdx
quetool May 13, 2025
4c50bfe
Update appkit/flutter/core/actions.mdx
quetool May 13, 2025
341cbab
grammar check
quetool May 13, 2025
cf7f5cc
Merge branch 'feature/flutter_docs_update' of https://github.com/reow…
quetool May 13, 2025
b4fb478
adding word to cspell
rtomas May 13, 2025
561edad
Merge pull request #409 from reown-com/add-link-mode
rohit-710 May 13, 2025
668f4fe
grammar check with ChatGPT
quetool May 13, 2025
4f3393d
Merge branch 'feature/flutter_enhancements' of https://github.com/reo…
quetool May 13, 2025
a58ab61
rollback grammar check
quetool May 13, 2025
daed510
Merge pull request #370 from reown-com/feature/flutter_enhancements
quetool May 13, 2025
50275a8
Merge pull request #411 from reown-com/feat/appkit-pay
rohit-710 May 13, 2025
c9cdc46
Minor grammar fix
rohit-710 May 13, 2025
b1faa09
delete wormfare
rtomas May 13, 2025
a1991a5
Adding Social login demo for Flutter
rohit-710 May 13, 2025
b8dbc49
Updating demo to fit the size requirements
rohit-710 May 13, 2025
612089a
Linking video demo to Email Social wallets doc page for AppKit Flutter
rohit-710 May 13, 2025
61e0957
Compressing video file
rohit-710 May 13, 2025
27b7a62
Merge pull request #415 from reown-com/fix/delete-wormflare
rohit-710 May 13, 2025
8bc0bab
Merge pull request #414 from reown-com/feat/appkit-pay
rohit-710 May 13, 2025
4a352e2
Improve React Hooks Documentation (#405)
devin-ai-integration[bot] May 14, 2025
746d521
Improve Next.js Hooks Documentation based on PR #405 (#413)
devin-ai-integration[bot] May 14, 2025
7c2e583
Merge pull request #400 from reown-com/5792_caip25_examples
jakubuid May 14, 2025
3898ad5
Removing repeated content from Next hooks
rohit-710 May 14, 2025
0b4935f
Removing more repetitions
rohit-710 May 14, 2025
111bc62
Removing repeated content on React Hooks
rohit-710 May 14, 2025
f736f42
Removing some more repeated content
rohit-710 May 14, 2025
6cb13a9
Merge pull request #417 from reown-com/fix-devins-pr
rohit-710 May 14, 2025
1181f10
Updating the onramp png
rohit-710 May 15, 2025
62f6838
Adding Meld as a provider
rohit-710 May 15, 2025
f9e389f
Updating purchase desc
rohit-710 May 15, 2025
0c9e059
Updating assets and amount desc
rohit-710 May 15, 2025
2deb9c0
Updating SIWX info
rohit-710 May 15, 2025
e990f4a
Updating SIWX description
rohit-710 May 15, 2025
543a8e5
Updating the demo
rohit-710 May 15, 2025
2f7503e
Adding demo section
rohit-710 May 15, 2025
406b480
Updating hooks open info
rohit-710 May 15, 2025
62d92c2
Updating hooks open info for Next
rohit-710 May 15, 2025
e4bbb82
Adding a video walkthrough and demo section
rohit-710 May 15, 2025
986e62e
Fixing title for SIWX
rohit-710 May 15, 2025
d552d9d
grammar check
quetool May 15, 2025
a8e0a67
fix: Solana implementation snippets (#416)
rtomas May 15, 2025
035848b
feat: Update snippets for appkit Pay (#418)
rtomas May 15, 2025
52737e0
fix link (#422)
rtomas May 15, 2025
fc5dd75
delete next networks
rtomas May 16, 2025
4f7ce93
Add note about Cloud Auth SIWX
rohit-710 May 16, 2025
9e65816
Merge pull request #419 from reown-com/update-docs-changes
rohit-710 May 16, 2025
47fdeb7
Update Smart Sessions side bar title
rohit-710 May 16, 2025
36a40ea
Updating the title
rohit-710 May 16, 2025
fb57c4c
Adding info about networks supported
rohit-710 May 16, 2025
684ce62
Merge pull request #424 from reown-com/fix/delete-next-networks
rohit-710 May 16, 2025
390d71b
Fix documentation issues in Custom Connectors page (#404)
devin-ai-integration[bot] May 16, 2025
a7794aa
Improve custom connectors documentation based on PR #404 (#427)
devin-ai-integration[bot] May 16, 2025
7f66933
Merge pull request #412 from reown-com/feature/flutter_docs_update
quetool May 16, 2025
87b6a05
fix custom connectors docs (#423)
rtomas May 16, 2025
d5ff544
Merge pull request #426 from reown-com/update-smart-session-docs
rohit-710 May 16, 2025
24a2a33
added scopedProperties
vrajdesai78 Apr 4, 2025
fbcc411
Merge branch 'vraj/wk-635-5792-update' of https://github.com/reown-co…
jakubuid May 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions walletkit/android/eip5792.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,18 @@ Applications can specify that these onchain calls be executed taking advantage o
- `wallet_getCallsStatus`: Returns the status of a call batch that was sent via wallet_sendCalls.
- `wallet_showCallsStatus`: Requests that a wallet shows information about a given call bundle that was sent with wallet_sendCalls.
- `wallet_getCapabilities`: This RPC allows an application to request capabilities from a wallet (e.g. batch transactions, paymaster communication).

## Usage

### wallet_getCallsStatus Example

To enhance the user experience and eliminate the need for app switching, wallets can delegate the Wallet Service to query call status from a bundler. This delegation is configured during session approval by specifying the bundler name in the scoped properties.

When configured, the dApp will automatically route all subsequent `wallet_getCallsStatus` requests through the delegated wallet service to the designated bundler.

To implement this functionality, use `WalletKit.buildWalletService(projectId, methods)` util method that specifies the wallet service URL withing the supported methods:

```kotlin
val scopedProperties = mapOf("eip155" to WalletKit.buildWalletService("project_id", listOf("wallet_getCallsStatus")))
WalletKit.approveSession(..., scopedProperties)
```
19 changes: 19 additions & 0 deletions walletkit/flutter/eip5792.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,22 @@ Applications can specify that these onchain calls be executed taking advantage o
- `wallet_getCallsStatus`: Returns the status of a call batch that was sent via wallet_sendCalls.
- `wallet_showCallsStatus`: Requests that a wallet shows information about a given call bundle that was sent with wallet_sendCalls.
- `wallet_getCapabilities`: This RPC allows an application to request capabilities from a wallet (e.g. batch transactions, paymaster communication).

## Usage

To enhance the user experience and eliminate the need for app switching, wallets can delegate the Wallet Service to query call status from a bundler. This delegation is configured during session approval by specifying the bundler name in the session properties.

When configured, the dApp will automatically route all subsequent `wallet_getCallsStatus` requests through the delegated wallet service to the designated bundler.

To implement this functionality, specify the `scopedProperties` when approving a session:

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@quetool to add Flutter example for WalletKit.buildWalletService

```json
"scopedProperties": {
"eip155": {
"walletService": [{
"url": "<wallet service URL>",
"methods": ["wallet_getCallsStatus"]
}]
}
}
```
19 changes: 19 additions & 0 deletions walletkit/ios/eip5792.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,22 @@ Applications can specify that these onchain calls be executed taking advantage o
- `wallet_getCallsStatus`: Returns the status of a call batch that was sent via wallet_sendCalls.
- `wallet_showCallsStatus`: Requests that a wallet shows information about a given call bundle that was sent with wallet_sendCalls.
- `wallet_getCapabilities`: This RPC allows an application to request capabilities from a wallet (e.g. batch transactions, paymaster communication).

## Usage

To enhance the user experience and eliminate the need for app switching, wallets can delegate the Wallet Service to query call status from a bundler. This delegation is configured during session approval by specifying the bundler name in the session properties.

When configured, the dApp will automatically route all subsequent `wallet_getCallsStatus` requests through the delegated wallet service to the designated bundler.

To implement this functionality, specify the `scopedProperties` when approving a session:

Copy link
Collaborator

@jakubuid jakubuid May 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@llbartekll to add Swift example for WalletKit.buildWalletService

```json
"scopedProperties": {
"eip155": {
"walletService": [{
"url": "<wallet service URL>",
"methods": ["wallet_getCallsStatus"]
}]
}
}
```
19 changes: 19 additions & 0 deletions walletkit/react-native/eip5792.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,26 @@ title: Wallet Call API
WalletConnect supports [EIP-5792](https://eips.ethereum.org/EIPS/eip-5792#atomicbatch-capability), which defines new JSON-RPC methods that enable apps to ask a wallet to process a batch of onchain write calls and to check on the status of those calls.
Applications can specify that these onchain calls be executed taking advantage of specific capabilities previously expressed by the wallet; an additional, a novel wallet RPC is defined to enable apps to query the wallet for those capabilities.

## Methods

- `wallet_sendCalls`: Requests that a wallet submits a batch of calls.
- `wallet_getCallsStatus`: Returns the status of a call batch that was sent via wallet_sendCalls.
- `wallet_showCallsStatus`: Requests that a wallet shows information about a given call bundle that was sent with wallet_sendCalls.
- `wallet_getCapabilities`: This RPC allows an application to request capabilities from a wallet (e.g. batch transactions, paymaster communication).

## Usage

To use your own wallet service for EIP-5792, you need to specify the `scopedProperties` when approving a session.

Copy link
Collaborator

@jakubuid jakubuid May 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ganchoradkov to add RN example for WalletKit.buildWalletService

```json
"scopedProperties": {
"eip155": {
"walletService": [{
"url": "<wallet service URL>",
"methods": ["wallet_getCallsStatus"]
}]
}
}
```


19 changes: 19 additions & 0 deletions walletkit/web/eip5792.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,22 @@ Applications can specify that these onchain calls be executed taking advantage o
- `wallet_getCallsStatus`: Returns the status of a call batch that was sent via wallet_sendCalls.
- `wallet_showCallsStatus`: Requests that a wallet shows information about a given call bundle that was sent with wallet_sendCalls.
- `wallet_getCapabilities`: This RPC allows an application to request capabilities from a wallet (e.g. batch transactions, paymaster communication).

## Usage

To enhance the user experience and eliminate the need for app switching, wallets can delegate the Wallet Service to query call status from a bundler. This delegation is configured during session approval by specifying the bundler name in the session properties.

When configured, the dApp will automatically route all subsequent `wallet_getCallsStatus` requests through the delegated wallet service to the designated bundler.

To implement this functionality, specify the `scopedProperties` when approving a session:

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ganchoradkov to add JS example for WalletKit.buildWalletService

```json
"scopedProperties": {
"eip155": {
"walletService": [{
"url": "<wallet service URL>",
"methods": ["wallet_getCallsStatus"]
}]
}
}
```