change url to the ghost-connect

Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
Uncle Fatso 2026-05-03 17:18:48 +03:00
parent b11330bd23
commit a9f34987f2
Signed by: f4ts0
GPG Key ID: 565F4F2860226EBB
6 changed files with 12 additions and 13 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "ghost-dao-interface", "name": "ghost-dao-interface",
"private": true, "private": true,
"version": "0.7.32", "version": "0.7.33",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@ -4,7 +4,7 @@ import { parseKnownToken } from "../../components/Token/Token";
import { useUnstableProvider } from "../../hooks/ghost"; import { useUnstableProvider } from "../../hooks/ghost";
import { PrimaryButton } from "../Button" import { PrimaryButton } from "../Button"
const GHOST_CONNECT = 'https://git.ghostchain.io/ghostchain/ghost-extension-wallet/releases'; import { GHOST_CONNECT } from "../../constants/ecosystem";
function GhostChainSelect({ small }) { function GhostChainSelect({ small }) {
const { providerDetail, isConnected } = useUnstableProvider(); const { providerDetail, isConnected } = useUnstableProvider();

View File

@ -1,5 +1,7 @@
import { NetworkId } from "../constants"; import { NetworkId } from "../constants";
const GHOST_CONNECT = "https://connect.ghostchain.io/";
export const ECOSYSTEM = [ export const ECOSYSTEM = [
{ {
name: "GHOST chain", name: "GHOST chain",

View File

@ -16,6 +16,7 @@ import Token from "../../components/Token/Token";
import GhostStyledIcon from "../../components/Icon/GhostIcon"; import GhostStyledIcon from "../../components/Icon/GhostIcon";
import { PrimaryButton, SecondaryButton } from "../../components/Button"; import { PrimaryButton, SecondaryButton } from "../../components/Button";
import { GATEKEEPER_ADDRESSES, EMPTY_ADDRESS } from "../../constants/addresses"; import { GATEKEEPER_ADDRESSES, EMPTY_ADDRESS } from "../../constants/addresses";
import { GHOST_CONNECT } from "../../constants/ecosystem";
import { useLocalStorage } from "../../hooks/localstorage"; import { useLocalStorage } from "../../hooks/localstorage";
import { useBreakoutModal } from "../../hooks/breakoutModal"; import { useBreakoutModal } from "../../hooks/breakoutModal";
@ -175,7 +176,7 @@ const BridgeView = ({
</Box> </Box>
<Typography> <Typography>
Generate a unique address for per tx with <Link underline="hover" href={"https://git.ghostchain.io/ghostchain/ghost-extension-wallet/releases"} color={theme.colors.primary[300]}>GHOST connect</Link> for privacy. Generate a unique address for per tx with <Link underline="hover" href={GHOST_CONNECT} color={theme.colors.primary[300]}>GHOST connect</Link> for privacy.
</Typography> </Typography>
<SwapCard <SwapCard

View File

@ -24,6 +24,7 @@ import { PrimaryButton, TertiaryButton, SecondaryButton } from "../../components
import { formatCurrency } from "../../helpers"; import { formatCurrency } from "../../helpers";
import { DecimalBigNumber } from "../../helpers/DecimalBigNumber"; import { DecimalBigNumber } from "../../helpers/DecimalBigNumber";
import { GATEKEEPER_ADDRESSES } from "../../constants/addresses"; import { GATEKEEPER_ADDRESSES } from "../../constants/addresses";
import { GHOST_CONNECT } from "../../constants/ecosystem";
export const BridgeModal = ({ export const BridgeModal = ({
providerDetail, providerDetail,
@ -113,15 +114,8 @@ export const BridgeModal = ({
> >
<SecondaryButton <SecondaryButton
fullWidth fullWidth
sx={{ sx={{ marginTop: "0 !important", marginBottom: "0 !important" }}
marginTop: "0 !important", onClick={() => window.open(GHOST_CONNECT, '_blank', 'noopener,noreferrer')}
marginBottom: "0 !important"
}}
onClick={() => window.open(
'https://git.ghostchain.io/ghostchain/ghost-extension-wallet/releases',
'_blank',
'noopener,noreferrer'
)}
> >
Get GHOST Connect Get GHOST Connect
</SecondaryButton> </SecondaryButton>

View File

@ -25,6 +25,8 @@ import GhostStyledIcon from "../../components/Icon/GhostIcon";
import InfoTooltip from "../../components/Tooltip/InfoTooltip"; import InfoTooltip from "../../components/Tooltip/InfoTooltip";
import { PrimaryButton } from "../../components/Button"; import { PrimaryButton } from "../../components/Button";
import { GHOST_CONNECT } from "../../constants/ecosystem";
export const ValidatorTable = ({ export const ValidatorTable = ({
currentTime, currentTime,
currentBlock, currentBlock,
@ -108,7 +110,7 @@ export const ValidatorTable = ({
<Typography sx={{ textAlign: "center" }} variant="h6">GHOST Connect is not detected on your browser!</Typography> <Typography sx={{ textAlign: "center" }} variant="h6">GHOST Connect is not detected on your browser!</Typography>
<Typography sx={{ textAlign: "center" }} variant="body2">Download GHOST Connect browser extension for real-time visibility into validator status and related transaction risks.</Typography> <Typography sx={{ textAlign: "center" }} variant="body2">Download GHOST Connect browser extension for real-time visibility into validator status and related transaction risks.</Typography>
<Typography sx={{ textAlign: "center" }} variant="body2"><b>Important:</b> The GHOST Connect is optional, but be aware that your bridge transaction will succeed or fail irreversibly based on the condition of the validators.</Typography> <Typography sx={{ textAlign: "center" }} variant="body2"><b>Important:</b> The GHOST Connect is optional, but be aware that your bridge transaction will succeed or fail irreversibly based on the condition of the validators.</Typography>
<PrimaryButton onClick={() => window.open('https://git.ghostchain.io/ghostchain/ghost-extension-wallet/releases', '_blank', 'noopener,noreferrer')}> <PrimaryButton onClick={() => window.open(GHOST_CONNECT, '_blank', 'noopener,noreferrer')}>
Get GHOST Connect Get GHOST Connect
</PrimaryButton> </PrimaryButton>
</Box> </Box>