-
Notifications
You must be signed in to change notification settings - Fork 17
React Native compatibility audit + fixes #19
Copy link
Copy link
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programauditProduces a written report as primary deliverableProduces a written report as primary deliverablecompatBrowser / runtime compatibilityBrowser / runtime compatibilitydripsFunded via Drips NetworkFunded via Drips Networkhelp wantedExtra attention is neededExtra attention is neededstellarTouches Stellar / Soroban codeTouches Stellar / Soroban code
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave programauditProduces a written report as primary deliverableProduces a written report as primary deliverablecompatBrowser / runtime compatibilityBrowser / runtime compatibilitydripsFunded via Drips NetworkFunded via Drips Networkhelp wantedExtra attention is neededExtra attention is neededstellarTouches Stellar / Soroban codeTouches Stellar / Soroban code
Type
Fields
Give feedbackNo fields configured for issues without a type.
Labels:
Stellar Wave,stellar,compat,audit,drips,help-wantedTier: L (1–2 weeks)
Type: compat / audit
Context
The Wraith whitepaper roadmap includes a mobile app. That app will use React Native (Expo, almost certainly). RN has notoriously sharp edges for crypto libraries: no
Bufferby default, nocrypto.getRandomValueswithout polyfills, Hermes engine has subtly differentBigIntsemantics in older versions, andatob/btoaaren't always there. Right now the SDK is web-only — nobody has tried it on RN.We need a structured audit + the polyfills needed to ship.
Scope
examples/react-native-stellar/(Expo SDK 51+ with the new architecture).@wraith-protocol/sdk/chains/stellarend-to-end:deriveStealthKeysfrom a sample signaturegenerateStealthAddressscanAnnouncementsover a small fixture@wraith-protocol/sdk-rn-polyfillscompanion packagedocs/guides/react-native-setup.mdx.Specific things to expect
crypto.getRandomValuespolyfill viaexpo-cryptoorreact-native-get-random-values.Bufferpolyfill viabufferif anything uses it.TextEncoder/TextDecoderpolyfills (Hermes has them since v0.74).atob/btoapolyfills.BigIntliteral compatibility on Hermes — should be fine on recent versions but verify.Acceptance criteria
examples/react-native-stellar/works end-to-end on iOS Simulator and Android emulator.@wraith-protocol/sdk-rn-polyfills.Why this matters
Mobile is the Stellar use case for most LATAM and Asia-Pacific users. Without RN compatibility, Wraith on Stellar is desktop-only — a massive addressable-market cut.