Skip to content

Commit 2b0114b

Browse files
authored
fix(docs): update explorers and contract references (#1032)
2 parents df08650 + fe14cdb commit 2b0114b

File tree

12 files changed

+116
-141
lines changed

12 files changed

+116
-141
lines changed

docs/1-intro.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ Dive in to Flare's enshrined data, fast finality, and soon, verifiable compute w
6464
</div>
6565
</div>
6666

67-
| Network | Flare Mainnet | Flare Testnet Coston2 |
68-
| :----------- | :----------------------------------------------- | :------------------------------------------------------------------------------- |
69-
| **RPC** | `https://flare-api.flare.network/ext/C/rpc` | `https://coston2-api.flare.network/ext/C/rpc` |
70-
| **Chain ID** | `14` | `114` |
71-
| **Explorer** | [`https://flarescan.com`](https://flarescan.com) | [`https://coston2.testnet.flarescan.com`](https://coston2.testnet.flarescan.com) |
72-
| **Faucet** | N/A | Request C2FLR from the [Coston2 Faucet](https://faucet.flare.network/coston2) |
67+
| Network | Flare Mainnet | Flare Testnet Coston2 |
68+
| :----------- | :----------------------------------------------------------------------------- | :--------------------------------------------------------------------------------- |
69+
| **RPC** | `https://flare-api.flare.network/ext/C/rpc` | `https://coston2-api.flare.network/ext/C/rpc` |
70+
| **Chain ID** | `14` | `114` |
71+
| **Explorer** | [`https://flare-explorer.flare.network`](https://flare-explorer.flare.network) | [`https://coston2-explorer.flare.network`](https://coston2-explorer.flare.network) |
72+
| **Faucet** | N/A | Request C2FLR from the [Coston2 Faucet](https://faucet.flare.network/coston2) |
7373

7474
Additional configuration and API resources are detailed on the [Network](/network/overview) page.
7575

docs/ftso/guides/build-first-app.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ This guide is for developers who want to build an FTSOv2 application using eithe
466466

467467
</details>
468468

469-
You can see the transaction using the [Coston2 Explorer](https://coston2.testnet.flarescan.com/) by searching for its `transactionHash`.
469+
You can see the transaction using the [Coston2 Explorer](https://coston2-explorer.flare.network) by searching for its `transactionHash`.
470470

471471
Congratulations! You've built your first FTSOv2 app using Foundry.
472472

@@ -487,7 +487,7 @@ This guide is for developers who want to build an FTSOv2 application using eithe
487487

488488
3. Interact with the contract:
489489

490-
Copy and paste the deployed contract address into the [Coston2 explorer](https://coston2.testnet.flarescan.com) to view and interact with the contract.
490+
Copy and paste the deployed contract address into the [Coston2 explorer](https://coston2-explorer.flare.network) to view and interact with the contract.
491491

492492
Congratulations! You've built your first FTSOv2 app using Hardhat.
493493

docs/ftso/scaling/4-solidity-reference.mdx

Lines changed: 40 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -15,46 +15,50 @@ keywords:
1515
import Tabs from "@theme/Tabs";
1616
import TabItem from "@theme/TabItem";
1717
import DocCardList from "@theme/DocCardList";
18+
import SolidityReference from "@site/src/components/DataTables/SolidityReference";
1819

1920
## Deployed Contracts
2021

22+
export const contracts = [
23+
"FtsoFeedPublisher",
24+
"FtsoInflationConfigurations",
25+
"FtsoRewardOffersManager",
26+
];
27+
2128
<Tabs block>
22-
<TabItem value="flare" label="Flare Mainnet" default>
23-
24-
| **Contract** | **Address** | **ABI** |
25-
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
26-
| FtsoFeedPublisher | [`0x91fe21970754FAf858B976DC93c3Aa2cE7848571`](https://flarescan.com/address/0x91fe21970754FAf858B976DC93c3Aa2cE7848571) | [ABI](https://api.routescan.io/v2/network/mainnet/evm/14/etherscan/api?module=contract&action=getabi&address=0x91fe21970754FAf858B976DC93c3Aa2cE7848571&format=raw) |
27-
| FtsoInflationConfigurations | [`0xc8f3BBFbAb36838a80789CF116B8cF827430E6c7`](https://flarescan.com/address/0xc8f3BBFbAb36838a80789CF116B8cF827430E6c7) | [ABI](https://api.routescan.io/v2/network/mainnet/evm/14/etherscan/api?module=contract&action=getabi&address=0xc8f3BBFbAb36838a80789CF116B8cF827430E6c7&format=raw) |
28-
| FtsoRewardOffersManager | [`0x244EA7f173895968128D5847Df2C75B1460ac685`](https://flarescan.com/address/0x244EA7f173895968128D5847Df2C75B1460ac685) | [ABI](https://api.routescan.io/v2/network/mainnet/evm/14/etherscan/api?module=contract&action=getabi&address=0x244EA7f173895968128D5847Df2C75B1460ac685&format=raw) |
29-
30-
</TabItem>
31-
<TabItem value="coston2" label="Flare Testnet Coston2">
32-
33-
| **Contract** | **Address** | **ABI** |
34-
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
35-
| FtsoFeedPublisher | [`0x4fEcE851632C2A88519bE4C92eA238bbE71D882D`](https://coston2.testnet.flarescan.com/address/0x4fEcE851632C2A88519bE4C92eA238bbE71D882D) | [ABI](https://api.routescan.io/v2/network/testnet/evm/114/etherscan/api?module=contract&action=getabi&address=0x4fEcE851632C2A88519bE4C92eA238bbE71D882D&format=raw) |
36-
| FtsoInflationConfigurations | [`0x14Cf71e1a73e22B1ef9b47d85eC492259D8C3C81`](https://coston2.testnet.flarescan.com/address/0x14Cf71e1a73e22B1ef9b47d85eC492259D8C3C81) | [ABI](https://api.routescan.io/v2/network/testnet/evm/114/etherscan/api?module=contract&action=getabi&address=0x14Cf71e1a73e22B1ef9b47d85eC492259D8C3C81&format=raw) |
37-
| FtsoRewardOffersManager | [`0x1b7ffab226b66b5eCBdC79a42287BC09C05bCb33`](https://coston2.testnet.flarescan.com/address/0x1b7ffab226b66b5eCBdC79a42287BC09C05bCb33) | [ABI](https://api.routescan.io/v2/network/testnet/evm/114/etherscan/api?module=contract&action=getabi&address=0x1b7ffab226b66b5eCBdC79a42287BC09C05bCb33&format=raw) |
38-
39-
</TabItem>
40-
<TabItem value="songbird" label="Songbird Canary-Network">
41-
42-
| **Contract** | **Address** | **ABI** |
43-
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
44-
| FtsoFeedPublisher | [`0xD29D1AE96c5D505Bcf886d38C9DC0358b326E458`](https://songbird.flarescan.com/address/0xD29D1AE96c5D505Bcf886d38C9DC0358b326E458) | [ABI](https://api.routescan.io/v2/network/mainnet/evm/19/etherscan/api?module=contract&action=getabi&address=0xD29D1AE96c5D505Bcf886d38C9DC0358b326E458&format=raw) |
45-
| FtsoInflationConfigurations | [`0xedCC74C6Dac98abB2F658D8cF6112D6B53B0E78D`](https://songbird.flarescan.com/address/0xedCC74C6Dac98abB2F658D8cF6112D6B53B0E78D) | [ABI](https://api.routescan.io/v2/network/mainnet/evm/19/etherscan/api?module=contract&action=getabi&address=0xedCC74C6Dac98abB2F658D8cF6112D6B53B0E78D&format=raw) |
46-
| FtsoRewardOffersManager | [`0x5aB9cB258a342001C4663D9526A1c54cCcF8C545`](https://songbird.flarescan.com/address/0x5aB9cB258a342001C4663D9526A1c54cCcF8C545) | [ABI](https://api.routescan.io/v2/network/mainnet/evm/19/etherscan/api?module=contract&action=getabi&address=0x5aB9cB258a342001C4663D9526A1c54cCcF8C545&format=raw) |
47-
48-
</TabItem>
49-
<TabItem value="coston" label="Songbird Testnet Coston">
50-
51-
| **Contract** | **Address** | **ABI** |
52-
| --------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
53-
| FtsoFeedPublisher | [`0x595AbCc4f9330b30ca31966dFfF71EBE0Af2b820`](https://coston.testnet.flarescan.com/address/0x595AbCc4f9330b30ca31966dFfF71EBE0Af2b820) | [ABI](https://api.routescan.io/v2/network/testnet/evm/16/etherscan/api?module=contract&action=getabi&address=0x595AbCc4f9330b30ca31966dFfF71EBE0Af2b820&format=raw) |
54-
| FtsoInflationConfigurations | [`0x4f634084483dE74cd4b69007fdF1DaeCC7354991`](https://coston.testnet.flarescan.com/address/0x4f634084483dE74cd4b69007fdF1DaeCC7354991) | [ABI](https://api.routescan.io/v2/network/testnet/evm/16/etherscan/api?module=contract&action=getabi&address=0x4f634084483dE74cd4b69007fdF1DaeCC7354991&format=raw) |
55-
| FtsoRewardOffersManager | [`0xC9534cB913150aD3e98D792857689B55e2404212`](https://coston.testnet.flarescan.com/address/0xC9534cB913150aD3e98D792857689B55e2404212) | [ABI](https://api.routescan.io/v2/network/testnet/evm/16/etherscan/api?module=contract&action=getabi&address=0xC9534cB913150aD3e98D792857689B55e2404212&format=raw) |
56-
57-
</TabItem>
29+
<TabItem value="flare" label="Flare Mainnet" default>
30+
31+
<SolidityReference
32+
network="FlareMainnet"
33+
contractNames={contracts}
34+
/>
35+
36+
</TabItem>
37+
<TabItem value="coston2" label="Flare Testnet Coston2">
38+
39+
<SolidityReference
40+
network="FlareTestnetCoston2"
41+
contractNames={contracts}
42+
/>
43+
44+
</TabItem>
45+
<TabItem value="songbird" label="Songbird Canary-Network">
46+
47+
<SolidityReference
48+
network="SongbirdCanaryNetwork"
49+
contractNames={contracts}
50+
/>
51+
52+
</TabItem>
53+
54+
<TabItem value="coston" label="Songbird Testnet Coston">
55+
56+
<SolidityReference
57+
network="SongbirdTestnetCoston"
58+
contractNames={contracts}
59+
/>
60+
61+
</TabItem>
5862

5963
</Tabs>
6064

docs/network/0-overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ Discover suitable options for your needs on the [Flare Wallets](https://flare.ne
368368
- **Participants (Validators):**
369369
- Nodes must meet a [minimum self-bond requirement](https://proposals.flare.network/FIP/FIP_5.html) (defined by governance) to become validators.
370370
- Validators participate in consensus voting and are randomly selected as leaders to propose new blocks, weighted by their total stake (self-bond + delegated stake).
371-
- The network currently features [around 90 validators](https://flarescan.com/validators) (median stake ≈0.7%, max stake ≈3.3%).
371+
- The network currently has [over 100 validators](https://flare-systems-explorer.flare.network/validators) (median stake ≈0.6%, max stake ≈2%).
372372

373373
- **Enshrined protocols:** In addition to consensus, Flare validators are also data providers for [FTSO](/ftso/overview) and [FDC](/fdc/overview).
374374

docs/network/1-getting-started.mdx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import YoutubeEmbed from "@site/src/components/youtube";
1010
import CodeBlock from "@theme/CodeBlock";
1111
import HelloWorld from "!!raw-loader!/examples/developer-hub-solidity/HelloWorld.sol";
1212
import OpenMetamask from "/static/img/deploy-first-contract/0-open-metamask.png";
13-
import AddCoston2 from "/static/img/deploy-first-contract/1-add-coston2.png";
1413
import ApproveCoston2 from "/static/img/deploy-first-contract/2-approve-coston2.png";
1514
import SwitchNetwork from "/static/img/deploy-first-contract/3-switch-networks.png";
1615
import CopyAddress from "/static/img/deploy-first-contract/4-copy-address.png";
@@ -57,9 +56,7 @@ You will create and deploy a simple "Hello World" smart contract following these
5756

5857
3. Follow the instructions to create a new wallet. During setup, you'll receive a 12-word mnemonic phrase. Safeguard this phrase in a secure location, as it's crucial for accessing your wallet in the future.
5958

60-
4. Add the Flare Testnet Coston2 to your MetaMask wallet. Go to the [Coston2 Explorer](https://coston2.testnet.flarescan.com/), scroll to the footer of the page and click on **Add Flare Testnet Coston2**.
61-
62-
<img src={AddCoston2} style={{ width: 300 }} />
59+
4. Add the Flare Testnet Coston2 to your MetaMask wallet. Go to the [Coston2 Explorer](https://coston2-explorer.flare.network), and click on **Connect** in the top right hand corner.
6360

6461
5. A MetaMask prompt will open asking you to approve adding the network. Click on **Approve**.
6562

@@ -148,7 +145,7 @@ Let's break down the `HelloWorld` contract:
148145

149146
<img src={ClickOnMessage} style={{ width: 300 }} />
150147

151-
The contract has an address just like your wallet address. To see details about your deployed contract, copy the contract address from the list in Remix and search for it in the [Coston2 Explorer](https://coston2.testnet.flarescan.com/).
148+
The contract has an address just like your wallet address. To see details about your deployed contract, copy the contract address from the list in Remix and search for it in the [Coston2 Explorer](https://coston2-explorer.flare.network).
152149

153150
</details>
154151

docs/network/guides/gasless-usdt0-transfers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ The frontend allows users to authorize transfers without directly paying gas. It
186186
2. Enter a recipient address and the amount of USD₮0 to transfer.
187187
3. Click **Send Gasless**. Your wallet will prompt you for a signature (this is offchain and gas-free for you).
188188
4. Once signed, the frontend sends the authorization to the relayer, which then submits the actual transaction to Flare Mainnet, paying the gas fee.
189-
5. Observe the feedback from the application for transaction status, and check the transaction on [Flarescan](https://flarescan.com).
189+
5. Observe the feedback from the application for transaction status, and check the transaction on [Flare Explorer](https://flare-explorer.flare.network).
190190

191191
Congratulations! You've now implemented a foundational system for gasless USD₮0 transfers on Flare Mainnet.
192192
This approach leverages EIP-712 and EIP-3009 to create a significantly improved user experience by abstracting away gas fees.

docs/network/guides/hardhat-foundry-starter-kit.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ The starter kit includes a basic setup for configuring Hardhat and Foundry, alon
158158

159159
3. Review and modify `hardhat.config.ts` to specify the networks you want to deploy to. The details for Flare Mainnet, Flare Testnet Coston2, Songbird Canary-Network and Songbird Testnet Coston are already included.
160160

161-
Optionally you can add the API keys for either [Flarescan](https://flarescan.com) or [Flare Explorer](https://flarescan.com) in the `.env` file.
161+
Optionally you can add the API keys for [Flare Explorer](https://flare-explorer.flare.network) in the `.env` file.
162162

163163
```bash
164164
npx hardhat run scripts/tryDeployment.ts

docs/support/faqs.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ Flare provides faucets for its public testnets:
3232

3333
### How do I add Flare/Songbird networks to my wallet (e.g., MetaMask)?
3434

35-
The easiest way is to visit the respective block explorer, scroll down to the footer, and click the "Add Network" button:
35+
The easiest way is to visit the respective block explorer, click on **Connect** in the top right corner, and approve adding the network to your wallet.
3636

37-
- **Flare Mainnet:** [Flarescan](https://flarescan.com/) or [Flare Explorer](https://flare-explorer.flare.network/)
38-
- **Coston2 Testnet:** [Coston2 Flarescan](https://coston2.testnet.flarescan.com/) or [Coston2 Explorer](https://coston2-explorer.flare.network/)
39-
- **Songbird Canary-Network:** [Songbird Flarescan](https://songbird.flarescan.com/) or [Songbird Explorer](https://songbird-explorer.flare.network/)
40-
- **Coston Testnet:** [Coston Flarescan](https://coston.testnet.flarescan.com/) or [Coston Explorer](https://coston-explorer.flare.network/)
37+
- **Flare Mainnet:** [Flare Explorer](https://flare-explorer.flare.network/)
38+
- **Coston2 Testnet:** [Coston2 Explorer](https://coston2-explorer.flare.network/)
39+
- **Songbird Canary-Network:** [Songbird Explorer](https://songbird-explorer.flare.network/)
40+
- **Coston Testnet:** [Coston Explorer](https://coston-explorer.flare.network/)
4141

4242
Alternatively, you can add them manually using the details on the [Network Configuration](/network/overview#configuration) page.
4343

docusaurus.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ const config: Config = {
185185
title: "Explore",
186186
items: [
187187
{
188-
label: "Flarescan",
189-
href: "https://flarescan.com/",
188+
label: "Flare Explorer",
189+
href: "https://flare-explorer.flare.network",
190190
},
191191
{
192192
label: "Systems Explorer",

src/components/DataTables/CustomFeeds.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const CustomFeeds = () => {
3939
<>
4040
Contract:{" "}
4141
<Link
42-
to={`https://flarescan.com/address/${row.contract}`}
42+
to={`https://flare-explorer.flare.network/address/${row.contract}`}
4343
target="_blank"
4444
rel="noopener noreferrer"
4545
>

0 commit comments

Comments
 (0)