Skip to content

Commit

Permalink
open bridge bitcoin
Browse files Browse the repository at this point in the history
  • Loading branch information
haunv3 committed Jan 20, 2025
1 parent c71f1cd commit 4692e86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/helper/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const btcNetwork: any = 'bitcoin';
export const bitcoinChainId: any = ChainIdEnum.Bitcoin;
export const bitcoinLcd = 'https://btc.lcd.orai.io';
export const bitcoinLcdV2 = 'https://relayer-btc.oraidex.io';
export const CWAppBitcoinContractAddress = 'orai12sxqkgsystjgd9faa48ghv3zmkfqc6qu05uy20mvv730vlzkpvls5zqxuz';
export const CWAppBitcoinContractAddress = 'orai1g90x3z2kss99wvmpkenjdelmpw4hf9l3yt420gpgqvpuz8lt79uq24arlv';
export const CWBitcoinFactoryDenom = 'factory/orai1wuvhex9xqs3r539mvc6mtm7n20fcj3qr2m0y9khx6n5vtlngfzes3k0rq9/obtc';

export const MIN_DEPOSIT_BTC = 600;
Expand All @@ -23,4 +23,5 @@ export const AMOUNT_BALANCE_ENTRIES_UNIVERSAL_SWAP: [number, string, string][] =
export const DEFAULT_RELAYER_FEE = '1000000';
export const RELAYER_DECIMAL = 6;
export const DAY_IN_MILIS = 86400000;
export const DEFAULT_TOKEN_ICON_URL = 'https://raw.githubusercontent.com/cosmos/chain-registry/master/oraichain/images/orai-token.png';
export const DEFAULT_TOKEN_ICON_URL =
'https://raw.githubusercontent.com/cosmos/chain-registry/master/oraichain/images/orai-token.png';
4 changes: 2 additions & 2 deletions src/pages/Balance/TransferConvertToken/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -485,10 +485,10 @@ const TransferConvertToken: FC<TransferConvertProps> = ({
) {
const isValidateFeeTon = bridgeFeeTon ? convertAmount < bridgeFeeTon : false;
// const isSolBridge = token.chainId === solChainId || toNetworkChainId === solChainId;
const isBridgeBitcoin = token.chainId === ('bitcoin' as any) || toNetworkChainId === ('bitcoin' as any);
// const isBridgeBitcoin = token.chainId === ('bitcoin' as any) || toNetworkChainId === ('bitcoin' as any);
const isDisabled =
// isSolBridge ||
isBridgeBitcoin ||
// isBridgeBitcoin ||
transferLoading ||
!addressTransfer ||
receivedAmount < 0 ||
Expand Down

0 comments on commit 4692e86

Please sign in to comment.