diff --git a/src/app/components/FAQ/FAQ.tsx b/src/app/components/FAQ/FAQ.tsx index 8c45c47d..db828df8 100644 --- a/src/app/components/FAQ/FAQ.tsx +++ b/src/app/components/FAQ/FAQ.tsx @@ -1,6 +1,5 @@ import { Heading } from "@babylonlabs-io/bbn-core-ui"; -import { useNetworkInfo } from "@/app/hooks/client/api/useNetworkInfo"; import { getNetworkConfigBTC } from "@/config/network/btc"; import { questions } from "./data/questions"; @@ -8,11 +7,7 @@ import { Section } from "./Section"; interface FAQProps {} export const FAQ: React.FC = () => { - const { coinName, networkName } = getNetworkConfigBTC(); - const { data: networkInfo } = useNetworkInfo(); - const confirmationDepth = - networkInfo?.params.btcEpochCheckParams?.latestParam - ?.btcConfirmationDepth || 10; + const { coinName } = getNetworkConfigBTC(); return (
@@ -20,7 +15,7 @@ export const FAQ: React.FC = () => { FAQ’s
- {questions(coinName, networkName, confirmationDepth).map((question) => ( + {questions(coinName).map((question) => (
{ +export const questions = (coinName: string): Question[] => { const questionList = [ { title: "What is Babylon?", @@ -79,119 +73,6 @@ export const questions = (

), }, - { - title: `Is my ${coinName} safe? Could I get slashed?`, - content: ( - <> -

- You are not required to sign any PoS slashing-related - authorizations. Thus, in theory, the ${coinName} in your - self-custodial contract cannot be slashed due to the absence of your - authorization. -

-
- -

- However, there are still risks associated with your ${coinName}: -

-
- -
    -
  1. - 1. Code security -
    - There is an inherent risk that the code developed for Bitcoin - Staking has vulnerabilities or bugs. The Babylon team has - open-sourced the code, and it is under security audits. -
  2. -
    -
  3. - 2. System reliability -
    - The Bitcoin Staking system may be slow, unavailable, or - compromised, which may cause the staking service to be unavailable - or compromised, potentially leading to ${coinName} not being - unbondable or not withdrawable. -
  4. -
-

- The Babylon Labs team has open-sourced the code which has been - audited by{" "} - - Coinspect - - ,{" "} - - Zellic - - , and through a{" "} - - public security campaign facilitated by Cantina - - . -

- - ), - }, - { - title: "How long will it take for my stake to become active?", - content: ( - <> -

- A stake’s status demonstrates the current stage of the staking - process. All stake starts in a Pending state, which denotes - that the ${coinName} Staking transaction does not yet have - sufficient ${coinName} block confirmations. As soon as it receives $ - {confirmationDepth || 10} ${coinName} block confirmations, the - status transitions to Overflow or Active.{" "} -

-
- -

- In an amount-based cap, a stake is Overflow if the system has - already accumulated the maximum amount of ${coinName} it can accept. -

-
-

- In a time-based cap, where there is a starting block height and an - ending block height, a stake is Overflow if it is included in - a ${coinName} block that is newer than the ending block. -

-
-

- Otherwise, the stake is Active. -

-
-

- You should unbond and withdraw a stake that is Overflow. -

- - ), - }, - { - title: "Do I get rewards for staking?", - content: ( -

- No. This is a locking-only phase without a PoS chain. There is no PoS - staking reward nor incentives for participation. -

- ), - }, { title: "Are there any other ways to stake?", content: ( @@ -210,61 +91,6 @@ export const questions = (

), }, - { - title: "Will I pay any fees for staking?", - content: ( - <> -

- You will need to pay {networkName} network fees to have transaction - messages delivered and results recorded on the Bitcoin blockchain. - Examples include staking, unbonding, and withdrawal transactions. - This interface may provide estimates of network fees. However, the - actual network fee may be higher.
- - If you lock your {coinName} in a staking transaction without the - necessary amount of {coinName} in the staked amount to pay for the - unbonding and withdrawal transactions, you won’t be able to unbond - or withdraw (although that also means the staked amount is less - than those transaction fees). The stake will remain locked unless - the {networkName} network fees come down sufficiently. - {" "} - Here are more details about the network fees: -

-
-
    -
  1. - 1. Staking Transaction Fee (Fs): This fee is for the - staking transaction. To stake amount S, you need at least S + Fs - in your wallet. It is calculated in real-time based on current - network conditions. -
  2. -
    -
  3. - 2. Unbonding Transaction Fee (Fu): If you unbond your stake - before it expires, this fee is deducted from your stake S, - resulting in a withdrawable amount of S - Fu. Fu is a calculated - static value to ensure inclusion in busy network conditions. -
  4. -
    -
  5. - 3. Withdraw Transaction Fee (Fw): This fee is for the - withdrawal transaction that transfers the stake back to your - wallet. It is deducted from your withdrawable stake, which is - either S (if you wait until expiration) or S - Fu (if unbonded - early). This fee ensures fast inclusion based on current network - conditions. -
  6. -
-
-

- In summary, to stake S, you need S + Fs, and upon completion, you - get S - Fw or S - Fu - Fw back, depending on whether you wait for - expiration or unbond early. -

- , - - ), - }, { title: "Is it ok to use a wallet holding fungible tokens built on Bitcoin (e.g. BRC-20/ARC-20/Runes)?", @@ -279,31 +105,6 @@ export const questions = (

), }, - { - title: "Are hardware wallets supported?", - content: ( -

- Keystone via QR code is the only hardware wallet supporting Bitcoin - Staking. Using any other hardware wallet through any means (such as - connection to a software/extension/mobile wallet) can lead to - permanent inability to withdraw the stake. -

- ), - }, ]; - if (shouldDisplayTestingMsg()) { - questionList.push({ - title: "What is the goal of this testnet?", - content: ( -

- The goal of this testnet is to ensure the security of the staked - Bitcoins by testing the user's interaction with the {coinName}{" "} - network. This will be a lock-only network without any PoS chain - operating, meaning that the only participants of this testnet will be - finality providers and {coinName} stakers. -

- ), - }); - } return questionList; };