- {mempoolFeeRates ? (
-
-
- Recommended fee rate: {defaultFeeRate} sats/vB
-
-
- Transaction fee amount:{" "}
-
- {satoshiToBtc(stakingFeeSat)} {coinName}
-
-
+
+ {mempoolFeeRates ? (
+ <>
+
+
Network Fee Rate
+
+ 25 Sats/vB
+
+
- ) : (
-
- )}
-
-
+
+
Bitcoin Network Fee
+
+ 0.00000025
+
+ $0.02
+
+
+
+
+
Babylon Network Fee
+
+ 2.0000
+
+ $0.02
+
+
+
+
+
+
+ Total
+
+
+
+ 0.004
+
+
+ $370.03
+
+
+
+ >
+ ) : (
+
+ )}
);
};
diff --git a/src/app/components/Staking/Staking.tsx b/src/app/components/Staking/Staking.tsx
index 834cdc24..a3b9ecfb 100644
--- a/src/app/components/Staking/Staking.tsx
+++ b/src/app/components/Staking/Staking.tsx
@@ -1,5 +1,7 @@
+import { Button, Heading, Text } from "@babylonlabs-io/bbn-core-ui";
import { useQuery, useQueryClient } from "@tanstack/react-query";
import { useEffect, useMemo, useState } from "react";
+import { MdErrorOutline } from "react-icons/md";
import { Tooltip } from "react-tooltip";
import { useLocalStorage } from "usehooks-ts";
@@ -29,7 +31,6 @@ import { PreviewModal } from "../Modals/PreviewModal";
import { FinalityProviders } from "./FinalityProviders/FinalityProviders";
import { StakingAmount } from "./Form/StakingAmount";
import { StakingFee } from "./Form/StakingFee";
-import { StakingTime } from "./Form/StakingTime";
import { Message } from "./Form/States/Message";
import { WalletNotConnected } from "./Form/States/WalletNotConnected";
import apiNotAvailable from "./Form/States/api-not-available.svg";
@@ -452,85 +453,115 @@ export const Staking = () => {
signReady && feeRate && availableUTXOs && stakingAmountSat;
return (
- <>
-
- Step-2: Set up staking terms
-
-
+
+
+
+ Step 2
+
+
+ Set Staking Amount
+
+
+
+
+
+
+
+ Info
+
+
+ You can unbond and withdraw your stake anytime with an
+ unbonding time of 7 days.
+
+
+ Learn More
+
+
+
-
-
- {signReady && (
-
+
+ {signReady && (
+
+ )}
+
+
+
+
+
+ {previewReady && (
+
)}
-
-
-
-
- {previewReady && (
-
- )}
- >
+
);
}
};
return (
-
-
Staking
+
+
+ Bitcoin Staking
+
-
+
-
-
diff --git a/src/app/components/Stats/Stats.tsx b/src/app/components/Stats/Stats.tsx
index fa77d464..7ee763d4 100644
--- a/src/app/components/Stats/Stats.tsx
+++ b/src/app/components/Stats/Stats.tsx
@@ -26,7 +26,7 @@ export const Stats = memo(() => {
return (