Skip to content

Commit

Permalink
refactor: enable walletconnect by default (#541)
Browse files Browse the repository at this point in the history
* feat: implement Nano Contract integration with Wallet Connect

* chore: add undeclared style

* refactor: rename effect requestTokens to requestUnregisteredTokens

* feat: fire sentry error notification for method info not found

* feat: improve title of Arguments component

* refactor: reanem style value to field

* fix: FeedbackContent margin style

Remarks:
The `marginVertical` and `marginHorizontal` are not being applied. Probably this is a bug in ReactNative.

* lint: comply with rules

* fix: typo

* chore: added dependencies and shims needed by walletconnect

* refactor: using object destructuring in shims

* refactor: typo

* refactor: removed unused import on NanoContactTransactionHeader

* chore: removed walletconnect libraries from package

* feat: added hathor-rpc-handler from the deployed lib

* chore: changed CI version to 18x and 20x

* refactor: enabled walletconnect by default

* chore: updated package-lock

* chore: updated walletconnect dependencies to be equal to the patch

* refactor: default network is nano testnet (#542)

* chore: add undeclared style

* refactor: rename effect requestTokens to requestUnregisteredTokens

* feat: fire sentry error notification for method info not found

* feat: improve title of Arguments component

* refactor: reanem style value to field

* fix: FeedbackContent margin style

Remarks:
The `marginVertical` and `marginHorizontal` are not being applied. Probably this is a bug in ReactNative.

* lint: comply with rules

* fix: typo

* refactor: using object destructuring in shims

* refactor: typo

* refactor: removed unused import on NanoContactTransactionHeader

* chore: removed walletconnect libraries from package

* feat: added hathor-rpc-handler from the deployed lib

* refactor: enabled walletconnect by default

* refactor: added nano testnet as default network

* feat: allow the user to select the nano testnet in network settings

* refactor: removed walletservice urls from constants on nano testnet

* refactor: remove nc status from tx details (#546)

* refactor: remove nc status from tx details
* feat: add status label for voided tx

* feat: add event coin token as default alongside with hathor (#547)

* feat: add register nano contract buttom if nc not registered on new nc transaction (#545)

* feat: add register nano contract buttom if nc not registered on new nc transaction
* feat: add failure feedback modal for Nano Contract registration failure
* feat: restore ready state of nano contract registration also in the success path

* refactor: skip directly to the ChoosePinScreen (#543)

* refactor: skip directly to the ChoosePinScreen

* refactor: added a constant to determine whether to show the confirmation screen

* refactor: default skip_seed_confirmation to true

---------

Co-authored-by: Alex Ruzenhack <[email protected]>

* refactor: ignore confirmation modal (#544)

* refactor: ignore modal confirmation screen

* refactor: added a config to skip walletconnect confirmation modals

* feat: skip confirmation modal on sign message modal as well

---------

Co-authored-by: Alex Ruzenhack <[email protected]>
  • Loading branch information
andreabadesso and alexruzenhack authored Aug 29, 2024
1 parent b578582 commit 197d665
Show file tree
Hide file tree
Showing 16 changed files with 2,182 additions and 112 deletions.
19 changes: 19 additions & 0 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,13 @@ PODS:
- React-jsinspector (0.72.5)
- React-logger (0.72.5):
- glog
- react-native-compat (2.12.2):
- RCT-Folly (= 2021.07.22.00)
- React-Core
- react-native-get-random-values (1.11.0):
- React-Core
- react-native-netinfo (11.3.1):
- React-Core
- react-native-pager-view (5.4.25):
- React-Core
- react-native-randombytes (3.6.1):
Expand Down Expand Up @@ -612,6 +619,9 @@ DEPENDENCIES:
- React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`)
- React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`)
- React-logger (from `../node_modules/react-native/ReactCommon/logger`)
- "react-native-compat (from `../node_modules/@walletconnect/react-native-compat`)"
- react-native-get-random-values (from `../node_modules/react-native-get-random-values`)
- "react-native-netinfo (from `../node_modules/@react-native-community/netinfo`)"
- react-native-pager-view (from `../node_modules/react-native-pager-view`)
- react-native-randombytes (from `../node_modules/react-native-randombytes`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
Expand Down Expand Up @@ -717,6 +727,12 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/jsinspector"
React-logger:
:path: "../node_modules/react-native/ReactCommon/logger"
react-native-compat:
:path: "../node_modules/@walletconnect/react-native-compat"
react-native-get-random-values:
:path: "../node_modules/react-native-get-random-values"
react-native-netinfo:
:path: "../node_modules/@react-native-community/netinfo"
react-native-pager-view:
:path: "../node_modules/react-native-pager-view"
react-native-randombytes:
Expand Down Expand Up @@ -830,6 +846,9 @@ SPEC CHECKSUMS:
React-jsiexecutor: ff70a72027dea5cc7d71cfcc6fad7f599f63987a
React-jsinspector: aef73cbd43b70675f572214d10fa438c89bf11ba
React-logger: 2e4aee3e11b3ec4fa6cfd8004610bbb3b8d6cca4
react-native-compat: ea766c4bcad72b3cb36765a97a846c9551b5b802
react-native-get-random-values: 21325b2244dfa6b58878f51f9aa42821e7ba3d06
react-native-netinfo: bdb108d340cdb41875c9ced535977cac6d2ff321
react-native-pager-view: da490aa1f902c9a5aeecf0909cc975ad0e92e53e
react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846
react-native-safe-area-context: 68b07eabfb0d14547d36f6929c0e98d818064f02
Expand Down
Loading

0 comments on commit 197d665

Please sign in to comment.