Skip to content

Commit

Permalink
Merge pull request #104 from xmtp-labs/ar/cbw
Browse files Browse the repository at this point in the history
feat: Coinbase Wallet
  • Loading branch information
alexrisch authored May 30, 2024
2 parents c48ffe9 + a741b51 commit 180dcf2
Show file tree
Hide file tree
Showing 31 changed files with 3,560 additions and 11,877 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/**
* @format
*/
import '@thirdweb-dev/react-native-compat';

import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
Expand Down
109 changes: 41 additions & 68 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,29 @@ PODS:
- CoinbaseWalletSDK/Client (1.0.4)
- CoinbaseWalletSDK/CrossPlatform (1.0.4):
- CoinbaseWalletSDK/Client
- CoinbaseWalletSDKExpo (1.0.10):
- CoinbaseWalletSDKExpo (1.0.13):
- CoinbaseWalletSDK/CrossPlatform (= 1.0.4)
- ExpoModulesCore
- Connect-Swift (0.12.0):
- SwiftProtobuf (~> 1.25.2)
- DoubleConversion (1.1.6)
- EXApplication (5.8.3):
- EXConstants (15.4.6):
- ExpoModulesCore
- EXConstants (15.4.5):
- EXFont (11.10.3):
- ExpoModulesCore
- EXFont (11.10.2):
- Expo (50.0.19):
- ExpoModulesCore
- Expo (50.0.6):
- ExpoModulesCore
- ExpoClipboard (4.8.0):
- ExpoModulesCore
- ExpoDocumentPicker (11.10.1):
- ExpoModulesCore
- ExpoFileSystem (16.0.6):
- ExpoFileSystem (16.0.9):
- ExpoModulesCore
- ExpoKeepAwake (12.8.2):
- ExpoModulesCore
- ExpoModulesCore (1.11.8):
- ExpoModulesCore (1.11.13):
- glog
- RCT-Folly (= 2022.05.16.00)
- React-Core
- React-NativeModulesApple
- React-RCTAppDelegate
- ReactCommon/turbomodule/core
- ExpoSecureStore (12.8.1):
- ExpoModulesCore
- FBLazyVector (0.73.8)
- FBReactNativeSpec (0.73.8):
- RCT-Folly (= 2022.05.16.00)
Expand Down Expand Up @@ -1000,7 +992,7 @@ PODS:
- React-Mapbuffer (0.73.8):
- glog
- React-debug
- react-native-blob-util (0.19.6):
- react-native-blob-util (0.19.9):
- React-Core
- react-native-blur (4.4.0):
- glog
Expand All @@ -1012,18 +1004,18 @@ PODS:
- React-Core
- react-native-encrypted-storage (4.0.3):
- React-Core
- react-native-get-random-values (1.10.0):
- react-native-get-random-values (1.11.0):
- React-Core
- react-native-image-picker (7.1.0):
- react-native-image-picker (7.1.2):
- glog
- RCT-Folly (= 2022.05.16.00)
- React-Core
- react-native-mmkv (2.11.0):
- MMKV (>= 1.2.13)
- React-Core
- react-native-netinfo (11.2.1):
- react-native-mmkv (2.12.2):
- glog
- MMKV (>= 1.3.3)
- RCT-Folly (= 2022.05.16.00)
- React-Core
- react-native-randombytes (3.6.1):
- react-native-netinfo (11.3.2):
- React-Core
- react-native-safe-area-context (4.5.0):
- RCT-Folly
Expand Down Expand Up @@ -1198,36 +1190,37 @@ PODS:
- React-jsi (= 0.73.8)
- React-logger (= 0.73.8)
- React-perflogger (= 0.73.8)
- RNCAsyncStorage (1.21.0):
- RNCAsyncStorage (1.23.1):
- React-Core
- RNCClipboard (1.13.2):
- RNCClipboard (1.14.1):
- React-Core
- RNCPushNotificationIOS (1.11.0):
- React-Core
- RNDeviceInfo (10.12.0):
- RNDeviceInfo (10.14.0):
- React-Core
- RNFastImage (8.6.3):
- React-Core
- SDWebImage (~> 5.11.1)
- SDWebImageWebPCoder (~> 0.8.4)
- RNFS (2.20.0):
- React-Core
- RNLocalize (3.0.6):
- RNLocalize (3.1.0):
- React-Core
- RNPermissions (4.1.5):
- React-Core
- RNReactNativeHapticFeedback (2.2.0):
- React-Core
- RNReanimated (3.6.2):
- RNReanimated (3.11.0):
- glog
- RCT-Folly (= 2022.05.16.00)
- React-Core
- ReactCommon/turbomodule/core
- RNScreens (3.29.0):
- RNScreens (3.31.1):
- glog
- RCT-Folly (= 2022.05.16.00)
- React-Core
- RNSVG (13.14.0):
- React-RCTImage
- RNSVG (13.14.1):
- React-Core
- SDWebImage (5.11.1):
- SDWebImage/Core (= 5.11.1)
Expand Down Expand Up @@ -1264,16 +1257,12 @@ DEPENDENCIES:
- BVLinearGradient (from `../node_modules/react-native-linear-gradient`)
- "CoinbaseWalletSDKExpo (from `../node_modules/@coinbase/wallet-mobile-sdk/ios`)"
- DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`)
- EXApplication (from `../node_modules/expo-application/ios`)
- EXConstants (from `../node_modules/expo-constants/ios`)
- EXFont (from `../node_modules/expo-font/ios`)
- Expo (from `../node_modules/expo`)
- ExpoClipboard (from `../node_modules/expo-clipboard/ios`)
- ExpoDocumentPicker (from `../node_modules/expo-document-picker/ios`)
- ExpoFileSystem (from `../node_modules/expo-file-system/ios`)
- ExpoKeepAwake (from `../node_modules/expo-keep-awake/ios`)
- ExpoModulesCore (from `../node_modules/expo-modules-core`)
- ExpoSecureStore (from `../node_modules/expo-secure-store/ios`)
- FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`)
- FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`)
- Flipper (= 0.201.0)
Expand Down Expand Up @@ -1332,7 +1321,6 @@ DEPENDENCIES:
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
- react-native-mmkv (from `../node_modules/react-native-mmkv`)
- "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)"
- react-native-randombytes (from `../node_modules/react-native-randombytes`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
- React-nativeconfig (from `../node_modules/react-native/ReactCommon`)
- React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
Expand Down Expand Up @@ -1414,26 +1402,18 @@ EXTERNAL SOURCES:
:path: "../node_modules/@coinbase/wallet-mobile-sdk/ios"
DoubleConversion:
:podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec"
EXApplication:
:path: "../node_modules/expo-application/ios"
EXConstants:
:path: "../node_modules/expo-constants/ios"
EXFont:
:path: "../node_modules/expo-font/ios"
Expo:
:path: "../node_modules/expo"
ExpoClipboard:
:path: "../node_modules/expo-clipboard/ios"
ExpoDocumentPicker:
:path: "../node_modules/expo-document-picker/ios"
ExpoFileSystem:
:path: "../node_modules/expo-file-system/ios"
ExpoKeepAwake:
:path: "../node_modules/expo-keep-awake/ios"
ExpoModulesCore:
:path: "../node_modules/expo-modules-core"
ExpoSecureStore:
:path: "../node_modules/expo-secure-store/ios"
FBLazyVector:
:path: "../node_modules/react-native/Libraries/FBLazyVector"
FBReactNativeSpec:
Expand Down Expand Up @@ -1501,8 +1481,6 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native-mmkv"
react-native-netinfo:
:path: "../node_modules/@react-native-community/netinfo"
react-native-randombytes:
:path: "../node_modules/react-native-randombytes"
react-native-safe-area-context:
:path: "../node_modules/react-native-safe-area-context"
React-nativeconfig:
Expand Down Expand Up @@ -1584,19 +1562,15 @@ SPEC CHECKSUMS:
BVLinearGradient: 880f91a7854faff2df62518f0281afb1c60d49a3
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
CoinbaseWalletSDK: ea1f37512bbc69ebe07416e3b29bf840f5cc3152
CoinbaseWalletSDKExpo: c79420eb009f482f768c23b6768fc5b2d7c98777
CoinbaseWalletSDKExpo: fc6cc756974827763d7a0decf7140c2902dafca2
Connect-Swift: 1de2ef4a548c59ecaeb9120812dfe0d6e07a0d47
DoubleConversion: fea03f2699887d960129cc54bba7e52542b6f953
EXApplication: 137189a3f149b4e8e546884629392c3efc94cbd3
EXConstants: 988aa430ca0f76b43cd46b66e7fae3287f9cc2fc
EXFont: 21b9c760abd593ce8f0d5386b558ced76018506f
Expo: fb745b3074989670b6641f9f20463e8ee56a69ca
ExpoClipboard: b8f76767b0dbaefb3be7adbf85049fd85861d527
ExpoDocumentPicker: 70254802886e29a45d4ad25486e64b6fc9c8f0cc
ExpoFileSystem: a9273932e69a9a1e1a8d01b6ba895bb8294bbea2
EXConstants: a5f6276e565d98f9eb4280f81241fc342d641590
EXFont: f20669cb266ef48b004f1eb1f2b20db96cd1df9f
Expo: ad8bce0c0fc557cae703cc8dbce73d61a90ab5c5
ExpoFileSystem: 74cc0fae916f9f044248433971dcfc8c3befd057
ExpoKeepAwake: 0f5cad99603a3268e50af9a6eb8b76d0d9ac956c
ExpoModulesCore: 96d1751929ad10622773bb729ab28a8423f0dd0c
ExpoSecureStore: c84ae37d1c36f38524d289c67c3a2e3fc56f1108
ExpoModulesCore: 4a8928a228569301ac4fc4a1e846713e05754d05
FBLazyVector: df34a309e356a77581809834f6ec3fbe7153f620
FBReactNativeSpec: bbe8b686178e5ce03d1d8a356789f211f91f31b8
Flipper: c7a0093234c4bdd456e363f2f19b2e4b27652d44
Expand Down Expand Up @@ -1641,15 +1615,14 @@ SPEC CHECKSUMS:
React-jsinspector: 1729acf5ffe2d4439d698da25fddf0c75d07d1a1
React-logger: 60afd40b183e8e6642bfd0108f1a1ad360cc665e
React-Mapbuffer: 672a9342eb75a4d0663306e94d4dfc88aee73b93
react-native-blob-util: d8fa1a7f726867907a8e43163fdd8b441d4489ea
react-native-blob-util: 18b510205c080a453574a7d2344d64673d0ad9af
react-native-blur: 799045500f56146afc46245148080e7b7623cb75
react-native-config: 86038147314e2e6d10ea9972022aa171e6b1d4d8
react-native-encrypted-storage: db300a3f2f0aba1e818417c1c0a6be549038deb7
react-native-get-random-values: 384787fd76976f5aec9465aff6fa9e9129af1e74
react-native-image-picker: e8f292d7d7f04778cfd0fa91466ac66acea96b1a
react-native-mmkv: e97c0c79403fb94577e5d902ab1ebd42b0715b43
react-native-netinfo: 8a7fd3f7130ef4ad2fb4276d5c9f8d3f28d2df3d
react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846
react-native-get-random-values: 21325b2244dfa6b58878f51f9aa42821e7ba3d06
react-native-image-picker: d3db110a3ded6e48c93aef7e8e51afdde8b16ed0
react-native-mmkv: 1fdc81aa70c1aba09370718e6a63a09cbbbac8d2
react-native-netinfo: 076df4f9b07f6670acf4ce9a75aac8d34c2e2ccc
react-native-safe-area-context: 39c2d8be3328df5d437ac1700f4f3a4f75716acc
React-nativeconfig: 2e44d0d2dd222b12a5183f4bcaa4a91881497acb
React-NativeModulesApple: 8aa032fe6c92c1a3c63e4809d42816284a56a9b0
Expand All @@ -1671,18 +1644,18 @@ SPEC CHECKSUMS:
React-runtimescheduler: 1c40cfe98dcc7b06354d96a1cd8ee10cbc4cc797
React-utils: 4cc2ba652f5df1c8f0461d4ae9e3ee474c1354ea
ReactCommon: 1da3fc14d904883c46327b3322325eebf60a720a
RNCAsyncStorage: 618d03a5f52fbccb3d7010076bc54712844c18ef
RNCClipboard: 60fed4b71560d7bfe40e9d35dea9762b024da86d
RNCAsyncStorage: 826b603ae9c0f88b5ac4e956801f755109fa4d5c
RNCClipboard: 0a720adef5ec193aa0e3de24c3977222c7e52a37
RNCPushNotificationIOS: 64218f3c776c03d7408284a819b2abfda1834bc8
RNDeviceInfo: db5c64a060e66e5db3102d041ebe3ef307a85120
RNDeviceInfo: 59344c19152c4b2b32283005f9737c5c64b42fba
RNFastImage: 5c9c9fed9c076e521b3f509fe79e790418a544e8
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
RNLocalize: 4222a3756cdbe2dc9a5bdf445765a4d2572107cb
RNLocalize: e8694475db034bf601e17bd3dfa8986565e769eb
RNPermissions: 5b96247c15864f9d89d7f51eeb0f2b736a2b212d
RNReactNativeHapticFeedback: ec56a5f81c3941206fd85625fa669ffc7b4545f9
RNReanimated: 4f0931c29b1535a3a40a6c06797b1d9d39f50754
RNScreens: 17e2f657f1b09a71ec3c821368a04acbb7ebcb46
RNSVG: d00c8f91c3cbf6d476451313a18f04d220d4f396
RNReanimated: 6cfa556540186ce7ae7a0b048f369236b1d86ebb
RNScreens: 134a7511b12b8eb440b87aac21e36a71295d6024
RNSVG: af3907ac5d4fa26a862b75a16d8f15bc74f2ceda
SDWebImage: a7f831e1a65eb5e285e3fb046a23fcfbf08e696d
SDWebImageWebPCoder: 908b83b6adda48effe7667cd2b7f78c897e5111d
secp256k1.swift: a7e7a214f6db6ce5db32cc6b2b45e5c4dd633634
Expand All @@ -1697,4 +1670,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 47641fd2f7a6fc6169785131e7615d136e56edd8

COCOAPODS: 1.14.3
COCOAPODS: 1.15.2
2 changes: 0 additions & 2 deletions metro.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const {getDefaultConfig} = require('expo/metro-config');
const extraNodeModules = require('node-libs-browser');

const config = getDefaultConfig(__dirname);

Expand All @@ -16,7 +15,6 @@ module.exports = (() => {
babelTransformerPath: require.resolve('react-native-svg-transformer'),
};

config.resolver.extraNodeModules = extraNodeModules;
config.resolver.assetExts = resolver.assetExts.filter(ext => ext !== 'svg');
config.resolver.sourceExts = [...resolver.sourceExts, 'svg'];

Expand Down
16 changes: 7 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
},
"dependencies": {
"@aws-sdk/client-s3": "^3.496.0",
"@coinbase/wallet-mobile-sdk": "^1.0.13",
"@nozbe/watermelondb": "^0.27.1",
"@react-native-async-storage/async-storage": "^1.21.0",
"@react-native-clipboard/clipboard": "^1.13.2",
Expand All @@ -28,27 +29,23 @@
"@tanstack/query-sync-storage-persister": "^5.36.1",
"@tanstack/react-query": "^5.36.2",
"@tanstack/react-query-persist-client": "^5.36.2",
"@thirdweb-dev/react-native": "^0.5.4",
"@thirdweb-dev/react-native-compat": "^0.5.4",
"@xmtp/frames-client": "^0.5.1",
"@xmtp/react-native-sdk": "1.33.1-beta.2",
"aws-sdk": "^2.1540.0",
"ethers": "^5",
"expo": ">=50.0.0-0 <51.0.0",
"fastestsmallesttextencoderdecoder": "1.0.22",
"flatted": "^3.3.1",
"i18n-js": "^4.3.2",
"native-base": "^3.4.28",
"node-libs-browser": "^2.2.1",
"react": "18.2.0",
"react-native": "0.73.8",
"react-native-blob-util": "^0.19.6",
"react-native-config": "^1.5.1",
"react-native-crypto": "^2.2.0",
"react-native-device-info": "^10.12.0",
"react-native-encrypted-storage": "^4.0.3",
"react-native-fast-image": "^8.6.3",
"react-native-fs": "^2.20.0",
"react-native-get-random-values": "^1.10.0",
"react-native-get-random-values": "^1.11.0",
"react-native-haptic-feedback": "^2.2.0",
"react-native-image-picker": "^7.1.0",
"react-native-linear-gradient": "^2.8.3",
Expand All @@ -58,13 +55,12 @@
"react-native-permissions": "^4.1.5",
"react-native-push-notification": "^8.1.1",
"react-native-qrcode-svg": "^6.2.0",
"react-native-randombytes": "^3.6.1",
"react-native-reanimated": "^3.6.1",
"react-native-safe-area-context": "4.5.0",
"react-native-screens": "^3.29.0",
"react-native-svg": "^13.9.0",
"react-native-url-polyfill": "^2.0.0",
"wagmi": "^1.4.12"
"viem": "^2.13.1"
},
"devDependencies": {
"@babel/core": "^7.20.0",
Expand All @@ -91,7 +87,9 @@
"typescript": "5.0.4"
},
"resolutions": {
"react-native-webview": "13.6.3"
"react-native-webview": "13.6.3",
"@noble/curves": "1.2.0",
"@noble/hashes": "1.3.2"
},
"engines": {
"node": ">=18"
Expand Down
Loading

0 comments on commit 180dcf2

Please sign in to comment.