Skip to content

Commit

Permalink
feat: modify xrpl related texts and lib version
Browse files Browse the repository at this point in the history
  • Loading branch information
Polybius93 committed Oct 18, 2024
1 parent 39fa672 commit b023bc8
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config.devnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"bitcoinBlockchainURL": "https://devnet.dlc.link/electrs",
"bitcoinBlockchainExplorerURL": "https://devnet.dlc.link/electrs",
"bitcoinBlockchainFeeEstimateURL": "https://devnet.dlc.link/electrs/fee-estimates",
"rippleIssuerAddress": "ra9epzthPkNXykgfadCwu8D7mtajj8DVCP",
"rippleIssuerAddress": "sEdVdXVaTV9nbEfyjtiowJtyagiE1it",
"xrplWebsocket": "wss://s.altnet.rippletest.net:51233",
"ledgerApp": "Bitcoin Test",
"merchants": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"concurrently": "^8.2.2",
"d3": "^7.9.0",
"decimal.js": "^10.4.3",
"dlc-btc-lib": "2.4.2",
"dlc-btc-lib": "2.4.3",
"dotenv": "^16.3.1",
"ethers": "5.7.2",
"formik": "^2.4.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const blockchainTagPropertyMap = {
},
xrpl: {
logo: '/images/logos/xrp-logo.svg',
text: 'ON XRP',
text: 'ON XRPL',
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export function SelectWalletModal({ isOpen, handleClose }: ModalComponentProps):
>
<TabList>
<Tab>Ethereum</Tab>
<Tab>Ripple</Tab>
<Tab>XRPL</Tab>
</TabList>
</Tabs>
<SelectNetworkButton
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import { useContext } from 'react';

import { Button, HStack, Image, Spinner, Text, VStack } from '@chakra-ui/react';
import { Vault } from '@components/vault/vault';
import { useAddToken } from '@hooks/use-add-token';
import { Vault as VaultModel } from '@models/vault';
import { NetworkConfigurationContext } from '@providers/network-configuration.provider';

interface VaultsListGroupContainerProps {
label?: string;
Expand All @@ -18,6 +21,7 @@ export function VaultsListGroupContainer({
vaults,
}: VaultsListGroupContainerProps): React.JSX.Element | boolean {
const addToken = useAddToken();
const { networkType } = useContext(NetworkConfigurationContext);

if (vaults.length === 0) return false;

Expand All @@ -29,7 +33,7 @@ export function VaultsListGroupContainer({
{['Pending'].includes(label) && <Spinner color={'accent.lightBlue.01'} size={'md'} />}
<Text color={'white'}>{label}</Text>
</HStack>
{label === 'Minted dlcBTC' && (
{label === 'Minted dlcBTC' && networkType === 'evm' && (
<Button
variant={'ghost'}
size={'xs'}
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5195,10 +5195,10 @@ dir-glob@^3.0.1:
dependencies:
path-type "^4.0.0"

dlc-btc-lib@^2.4.2:
version "2.4.2"
resolved "https://registry.yarnpkg.com/dlc-btc-lib/-/dlc-btc-lib-2.4.2.tgz#1ef49a8d4ea631f3aca444502be102c7834ce4fa"
integrity sha512-Kwo3xcgO86uprDHBSo91hIOOmNqas35yp7KA6Fa51MIG0r/zvHFy0y89uzuMeyviUZM0xO4WwBCq3BSzT6HAMg==
[email protected].3:
version "2.4.3"
resolved "https://registry.yarnpkg.com/dlc-btc-lib/-/dlc-btc-lib-2.4.3.tgz#dec05b94525bd6aeb900171a3a6e31b5c863c644"
integrity sha512-+cXfkga1tvL3DV9kYs1n7Ul1wBrxflm264APEKJAqoRqnL94QAucE5sco09kjlFbJ5a5WlNjMeMx/zLsvUQeTw==
dependencies:
"@gemwallet/api" "3.8.0"
"@ledgerhq/hw-app-btc" "10.4.1"
Expand Down

0 comments on commit b023bc8

Please sign in to comment.