-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
US-2005 EOA Core Wallet Implementation (#814)
* feat: EOA Wallet + adjustment for future wallets' structure * feat: account for previously created wallets from KMS * feat: account for old wallets created with KMS * lint: fix defined but never used * test: fix the useEnhancedWithGas.test * test: fix lib validate address test * fix: spelling of an createWallet error * refactor: remove KeyManagementSystem from NewMasterKeyScreen * fix: showing of Deploy Wallet screen. * feat: add comfirmation to _signedTypeData and signMessage requests * fix: CreateKeys and RootNav issues * fix: not unlocking is __DEV__ mode on ios * feat: show RBTC for EOAWallet + formatting (#815) * feat: RelayWallet implementation based on EOAWallet * refactor: remove unnecessary code related to old RIFWallet * fix: getFeeSymbol isRelayWallet param * fix: extra consent for _signTypedData * refactor: reject with err in signMessage, _signTypedData, sendTransaction * fix: correct estimation on fees * Bump version of Relay SDK that removes gas correction. * fix: getFormattedTokenValue function return value * feat: EOA Wallet + adjustment for future wallets' structure * feat: add USE_RELAY var into .env * feat: create easy switch between Relay and EOA Wallet * lint: format lib import * refactor: cleanup old wallet import/create code * feat: save chainId, use it to generate new private key if it changes * refactor: remove smartWalletAddress from EOAWallet * fix: txRequest payload error * fix: RBTC fee value being incorrect * fix: RBTC fee displayed incorrectly * fix: request.payload incorrectly assumed as an array * feat: formatLongAssNumbers util * fix: showing RBTC fee on SendScreen + small amounts formatting * fix: remove ass from the longNumber * fix: failing tests + remove unused components * fix: yarn.lock being unresolved * refactor: make 0.0000001 a const value * fix: increase back package versions * refactor: estimateGas function to exclude circular call smartWallet * chore: update to latest version of rif-relay-light-sdk * chore: relay beta 3 update * Add RIF Faucet as a known address in testnet. (#874) * Bump sdk to 1.1.1 to fix issue with RDOC estimations. * refactor: remove rif-wallet-core and its types * fix: token values formatting --------- Co-authored-by: Jesse Clark <[email protected]>
- Loading branch information
1 parent
be4f18e
commit 2caeb8f
Showing
62 changed files
with
1,252 additions
and
743 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
declare module 'react-native-config' { | ||
export interface NativeConfig { | ||
APP_ENV: string | ||
RIF_WALLET_SERVICE_URL: string | ||
RIF_WALLET_SERVICE_PUBLIC_KEY: string | ||
DEFAULT_CHAIN_TYPE: string | ||
RIF_WALLET_KEY: string | ||
WALLETCONNECT2_PROJECT_ID: string | ||
USE_RELAY: string | ||
} | ||
|
||
export const Config: NativeConfig | ||
export default Config | ||
} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.