Skip to content

Commit 23548ec

Browse files
authored
Merge pull request #734 from ethersphere/public-rpc-warning
Free, public rpc warning
2 parents 8d1abb5 + 8d622aa commit 23548ec

File tree

4 files changed

+38
-15
lines changed

4 files changed

+38
-15
lines changed

docs/bee/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ If you are using a different wallet which does not have an easy option for addin
178178
#### Gnosis Chain
179179

180180
Network name: Gnosis
181-
RPC URL: https://rpc.gnosischain.com
181+
RPC URL: https://xdai.fairdatasociety.org
182182
Chain ID: 100
183183
Currency symbol: XDAI
184184

docs/bee/installation/getting-started.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,19 @@ A reliable, high-speed internet connection is recommended when running a full no
8282

8383
### RPC Endpoint
8484

85+
:::warning
86+
***Free public RPC endpoints are discouraged*** since they may enforce rate limiting or may not store the historical smart contract data required by Bee nodes. [Read more](/docs/bee/working-with-bee/configuration#setting-blockchain-rpc-endpoint).
87+
:::
88+
8589
An [RPC (Remote Procedure Call) endpoint](/docs/references/glossary#rpc-endpoint) is required to allow your node to interact with **Gnosis Chain**, which is required for transactions like purchasing postage stamps, staking xBZZ, and storage incentives related transactions.
8690

8791
Bee nodes use the **`--blockchain-rpc-endpoint`** configuration option to specify which Gnosis Chain RPC service to connect to.
8892

8993
This can be:
9094

91-
- A **public and free endpoint**, such as those offered by [Fair Data Society](https://xdai.fairdatasociety.org) or other free RPC providers listed in the [Gnosis Chain documentation](https://docs.gnosischain.com/tools/RPC%20Providers/).
92-
- A **private and paid endpoint** provided by third-party services typically offers higher reliability and better performance.
93-
- A [self-hosted Gnosis Chain node](https://docs.gnosischain.com/node), giving full control over blockchain interactions but requiring additional setup and maintenance.
95+
- A [self-hosted Gnosis Chain node](https://docs.gnosischain.com/node), giving full control over blockchain interactions but requiring additional setup and maintenance (recommended).
96+
- A **private and paid endpoint** from a third-party service provider.
97+
- A **public and free endpoint**, such as this free one from the Fair Data Society: `https://xdai.fairdatasociety.org`
9498

9599
:::info
96100
A well-maintained list of both free and paid RPC endpoint providers can be found in the [Gnosis Chain documentation](https://docs.gnosischain.com/tools/RPC%20Providers/).

docs/bee/working-with-bee/configuration.md

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -500,20 +500,34 @@ A password is required for all modes, and can either be set directly in text thr
500500
501501
## Setting Blockchain RPC endpoint
502502
503-
Full and light Bee nodes require a Gnosis Chain RPC endpoint so they can interact with and deploy their chequebook contract, see the latest view of the current postage stamp batches, and interact with and top-up postage stamp batches. A blockchain RPC endpoint is not required for nodes running in ultra-light mode.
504-
We recommend you [run your own Gnosis Chain node](https://docs.gnosischain.com/node/) if you are planning to run a full node, and especially if you plan to run a [hive of nodes](/docs/bee/installation/hive).
505-
If you do not wish to run your own Gnosis Chain node and are willing to trust a third party, you may also consider using an RPC endpoint provider such as [GetBlock](https://getblock.io/).
506-
For running a light node or for testing out a single full node you may also consider using one of the [free public RPC endpoints](https://docs.gnosischain.com/tools/RPC%20Providers/) listed in the Gnosis Chain documentation. However, these endpoint providers offer no [SLA](https://en.wikipedia.org/wiki/Service-level_agreement) or availability guarantees and are therefore not recommended for full node operators.
507-
To set your RPC endpoint provider, specify it with the `blockchain-rpc-endpoint` value, which is set to an empty string by default.
503+
:::warning
504+
A RPC endpoint for *a full archival Gnosis Chain node is required* since a Bee node must sync all data starting from when the [postage stamp smart contract was created](https://gnosisscan.io/tx/0x3427deb106b30a7d23f7ce9d2465f2d83945948c5aeddba55337c318fb56ec25).
505+
506+
The free RPC endpoint offered by the Fair Data Society (https://xdai.fairdatasociety.org) will work since it is a full archival node, but running Bee with other public free RPC endpoints from non-archive nodes will result in the `storage: not found` error.
507+
508+
If you do encounter the `storage: not found` error, update your RPC endpoint to one for a full archival node, and restart your node with the `resync` option set to `true`.
509+
:::
510+
511+
Full and light Bee nodes require a Gnosis Chain RPC endpoint in order to sync blockchain data and issue transactions (not required for ultra-light nodes).
512+
513+
To set your RPC endpoint, specify it with the `blockchain-rpc-endpoint` value, which is set to an empty string by default.
508514
509515
```yaml
510516
## bee.yaml
511-
blockchain-rpc-endpoint: https://rpc.gnosis.gateway.fm
517+
blockchain-rpc-endpoint: https://xdai.fairdatasociety.org
512518
```
513519
514-
:::info
515-
The gateway.fm RPC endpoint in the example is great for learning how to set up Bee, but for the sake of security and reliability it's recommended that you run your [run your own Gnosis Chain node](https://docs.gnosischain.com/node/) rather than relying on a third party provider.
516-
:::
520+
We recommend you [run your own Gnosis Chain node](https://docs.gnosischain.com/node/), but you may also consider using a paid RPC endpoint provider such as [GetBlock](https://getblock.io/).
521+
522+
523+
### RPC Providers
524+
525+
While we recommend running your own Gnosis Chain node for your RPC endpoint, you may wish to use a third party provider instead.
526+
527+
For a comprehensive list of RPC providers, refer to the [Gnosis Chain documentation](https://docs.gnosischain.com/tools/RPC%20Providers/). The list includes both free and paid RPC providers (refer to [warning above](#setting-blockchain-rpc-endpoint) about free RPC providers).
528+
529+
For running a light node or for testing out a single full node you can use the free RPC endpoint provided by the Fair Data Society: `https://xdai.fairdatasociety.org`.
530+
517531
518532
## Configuring Swap Initial Deposit (Optional)
519533

docs/desktop/configuration.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ To modify the RPC endpoint, first navigate to the ***Settings*** tab:
1212

1313
![](/img/config1.png)
1414

15-
From the ***Settings*** tab, expand the API Settings section and click the pen button next to Blockchain RPC URL to edit the default RPC. You can choose any valid Gnosis Chain RPC, either from your own Gnosis node or a service provider. You can find a list of paid and free RPC options from the [Gnosis Chain docs](https://docs.gnosischain.com/tools/RPC%20Providers/). For this example we will use the free endpoint - *https://rpc.gnosischain.com/*.
15+
From the ***Settings*** tab, expand the API Settings section and click the pen button next to Blockchain RPC URL to edit the default RPC. You can choose any valid Gnosis Chain RPC, either from your own Gnosis node or a service provider. You can find a list of paid and free RPC options from the [Gnosis Chain docs](https://docs.gnosischain.com/tools/RPC%20Providers/). For this example we will use the free endpoint - *https://xdai.fairdatasociety.org*.
16+
17+
:::warning
18+
Other ***free public RPC endpoints are discouraged,*** since they may enforce rate limiting or may not store the historical smart contract data required by Bee nodes. [Read more](/docs/bee/working-with-bee/configuration#setting-blockchain-rpc-endpoint).
19+
:::
20+
1621

1722
![](/img/config2.png)
1823

@@ -41,7 +46,7 @@ Next simply send your xDAI to that address. Before sending, make sure you have s
4146
| Field | Value |
4247
|--------------|-----------|
4348
|**Network name:**|Gnosis|
44-
| **New RPC URL:** | https://rpc.gnosischain.com |
49+
| **New RPC URL:** | https://xdai.fairdatasociety.org |
4550
| **Chain ID:**| 100 |
4651
| **Symbol:**| xDai |
4752
| **Block Explorer URL (Optional):**| https://blockscout.com/xdai/mainnet |

0 commit comments

Comments
 (0)