Skip to content

Commit d8cd3b3

Browse files
authored
fix(docs): improve homepage (#695)
2 parents c4d0c3e + 5519b87 commit d8cd3b3

File tree

4 files changed

+66
-47
lines changed

4 files changed

+66
-47
lines changed

docs/1-intro.mdx

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,37 @@ sidebar_position: 1
33
slug: /
44
title: Flare Developer Hub ☀️
55
sidebar_label: Home
6-
description: Introduction to Flare, the blockchain for data.
6+
description: Build on Flare, the EVM Layer 1 engineered for a data-rich, interconnected future
77
keywords:
88
[
99
flare-network,
1010
blockchain,
11-
data,
12-
smart contracts,
11+
evm-compatible,
12+
solidity,
13+
layer-1,
14+
data-rich,
15+
cross-chain-interoperability,
16+
smart-contracts,
17+
ftso,
1318
flare-time-series-oracle,
19+
fdc,
1420
flare-data-connector,
21+
fassets,
22+
defi,
23+
ai,
24+
identity,
25+
tradfi,
26+
oracle,
1527
]
1628
---
1729

1830
import ThemedImage from "@theme/ThemedImage";
1931
import useBaseUrl from "@docusaurus/useBaseUrl";
2032
import DocCard from "@theme/DocCard";
2133

34+
Flare is the only EVM L1 with enshrined data, enabling intelligent, chain-agnostic applications.
35+
Experience fast finality, robust developer tooling, interoperability, and soon, verifiable compute - all engineered for a data-rich, interconnected future.
36+
2237
## Getting Started
2338

2439
<div className="row">
@@ -53,7 +68,7 @@ import DocCard from "@theme/DocCard";
5368
| **RPC** | `https://flare-api.flare.network/ext/C/rpc` | `https://coston2-api.flare.network/ext/C/rpc` |
5469
| **Chain ID** | `14` | `114` |
5570
| **Explorer** | [`https://flarescan.com`](https://flarescan.com) | [`https://coston2.testnet.flarescan.com`](https://coston2.testnet.flarescan.com) |
56-
| **Faucet** | - | Request C2FLR from the [Coston2 Faucet](https://faucet.flare.network/coston2) |
71+
| **Faucet** | N/A | Request C2FLR from the [Coston2 Faucet](https://faucet.flare.network/coston2) |
5772

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

@@ -118,7 +133,7 @@ Additional configuration and API resources are detailed on the [Network](/networ
118133
type: "link",
119134
label: "Wallet SDKs",
120135
href: "/network/developer-tools#wallet-sdks",
121-
description: "Turnkey, Wagmi, Web3Auth, RainbowKit, Etherspot",
136+
description: "Turnkey, Wagmi, Web3Auth, RainbowKit, Etherspot.",
122137
docId: undefined,
123138
}}
124139
/>
@@ -129,7 +144,7 @@ Additional configuration and API resources are detailed on the [Network](/networ
129144
type: "link",
130145
label: "Bridges",
131146
href: "/network/developer-tools#bridges",
132-
description: "LayerZero, Stargate, zkBridge",
147+
description: "LayerZero, Stargate, zkBridge.",
133148
docId: undefined,
134149
}}
135150
/>
@@ -140,7 +155,7 @@ Additional configuration and API resources are detailed on the [Network](/networ
140155
type: "link",
141156
label: "Indexers",
142157
href: "/network/developer-tools#indexers",
143-
description: "Goldsky, sqd, SubQuery",
158+
description: "Goldsky, sqd, SubQuery.",
144159
docId: undefined,
145160
}}
146161
/>
@@ -151,7 +166,7 @@ Additional configuration and API resources are detailed on the [Network](/networ
151166
type: "link",
152167
label: "OFTs",
153168
href: "/network/developer-tools#ofts",
154-
description: "USD₮0, flrETH, USDC.e, WETH, USDT",
169+
description: "USD₮0, flrETH, USDC.e, WETH, USDT.",
155170
docId: undefined,
156171
}}
157172
/>
@@ -164,7 +179,7 @@ Gain a deep understanding of the core concepts that differentiate Flare from oth
164179
Its native data protocols - [Flare Time Series Oracle](/ftso/overview) and [Flare Data Connector](/fdc/overview) - are enshrined directly into the core [Flare Systems Protocol](/network/fsp), inheriting the full economic security of the Flare network.
165180

