Open
Conversation
Co-authored-by: Alex Risch <23103150+alexrisch@users.noreply.github.com> Amp-Thread-ID: https://ampcode.com/threads/T-019d88bf-e2d8-748c-b781-ad8449c23f0d
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Fixed pklayground Added auth Added signing and funding
commit: |
Contributor
|
commit: |
Contributor
|
jxom
reviewed
Apr 15, 2026
Comment on lines
+21
to
+31
| chains: [chain], | ||
| host: 'https://wallet.tempo.xyz', | ||
| redirectUri, | ||
| secureStorage: secureStorage(), | ||
| authorizeAccessKey: () => ({ | ||
| expiry: Math.floor(Date.now() / 1000) + 60 * 5, | ||
| limits: [{ | ||
| token: tokens.pathUSD, | ||
| limit: parseUnits('5', 6), | ||
| }], | ||
| }), |
Member
There was a problem hiding this comment.
Would be worth looking into how we can remove things here. E.g. do we need chains, host, secureStorage? we should rely on defaults.
jxom
reviewed
Apr 15, 2026
Comment on lines
+53
to
+56
| params: [{ | ||
| capabilities: { method: 'login' }, | ||
| chainId: Hex.fromNumber(chain.id), | ||
| }], |
Member
There was a problem hiding this comment.
Idt we need params at all
Suggested change
| params: [{ | |
| capabilities: { method: 'login' }, | |
| chainId: Hex.fromNumber(chain.id), | |
| }], |
jxom
reviewed
Apr 15, 2026
Comment on lines
+59
to
+69
| if (result.accounts.length === 0) | ||
| result = await provider.request({ | ||
| method: 'wallet_connect', | ||
| params: [{ | ||
| capabilities: { | ||
| method: 'register', | ||
| name: 'Accounts RN Playground', | ||
| }, | ||
| chainId: Hex.fromNumber(chain.id), | ||
| }], | ||
| }) |
Member
There was a problem hiding this comment.
Idt we need this
Suggested change
| if (result.accounts.length === 0) | |
| result = await provider.request({ | |
| method: 'wallet_connect', | |
| params: [{ | |
| capabilities: { | |
| method: 'register', | |
| name: 'Accounts RN Playground', | |
| }, | |
| chainId: Hex.fromNumber(chain.id), | |
| }], | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a React Native (Expo) playground at
playgrounds/react-native/for testing theaccounts/react-nativeSDK surface.Covers connect, balance, send transaction, sign message, and disconnect — mirrors the wagmi playground's scope.
App.tsx— single-file playground usingProvider.createwithsecureStorageandexpo-linkingredirectapp.json— Expo config withaccounts-playgroundURL schemedev:react-nativescript addedPrompted by: Alex