Skip to content

Commit

Permalink
Upgraded wallet version (#1586)
Browse files Browse the repository at this point in the history
* upgraded wallet version - support for software wallets on test mode.

* enable software wallet from env
  • Loading branch information
creed-victor authored Aug 4, 2021
1 parent b16365f commit 2da3ed7
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 144 deletions.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ REACT_APP_TRANSAK_ENV=STAGING

REACT_APP_GOOGLE_ANALYTICS=UA-xxxxxxxxx-x
REACT_APP_INFURA_KEY=12b606df88b3420aad7828acd0f11902

REACT_APP_ENABLE_SOFTWARE_WALLET=true
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@rsksmart/rsk3": "0.3.4",
"@sentry/react": "5.25.0",
"@sentry/tracing": "5.25.0",
"@sovryn/react-wallet": "~2.0.0",
"@sovryn/react-wallet": "2.0.1-alpha.1",
"@svgr/webpack": "4.3.3",
"@testing-library/jest-dom": "5.1.1",
"@testing-library/react": "10.0.1",
Expand Down
2 changes: 2 additions & 0 deletions src/app/containers/WalletProvider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ export function WalletProvider(props: Props) {
showWrongNetworkRibbon: false,
remember: !customChain,
chainId: customChain ? bridgeChainId : currentChainId,
enableSoftwareWallet:
process.env.REACT_APP_ENABLE_SOFTWARE_WALLET === 'true',
};
}, [bridgeChainId, location]);

Expand Down
Loading

0 comments on commit 2da3ed7

Please sign in to comment.