XLabs / wormscan-ui

5 stars 3 forks source link

Integrate Berachain into Supported Chains in UI #674

Open SamantaCasal opened 1 month ago

SamantaCasal commented 1 month ago

Description:

Integrate Berachain into the supported chains in the UI. This involves ensuring that the Berachain is displayed with its logo and name across all views, including the chain filter in the transaction list. Additionally, in the transaction details, the transactions should link to the respective explorer for theBerachain. The integration should be done for testnet environment.

Acceptance Criteria:

  1. UI Integration:

    • Berachain is displayed with the correct logo and name in all relevant views.
    • The logo is sourced from SVG.
  2. Transaction Details:

    • Transactions on the Berachain link to the respective explorer.
    • Testnet transactions link to beratrail.
  3. Chain Filter Integration:

    • The Berachain is added to the chain filter in the transaction list.
    • Users can filter transactions by the Berachain in the transaction list.

4, Network Integration:

  1. Testnet Contracts: The following testnet contracts are correctly configured:
 berachain: {
    core: "0xBB73cB66C26740F31d1FabDC6b7A46a038A300dd",
    token_bridge: "0xa10f2eF61dE1f19f586ab8B6F2EbA89bACE63F7a",
    nft_bridge: undefined,
  },

Doc: https://docs.berachain.com/learn/