From 4031d9c27068e03ca4f3d85f373c571d899acd52 Mon Sep 17 00:00:00 2001 From: Jonathan Tzeng Date: Fri, 5 Jun 2026 13:51:43 -0700 Subject: [PATCH] Replace react-native-piratechain with react-native-pirate-wallet The Pirate Chain team's orchard upgrade ships a unified SDK whose react-native binding (react-native-pirate-wallet) replaces the react-native-piratechain wrapper Edge wrote. The reimplemented piratechain plugin in edge-currency-accountbased consumes the new module through the same makePiratechainIo nativeIo bridge, so no GUI code changes are needed beyond the dependency swap. The package is not yet published to npm (it only exists as a zip asset on PirateNetwork GitHub releases), so the dependency points at a vendored sibling checkout (file:../react-native-pirate-wallet) staged from the official v1.1.4 release artifacts. Swap to a hosted tgz or npm version once a packaging decision is made. --- CHANGELOG.md | 1 + ios/Podfile.lock | 33 +++++++++++++++------------------ package.json | 2 +- yarn.lock | 8 ++------ 4 files changed, 19 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a93be492443..b61bc4717e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## Unreleased (develop) - added: Logbox disable option to env.json +- changed: (ARRR) Replace `react-native-piratechain` with `react-native-pirate-wallet`, the Pirate Chain team's unified orchard-upgrade SDK. - added: Reverse-resolve recipient addresses to ENS / Unstoppable Domains / ZNS names in the send flow, address modal, and transaction history. ## 4.49.0 (staging) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 44f8e4e9b0f..ff6d9955e21 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -17,7 +17,7 @@ PODS: - DoubleConversion (1.1.6) - edge-core-js (2.44.0): - React-Core - - edge-currency-accountbased (4.82.0): + - edge-currency-accountbased (4.82.1): - React-Core - edge-currency-plugins (3.9.0): - React-Core @@ -1663,11 +1663,8 @@ PODS: - ReactCommon/turbomodule/bridging - ReactCommon/turbomodule/core - Yoga - - react-native-piratechain (0.5.25): - - gRPC-Swift (~> 1.8) - - MnemonicSwift (~> 2.2) + - react-native-pirate-wallet (0.1.1): - React-Core - - SQLite.swift/standalone (~> 0.14) - react-native-render-html (6.3.4): - React-Core - react-native-safari-view (1.0.0): @@ -2724,11 +2721,11 @@ PODS: - SDWebImage/Core (~> 5.10) - Sentry/HybridSDK (8.58.0) - SocketRocket (0.7.1) - - SQLite.swift/standalone (0.15.4): + - SQLite.swift/standalone (0.16.0): - sqlite3 - - sqlite3 (3.51.1): - - sqlite3/common (= 3.51.1) - - sqlite3/common (3.51.1) + - sqlite3 (3.52.0): + - sqlite3/common (= 3.52.0) + - sqlite3/common (3.52.0) - SwiftNIO (2.40.0): - _NIODataStructures (= 2.40.0) - CNIOAtomics (= 2.40.0) @@ -2859,7 +2856,7 @@ PODS: - SwiftNIOFoundationCompat (< 3, >= 2.32.0) - SwiftNIOPosix (< 3, >= 2.32.0) - SwiftNIOTLS (< 3, >= 2.32.0) - - SwiftProtobuf (1.33.3) + - SwiftProtobuf (1.38.0) - VisionCamera (4.7.2): - VisionCamera/Core (= 4.7.2) - VisionCamera/React (= 4.7.2) @@ -2939,7 +2936,7 @@ DEPENDENCIES: - react-native-mymonero-core (from `../node_modules/react-native-mymonero-core`) - "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)" - react-native-performance (from `../node_modules/react-native-performance`) - - react-native-piratechain (from `../node_modules/react-native-piratechain`) + - react-native-pirate-wallet (from `../node_modules/react-native-pirate-wallet`) - react-native-render-html (from `../node_modules/react-native-render-html`) - react-native-safari-view (from `../node_modules/react-native-safari-view`) - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) @@ -3186,8 +3183,8 @@ EXTERNAL SOURCES: :path: "../node_modules/@react-native-community/netinfo" react-native-performance: :path: "../node_modules/react-native-performance" - react-native-piratechain: - :path: "../node_modules/react-native-piratechain" + react-native-pirate-wallet: + :path: "../node_modules/react-native-pirate-wallet" react-native-render-html: :path: "../node_modules/react-native-render-html" react-native-safari-view: @@ -3336,7 +3333,7 @@ SPEC CHECKSUMS: disklet: 8a20bf8a568635b6e6bb8f93297dac13ee5cef98 DoubleConversion: cb417026b2400c8f53ae97020b2be961b59470cb edge-core-js: bf3986a6bb63077e0e25552d741633432eedb67d - edge-currency-accountbased: 39b2f1ea7b94ff78359160dc995add1410e3b07a + edge-currency-accountbased: ec8fbc4e456020f3cfc67ecf7650b7d8d244c62b edge-currency-plugins: fe38711931eb630b3d33c1624224446690c00d8b edge-exchange-plugins: fc4e9cd3578e1049c407dc314569c53b4ddae733 edge-login-ui-rn: a17b0af01c961bbe831fcb8ea0efe31ba93ac104 @@ -3410,7 +3407,7 @@ SPEC CHECKSUMS: react-native-mymonero-core: 89717c706af7024c9100ccb6c3f22a587ccc8f09 react-native-netinfo: cec9c4e86083cb5b6aba0e0711f563e2fbbff187 react-native-performance: f0471c84eda0f6625bd42a1f515b1b216f284b12 - react-native-piratechain: f5915f18ec28e21a6557005a568be60f4b1a08bf + react-native-pirate-wallet: 192d9bf5b2d81584febcc0684dbba4cba518a763 react-native-render-html: 5afc4751f1a98621b3009432ef84c47019dcb2bd react-native-safari-view: 07dc856a2663fef31eaca6beb79b111b8f6cf1f2 react-native-safe-area-context: 83e0ac3d023997de1c2e035af907cc4dc05f718c @@ -3479,8 +3476,8 @@ SPEC CHECKSUMS: SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d Sentry: d587a8fe91ca13503ecd69a1905f3e8a0fcf61be SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748 - SQLite.swift: a107c734115fea616a4ad31371d39f1637e8de56 - sqlite3: 8d708bc63e9f4ce48f0ad9d6269e478c5ced1d9b + SQLite.swift: c914f905e13b6318cdc07fd66661db14c6cdd330 + sqlite3: a51c07cf16e023d6c48abd5e5791a61a47354921 SwiftNIO: 829958aab300642625091f82fc2f49cb7cf4ef24 SwiftNIOConcurrencyHelpers: 697370136789b1074e4535eaae75cbd7f900370e SwiftNIOCore: 473fdfe746534d7aa25766916459eeaf6f92ef49 @@ -3494,7 +3491,7 @@ SPEC CHECKSUMS: SwiftNIOSSL: d153c5a6fc5b2301b0519b4c4d037a9414212da6 SwiftNIOTLS: 598af547490133e9aac52aed0c23c4a90c31dcfc SwiftNIOTransportServices: 0b2b407819d82eb63af558c5396e33c945759503 - SwiftProtobuf: e1b437c8e31a4c5577b643249a0bb62ed4f02153 + SwiftProtobuf: d724b5145bfc609d9a49c1e3e3a3dabb07273ffb VisionCamera: 30b358b807324c692064f78385e9a732ce1bebfe Yoga: 50518ade05048235d91a78b803336dbb5b159d5d ZIPFoundation: dfd3d681c4053ff7e2f7350bc4e53b5dba3f5351 diff --git a/package.json b/package.json index 1a5780bac6f..840d0433d44 100644 --- a/package.json +++ b/package.json @@ -154,7 +154,7 @@ "react-native-patina": "^0.1.6", "react-native-performance": "^5.1.4", "react-native-permissions": "^4.1.5", - "react-native-piratechain": "^0.5.25", + "react-native-pirate-wallet": "file:../react-native-pirate-wallet", "react-native-reanimated": "^4.1.3", "react-native-render-html": "^6.3.4", "react-native-reorderable-list": "^0.5.0", diff --git a/yarn.lock b/yarn.lock index 256fa2e8a98..cffe8b85e5d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15618,12 +15618,8 @@ react-native-permissions@^4.1.5: resolved "https://registry.yarnpkg.com/react-native-permissions/-/react-native-permissions-4.1.5.tgz#db4d1ddbf076570043f4fd4168f54bb6020aec92" integrity sha512-r6VMRacASmtRHS+GZ+5HQCp9p9kiE+UU9magHOZCXZLTJitdTuVHWZRrb4v4oqZGU+zAp3mZhTQftuMMv+WLUg== -react-native-piratechain@^0.5.25: - version "0.5.25" - resolved "https://registry.yarnpkg.com/react-native-piratechain/-/react-native-piratechain-0.5.25.tgz#435aca1cb44d9b2bb1ffb4c87e3c67a600105f0e" - integrity sha512-+czVg9WgoMMp/wS0ZZVlQWmaYS22K+fATnum+hAoSjkG215p0yg5bBK7Boo6ZrIrocdeWc7F8k5fh5ouO1foKw== - dependencies: - rfc4648 "^1.3.0" +"react-native-pirate-wallet@file:../react-native-pirate-wallet": + version "0.1.1" react-native-reanimated@^3.19.1: version "3.19.1"