diff --git a/src/app/components/Modals/Phase2Here.tsx b/src/app/components/Modals/Phase2Here.tsx
index 0a89c20e..961f6cd9 100644
--- a/src/app/components/Modals/Phase2Here.tsx
+++ b/src/app/components/Modals/Phase2Here.tsx
@@ -49,7 +49,10 @@ export const Phase2HereModal = ({
During the initial phase of the {bbnNetworkFullName} launch, eligibility
criteria will be in place for stake registration. Over time, access will
gradually expand to allow the registration of all existing stakers and
- the creation of new ones. Learn more here
+ the creation of new ones.{" "}
+
+ Learn more here
+
{shouldDisplayTestingMsg() && (
diff --git a/src/app/components/Modals/RegistrationModal/RegistrationEndModal.tsx b/src/app/components/Modals/RegistrationModal/RegistrationEndModal.tsx
index 9b2ac55a..742f7c1e 100644
--- a/src/app/components/Modals/RegistrationModal/RegistrationEndModal.tsx
+++ b/src/app/components/Modals/RegistrationModal/RegistrationEndModal.tsx
@@ -1,6 +1,6 @@
import { Text } from "@babylonlabs-io/bbn-core-ui";
-import { getNetworkConfigBBN } from "@/config/network/bbn";
+import { getNetworkConfig } from "@/config/network";
import { SubmitModal } from "../SubmitModal";
@@ -24,7 +24,7 @@ const SuccessIcon = () => (
);
-const { networkFullName } = getNetworkConfigBBN();
+const { bbn } = getNetworkConfig();
export function RegistrationEndModal({
open,
@@ -41,9 +41,10 @@ export function RegistrationEndModal({
cancelButton={undefined}
>
- Your staking transaction has been successfully registered to the
- {networkFullName}. It will be activated and receive voting power in a
- few blocks. You can monitor the Activity tab for the activation status.
+ Your staking transaction has been successfully registered to the{" "}
+ {bbn.networkFullName}. It will be activated and receive voting power in
+ a few blocks. You can monitor the Activity tab for the activation
+ status.
);
diff --git a/src/app/components/Modals/SlashingModal.tsx b/src/app/components/Modals/SlashingModal.tsx
index 122cd6e4..d2938a9d 100644
--- a/src/app/components/Modals/SlashingModal.tsx
+++ b/src/app/components/Modals/SlashingModal.tsx
@@ -21,7 +21,7 @@ export const SlashingModal = (props: UnbondModalProps) => {
return (
- Your finality provider equivocated(double-voted) leading to{" "}
+ Your finality provider equivocated (double-voted) leading to{" "}
{slashingRate}% of your stake getting slashed. You are about to withdraw
the remaining balance. A transaction fee will be deducted from your
stake by the {networkConfig.btc.networkName} network.
diff --git a/src/app/components/Modals/StakeModal.tsx b/src/app/components/Modals/StakeModal.tsx
index f1a2482a..3c2cd8f3 100644
--- a/src/app/components/Modals/StakeModal.tsx
+++ b/src/app/components/Modals/StakeModal.tsx
@@ -1,26 +1,27 @@
import { BiSolidBadgeCheck } from "react-icons/bi";
-import { getNetworkConfigBTC } from "@/config/network/btc";
+import { getNetworkConfig } from "@/config/network";
import { SubmitModal } from "./SubmitModal";
-const { networkName } = getNetworkConfigBTC();
-
interface StakeModalProps {
processing?: boolean;
open: boolean;
onSubmit?: () => void;
}
+const { btc, bbn } = getNetworkConfig();
+
export const StakeModal = ({ processing, open, onSubmit }: StakeModalProps) => (
}
title="Verified"
- submitButton={`Stake on ${networkName}`}
+ submitButton={`Stake ${btc.coinName}`}
onSubmit={onSubmit}
>
- Your request has been verified by the babylon blockchain. You can now stake
+ Your request has been verified by the ${bbn.networkFullName}. You can now
+ stake!
);
diff --git a/src/app/components/Modals/VerificationModal.tsx b/src/app/components/Modals/VerificationModal.tsx
index 66382e52..33fe6fc6 100644
--- a/src/app/components/Modals/VerificationModal.tsx
+++ b/src/app/components/Modals/VerificationModal.tsx
@@ -1,6 +1,6 @@
import { Loader } from "@babylonlabs-io/bbn-core-ui";
-import { getNetworkConfigBTC } from "@/config/network/btc";
+import { getNetworkConfig } from "@/config/network";
import { SubmitModal } from "./SubmitModal";
@@ -10,7 +10,7 @@ interface VerificationModalProps {
step: 1 | 2;
}
-const { networkName } = getNetworkConfigBTC();
+const { btc, bbn } = getNetworkConfig();
const VERIFICATION_STEPS = {
1: {
@@ -19,8 +19,7 @@ const VERIFICATION_STEPS = {
1/2
Processing Confirmation
>
),
- description:
- "Waiting for the staking confirmation to be confirmed on Babylon chain.",
+ description: `Waiting for the staking confirmation to be confirmed on ${bbn.networkFullName}.`,
},
2: {
title: (
@@ -28,7 +27,7 @@ const VERIFICATION_STEPS = {
2/2
Pending Verification
>
),
- description: "The Babylon chain is verifying your staking transaction.",
+ description: `The ${bbn.networkFullName} is verifying your staking transaction.`,
},
} as const;
@@ -42,7 +41,7 @@ export const VerificationModal = ({
open={open}
icon={}
title={VERIFICATION_STEPS[step].title}
- submitButton={`Stake on ${networkName}`}
+ submitButton={`Stake ${btc.coinName}`}
onSubmit={() => {}}
>
{VERIFICATION_STEPS[step].description}