166181
<ThemedImage
167-
alt="Flare Architecture"
182+
alt="Diagram of Flare's architecture, illustrating the Flare Systems Protocol with its enshrined data protocols including the Flare Time Series Oracle and Flare Data Connector."
168183
sources={{
169184
light: useBaseUrl("img/flare_architecture_light.svg"),
170185
dark: useBaseUrl("img/flare_architecture_dark.svg"),
@@ -213,7 +228,7 @@ Its native data protocols - [Flare Time Series Oracle](/ftso/overview) and [Flar
213228
item={{
214229
type: "link",
215230
label: "Contribute to Flare AI Kit",
216-
href: "https://github.com/flare-foundation/flare-ai-kit",
231+
href: "https://github.com/flare-foundation/flare-ai-kit/issues",
217232
description: "Build the future of Verifiable AI with TEEs on Flare.",
218233
docId: undefined,
219234
}}

docs/network/0-overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ Discover suitable options for your needs on the [Flare Wallets](https://flare.ne
383383
Integrating Flare is similar to integrating Ethereum or other EVM chains.
384384
To add it to your exchange set up an [RPC node](/run-node#rpc-node) and use the appropriate [network configuration](#configuration) for Flare Mainnet.
385385

386-
Additional resources: [Flare Brand assets](https://flare.network/media/), [go-flare Source Code](https://github.com/flare-foundation/go-flare)
386+
Additional resources: [Flare brand assets](https://flare.network/media/), [go-flare source code](https://github.com/flare-foundation/go-flare)
387387

388388
:::
389389

docs/run-node/5-flare-entity.mdx

Lines changed: 39 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ A Flare Entity consists of the following six components:
2929
5. **Feed Value Provider**: Retrieves data from exchanges and supplies current feed values (prices).
3030
6. **FDC Client**: Provides FDC protocol voting round data to the System Client.
3131

32+
:::warning[Rewards and Minimal conditions]
33+
34+
After the introduction of [minimal conditions](/network/fsp/rewarding#minimal-conditions) in [FIP.10](https://proposals.flare.network/FIP/FIP_10.html), a Flare Entity needs to be both **available** and **performant** across all Flare protocols in order to be eligible for rewards.
35+
Learn how to check if your Flare Entity meets minimal conditions and the rewards it accrued in the [FAQs](#faqs) section (see **FAQ F1** and **FAQ F2**).
36+
37+
:::
38+
3239
## Prerequisites
3340

3441
- A machine meeting the [minimum hardware requirements](/run-node/system-requirements).
@@ -51,21 +58,6 @@ Log out and log back in or restart your system for the changes to take effect.
5158

5259
:::
5360

54-
## Rewards
55-
56-
:::warning[Minimal conditions]
57-
58-
After the introduction of [minimal conditions](/network/fsp/rewarding#minimal-conditions) in [FIP.10](https://proposals.flare.network/FIP/FIP_10.html), a Flare Entity needs to be both **available** and **performant** across all Flare protocols in order to be eligible for rewards.
59-
60-
:::
61-
62-
- [FSP rewards](https://github.com/flare-foundation/FTSO-Scaling/blob/main/scripts/rewards/README.md#claiming-rewards) information is available at [flare-foundation/fsp-rewards](https://github.com/flare-foundation/fsp-rewards/tree/main/flare) and on the [Discourse Forum](https://forum.flare.network/t/fsp-rewards-data) (see XLSX file for historical reward data).
63-
Updated every reward epoch (3.5 days).
64-
- [Validator staking rewards](/network/guides/using-flare-stake-tool#claiming-rewards) information is available at [flare-foundation/reward-scripts](https://github.com/flare-foundation/reward-scripts/tree/main/generated-files).
65-
Updated every 4 reward epochs (14 days).
66-
67-
Learn how to check your Flare Entity rewards in the [FAQs](#faqs) section.
68-
6961
## Registration
7062

7163
Before deploying the Flare Entity components, several one-time registration steps must be completed onchain.
@@ -711,28 +703,28 @@ To get your validator logo and name listed on the explorers, open a PR on [TowoL
711703
:::
712704

713705
<details>
714-
<summary>`system-client` is not doing anything</summary>
706+
<summary>T1. `system-client` is not doing anything</summary>
715707

716708
Likely, your entity is not registered as a voter for the current reward epoch. There is a time window for voter registration on every reward epoch, and if you leave things running you should eventually see `RegisterVoter success` in the logs. It should then start submitting data successfully in the **following** reward epoch.
717709

718710
</details>
719711

720712
<details>
721-
<summary>`system-client` fails to fetch sub-protocol data</summary>
713+
<summary>T2. `system-client` fails to fetch sub-protocol data</summary>
722714

723715
The `c-chain-indexer` may still be indexing data, once it's finished you should see `Indexer at block x` in the logs. If it's still processing blocks you will see various errors across all services.
724716

725717
</details>
726718

727719
<details>
728-
<summary>`fast-updates` client is not doing anything</summary>
720+
<summary>T3. `fast-updates` client is not doing anything</summary>
729721

730722
If you have low weight it may take some time until you are selected to submit an update.
731723

732724
</details>
733725

734726
<details>
735-
<summary>Insufficient funds errors on `fast-updates` client</summary>
727+
<summary>T4. Insufficient funds errors on `fast-updates` client</summary>
736728

737729
If your Fast Updates client is showing the following error, it means that the account you are using to submit transactions does not have enough funds to cover the gas fees.
738730

@@ -745,7 +737,7 @@ You need to fund [all Fast Updates accounts](#create-fast-updates-accounts) acco
745737
</details>
746738

747739
<details>
748-
<summary>Icon and logo don't show up on Flare explorers</summary>
740+
<summary>T5. Icon and logo don't show up on Flare explorers</summary>
749741

750742
To get your validator logo and name listed on the explorers, open a PR on [TowoLabs/ftso-signal-providers](https://github.com/TowoLabs/ftso-signal-providers).
751743

@@ -754,7 +746,7 @@ To get your validator logo and name listed on the explorers, open a PR on [TowoL
754746
## FAQs
755747

756748
<details>
757-
<summary>How do I check if my Flare Entity meets Minimal Conditions?</summary>
749+
<summary>F1. How do I check if my Flare Entity meets Minimal Conditions?</summary>
758750

759751
Meeting [minimal conditions](/network/fsp/rewarding#minimal-conditions) for availability and performance in each reward epoch is necessary for FSP reward eligibility.
760752
You can check your entity's status using two primary methods:
@@ -805,14 +797,14 @@ You can query the API that powers the explorer for programmatic access.
805797
</details>
806798

807799
<details>
808-
<summary>Where can I find calculated rewards data and my specific rewards?</summary>
800+
<summary>F2. Where can I find calculated rewards data and my specific rewards?</summary>
809801

810802
Reward amounts for both staking and FSP participation are calculated and published periodically.
811803
Always refer to official Flare sources for the latest data locations.
812804

813805
**Validator Staking Rewards:**
814806

815-
Calculated per reward epoch (every 3.5 days, starting Mon/Thu) and claimable every 4 reward epochs (approx. every 14 days).
807+
Calculated every 4 reward epochs (every 14 days, starting Mon/Thu).
816808
Check the `validator-rewards` directory within the **[flare-foundation/reward-scripts](https://github.com/flare-foundation/reward-scripts/tree/main/generated-files/validator-rewards)** repository on GitHub.
817809

818810
To inspect your entity's validator rewards for a specific epoch via CLI:
@@ -866,16 +858,34 @@ To inspect your entity's FSP rewards for a specific epoch via CLI:
866858
</details>
867859

868860
<details>
869-
<summary>How does the pass system work with minimal conditions?</summary>
861+
<summary>F3. How does the pass system work with minimal conditions?</summary>
862+
863+
The pass system is an incentive mechanism for Flare Entities.
864+
Each entity has a number of passes, which can be gained or lost based on their performance in meeting the minimum participation requirements for each protocol within a reward epoch.
865+
866+
Here's how it works:
870867

871-
Successfully meeting minimal conditions in an epoch typically earns your entity a "pass" (you can hold up to 3 passes).
872-
These act as a buffer - if your entity occasionally fails to meet conditions (e.g., due to minor submission issues or downtime), a pass is automatically consumed to maintain reward eligibility for that epoch.
873-
If conditions are not met and you have zero passes remaining, FSP rewards for that epoch are forfeited. [Learn more](/network/fsp/rewarding#passes).
868+
- **Starting Passes:** Newly registered entities begin with zero passes.
869+
- **Gaining Passes:** When an entity successfully meets all the [minimum conditions](/network/fsp/rewarding#minimal-conditions) in a reward epoch, they gain one pass.
870+
- **Maximum Passes:** An entity can hold a maximum of three passes.
871+
- **Losing Passes:** If an entity fails to meet the minimum condition for a protocol in a reward epoch, they will lose one pass.
872+
It's important to note that entities can lose multiple passes for failing across multiple protocols within that reward epoch.
873+
- **Consequences of Losing Passes:**
874+
- If an entity has one pass and fails to meet one minimal condition, they will be reduced to zero passes but will still receive FSP rewards for that epoch.
875+
- However, if an entity has zero passes and fails to meet a minimal condition, they will forfeit all FSP rewards for that epoch. For information on where to find reward data, see **FAQ F2**.
876+
877+
Refer to **FAQ F1** to check how many passes your Flare Entity has.
878+
879+
:::warning[Missing registration]
880+
881+
If you are fail to register for a reward epoch your Flare Entity will lose all passes, as well as all FSP rewards for that reward epoch.
882+
883+
:::
874884

875885
</details>
876886

877887
<details>
878-
<summary>How can I monitor the health of my Flare Entity?</summary>
888+
<summary>F4. How can I monitor the health of my Flare Entity?</summary>
879889

880890
Consistent monitoring is key to maintaining performance and reward eligibility. Here are primary areas and methods:
881891

@@ -927,7 +937,7 @@ Consistent monitoring is key to maintaining performance and reward eligibility.
927937
</details>
928938

929939
<details>
930-
<summary>How can I opt-out of receiving FlareDrops?</summary>
940+
<summary>F5. How can I opt-out of receiving FlareDrops?</summary>
931941

932942
To opt-out of receiving all future FlareDrops, you need to call the [`optOutOfAirdrop`](/network/solidity-reference/IDistributionToDelegators#optoutofairdrop) method on the [`DistributionToDelegators`](/network/solidity-reference) contract with your `Identity` address.
933943

src/css/custom.css

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -854,19 +854,14 @@ tr:last-child td {
854854
position: relative;
855855
width: 100%;
856856
}
857-
.network-selector label {
858-
font-weight: 500;
859-
font-size: 1rem;
860-
white-space: nowrap;
861-
color: var(--ifm-font-color-secondary);
862-
}
863857
.network-select {
864858
flex: 1;
865859
padding: 0.75rem 1rem;
866860
border-radius: var(--ifm-global-radius);
867861
border: 1px solid var(--ifm-color-emphasis-300);
868862
background-color: var(--ifm-background-color);
869863
font-size: 1rem;
864+
color: var(--ifm-menu-color-active);
870865
cursor: pointer;
871866
appearance: none;
872867
-webkit-appearance: none;
@@ -878,7 +873,6 @@ tr:last-child td {
878873
padding-right: 2.5rem;
879874
}
880875
[data-theme="dark"] .network-select {
881-
background-color: #000000;
882876
background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
883877
}
884878
.network-select:focus {

0 commit comments

Comments
 (0)