Skip to content

Commit ab14d3d

Browse files
Patch namings and URLs of chain.love (#2433)
Co-authored-by: Eva <[email protected]>
1 parent 870fb7e commit ab14d3d

File tree

15 files changed

+67
-77
lines changed

15 files changed

+67
-77
lines changed

basics/assets/metamask-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,11 @@ The process for configuring MetaMask to use Filecoin is fairly simple but has so
7373

7474
{% tabs %}
7575
{% tab title="Mainnet" %}
76-
<table><thead><tr><th width="159">Field</th><th>Value</th></tr></thead><tbody><tr><td>Network name</td><td><code>Filecoin</code></td></tr><tr><td>New RPC URL</td><td>Either:<br>- <code>https://api.node.glif.io/rpc/v1</code><br>- <code>https://filecoin.chainup.net/rpc/v1</code><br>- <code>https://rpc.ankr.com/filecoin</code></td></tr><tr><td>Chain ID</td><td><code>314</code></td></tr><tr><td>Currency symbol</td><td><code>FIL</code></td></tr></tbody></table>
76+
<table><thead><tr><th width="159">Field</th><th>Value</th></tr></thead><tbody><tr><td>Network name</td><td><code>Filecoin</code></td></tr><tr><td>New RPC URL</td><td>Either:<br>- <code>https://filecoin.chain.love/rpc/v1</code><br>- <code>https://filecoin.chainup.net/rpc/v1</code><br>- <code>https://rpc.ankr.com/filecoin</code></td></tr><tr><td>Chain ID</td><td><code>314</code></td></tr><tr><td>Currency symbol</td><td><code>FIL</code></td></tr></tbody></table>
7777
{% endtab %}
7878

7979
{% tab title="Calibration" %}
80-
<table><thead><tr><th width="176">Field</th><th>Value</th></tr></thead><tbody><tr><td>Network name</td><td><code>Filecoin Calibration testnet</code></td></tr><tr><td>New RPC URL</td><td>Either:<br>- <code>https://api.calibration.node.glif.io/rpc/v1</code><br>- <code>https://filecoin-calibration.chainup.net/rpc/v1</code></td></tr><tr><td>Chain ID</td><td><code>314159</code></td></tr><tr><td>Currency symbol</td><td><code>tFIL</code></td></tr></tbody></table>
80+
<table><thead><tr><th width="176">Field</th><th>Value</th></tr></thead><tbody><tr><td>Network name</td><td><code>Filecoin Calibration testnet</code></td></tr><tr><td>New RPC URL</td><td>Either:<br>- <code>https://calibration.filecoin.chain.love/rpc/v1</code><br>- <code>https://filecoin-calibration.chainup.net/rpc/v1</code></td></tr><tr><td>Chain ID</td><td><code>314159</code></td></tr><tr><td>Currency symbol</td><td><code>tFIL</code></td></tr></tbody></table>
8181
{% endtab %}
8282

8383
{% tab title="Local testnet" %}

basics/what-is-filecoin/networks.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,14 @@ Test networks, or testnets, are versions of the Filecoin network that simulate v
1717

1818
The [Calibration](../../networks/calibration/) testnet offers the closest simulation of the mainnet. It provides realistic sealing performance and hardware requirements due to the use of finalized proofs and parameters, allowing prospective storage providers to test their setups. Storage clients can also store and retrieve real data on this network, participating in deal-making workflows and testing storage/retrieval functionalities. Calibration testnet uses the same sector size as the mainnet.
1919

20-
- [Public endpoint](https://api.calibration.node.glif.io/rpc/v0)
20+
- [Public endpoint](https://calibration.filecoin.chain.love/rpc/v0)
2121
- [Blockchain explorer](https://calibration.filscan.io/)
2222
- [Calibration Faucet - Chainsafe](https://faucet.calibnet.chainsafe-fil.io)
2323
- [Calibration Faucet - Zondax](https://beryx.zondax.ch/faucet/)
2424
- [Calibration Faucet - Forest Explorer](https://forest-explorer.chainsafe.dev/faucet/calibnet)
2525
- [Calibration USDFC Faucet - Chainsafe](https://forest-explorer.chainsafe.dev/faucet/calibnet_usdfc)
2626

27+
More resources available on Calibration network:
28+
{% @chainlove-widget/chainlove-compare url="https://widget.docs.chain.love/?network=filecoin&chain=calibnet" %}
29+
2730
[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill_Page+URL=https://docs.filecoin.io/basics/what-is-filecoin/networks)

builder-cookbook/dapps/chain-data-query.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,20 @@ To explore further details about the available public RPC providers supporting F
1717

1818
#### **Ingredients**
1919

20-
Let's use Glif nodes as an example to demonstrate how to connect to a public Filecoin RPC node provider. Additionally, we will utilize `ethers.js` to establish the connection with the RPC nodes.
20+
Let's use Chain.Love nodes as an example to demonstrate how to connect to a public Filecoin RPC node provider. Additionally, we will utilize `ethers.js` to establish the connection with the RPC nodes.
2121

22-
* [Glif nodes](https://hosting.glif.io/)
22+
* [Chain.Love](https://filecoin.chain.love)
2323
* [ethers.js](https://docs.ethers.org/v5/)
2424

2525
#### **Instructions**
2626

27-
We will use `ethers.js` to establish a connection with the public Filecoin node provided by Glif. The following code demonstrates connecting to the Filecoin Calibration testnet as an example.
27+
We will use `ethers.js` to establish a connection with the public Filecoin node provided by Chain.Love. The following code demonstrates connecting to the Filecoin Calibration testnet as an example.
2828

2929
```javascript
3030
import { ethers } from "ethers"
3131

3232
//The public Filecoin calibration URL
33-
const filecoin_url = 'https://api.calibration.node.glif.io/rpc/v1'
33+
const filecoin_url = 'https://calibration.filecoin.chain.love/rpc/v1'
3434
const provider = new ethers.JsonRpcProvider(filecoin_url)
3535

3636
const blockNumber = await provider.getBlockNumber()
@@ -52,9 +52,9 @@ Since the Filecoin Virtual Machine (FVM) is EVM-compatible, we can use `ethers.j
5252

5353
#### **Ingredients**
5454

55-
We will also use `ethers.js` to connect to the public Glif node to listen to the smart contract events.
55+
We will also use `ethers.js` to connect to the public Chain.Love node to listen to the smart contract events.
5656

57-
* [Glif Nodes](https://hosting.glif.io/)
57+
* [Chain.Love](https://filecoin.chain.love)
5858
* [ethers.js](https://docs.ethers.org/v5/)
5959

6060
#### **Instructions**
@@ -69,7 +69,7 @@ import { ethers } from "ethers"
6969
const wFILAddress = "0xaC26a4Ab9cF2A8c5DBaB6fb4351ec0F4b07356c4" // wFIL Contract
7070
var abi = ["event Transfer(address indexed from, address indexed to, uint amount)"]
7171

72-
const filecoin_url = 'https://api.calibration.node.glif.io/rpc/v1'
72+
const filecoin_url = 'https://calibration.filecoin.chain.love/rpc/v1'
7373
const provider = new ethers.providers.JsonRpcProvider(filecoin_url)
7474

7575
//listen to the Transfer events in the Token contract
@@ -95,22 +95,22 @@ We can also use filters to retrieve specific smart contract transactions from th
9595

9696
#### **Ingredients**
9797

98-
We will also use `ethers.js` to connect to the public Glif node to filter the smart contract events by providing conditions.
98+
We will also use `ethers.js` to connect to the public Chain.Love node to filter the smart contract events by providing conditions.
9999

100-
* [Glif nodes](https://hosting.glif.io/)
100+
* [Chain.Love](https://filecoin.chain.love)
101101
* [ethers.js](https://docs.ethers.org/v5/)
102102

103103
#### **Instructions**
104104

105-
Here's an example of how you can connect to a Glif node on the calibration network, create a filter to list all wFIL token transfers from your address, and execute the filter to look back 2000 blocks to find the matched transaction list:
105+
Here's an example of how you can connect to a Chain.Love node on the calibration network, create a filter to list all wFIL token transfers from your address, and execute the filter to look back 2000 blocks to find the matched transaction list:
106106

107107
```javascript
108108
import { ethers } from "ethers"
109109

110110
const wFILAddress = "0xaC26a4Ab9cF2A8c5DBaB6fb4351ec0F4b07356c4" // wFIL Contract
111111
var abi = ["event Transfer(address indexed from, address indexed to, uint amount)"]
112112

113-
const filecoin_url = 'https://api.calibration.node.glif.io/rpc/v1'
113+
const filecoin_url = 'https://calibration.filecoin.chain.love/rpc/v1'
114114
const provider = new ethers.providers.JsonRpcProvider(filecoin_url)
115115

116116
// Create a filter to list all token transfers from myAddress

networks/calibration/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ wget https://forest-archive.chainsafe.dev/latest/calibnet/
2828

2929
```bash
3030
# Lite node (fastest startup)
31-
FULLNODE_API_INFO=wss://wss.calibration.node.glif.io/apigw/lotus lotus daemon --lite
31+
FULLNODE_API_INFO=wss://calibration.filecoin.chain.love/ws lotus daemon --lite
3232

3333
# Full node with snapshot import
3434
lotus daemon --import-snapshot <calibnet-snapshot-file>
3535

3636
# Connect to RPC endpoint
37-
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"Filecoin.ChainHead","params":[],"id":1}' https://api.calibration.node.glif.io/rpc/v1
37+
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"Filecoin.ChainHead","params":[],"id":1}' https://calibration.filecoin.chain.love/rpc/v1
3838
```
3939

4040
### Get Test FIL
@@ -48,8 +48,8 @@ Quick access to faucets:
4848
### Essential Network Info
4949

5050
* **Chain ID**: `314159` (for MetaMask/wallets)
51-
* **RPC**: `https://api.calibration.node.glif.io/rpc/v1`
52-
* **WebSocket**: `wss://wss.calibration.node.glif.io/apigw/lotus/rpc/v1`
51+
* **RPC**: `https://calibration.filecoin.chain.love/rpc/v1`
52+
* **WebSocket**: `wss://calibration.filecoin.chain.love/ws/rpc/v1`
5353
* **Minimum Power**: `32 GiB`
5454

5555
## About Calibration

networks/calibration/rpcs.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ Chainlist also provides a dynamically updated list of [available Filecoin - Main
1212

1313
These endpoints are limited to the read-only [Filecoin JSON RPC API](../../reference/json-rpc/) including read-only [Filecoin Eth RPC](../../reference/json-rpc/eth.md) methods, except for the write operations [`MPoolPush`](../../reference/json-rpc/mpool.md#mpoolpush) and [`EthSendRawTransaction`](../../reference/json-rpc/eth.md#ethsendrawtransaction) for sending already signed messages.
1414

15-
## [Glif](https://api.calibration.node.glif.io)
15+
## [Chain.Love](https://filecoin.chain.love/)
1616

17-
* HTTPS: `https://api.calibration.node.glif.io/rpc/v1`
18-
* WebSocket: `wss://wss.calibration.node.glif.io/apigw/lotus/rpc/v1`
17+
* HTTPS: `https://calibration.filecoin.chain.love/rpc/v1`
18+
* WebSocket: `wss://calibration.filecoin.chain.love/ws/rpc/v1`
1919
* Lotus lite-node command:
2020

2121
```
22-
FULLNODE_API_INFO=wss://wss.calibration.node.glif.io/apigw/lotus lotus daemon --lite
22+
FULLNODE_API_INFO=wss://calibration.filecoin.chain.love/ws lotus daemon --lite
2323
```
2424

25-
* When using a lite-node, omit `/rpc/v1` from Glif’s WebSocket address.
26-
* [Glif documentation](https://hosting.glif.io/)
25+
* When using a lite-node, omit `/rpc/v1` from Chain.Love’s WebSocket address.
26+
* [Chain.Love documentation](https://chain-love.gitbook.io/chain-love-docs/blockchains/filecoin)
2727

2828
## [Ankr](https://www.ankr.com/rpc/filecoin)
2929

@@ -36,4 +36,7 @@ FULLNODE_API_INFO=wss://wss.calibration.node.glif.io/apigw/lotus lotus daemon --
3636
* [ChainupCloud documentation](https://docs.chainupcloud.com/blockchain-api/filecoin/public-apis)
3737

3838

39+
More RPCs available on the Calibration network:
40+
{% @chainlove-widget/chainlove-compare url="https://widget.docs.chain.love/?network=filecoin&chain=calibnet&category=rpc" %}
41+
3942
[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill\_Page+URL=https://docs.filecoin.io/networks/calibration/rpcs)

networks/mainnet/explorers.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ If you have access to a Filecoin node, you can send a JSON-RPC request to get bl
3636
To get the head tipset:
3737

3838
```shell
39-
curl --location --request POST 'https://api.node.glif.io/rpc/v1' \
39+
curl --location --request POST 'https://filecoin.chain.love/rpc/v1' \
4040
--header 'Content-Type: application/json' \
4141
--data-raw '{
4242
"jsonrpc":"2.0",
@@ -49,7 +49,7 @@ curl --location --request POST 'https://api.node.glif.io/rpc/v1' \
4949
Print a block:
5050

5151
```shell
52-
curl --location --request POST 'https://api.node.glif.io/rpc/v1' \
52+
curl --location --request POST 'https://filecoin.chain.love/rpc/v1' \
5353
--header 'Content-Type: application/json' \
5454
--data-raw '{
5555
"jsonrpc":"2.0",
@@ -62,7 +62,7 @@ curl --location --request POST 'https://api.node.glif.io/rpc/v1' \
6262
Print message information:
6363

6464
```shell
65-
curl --location --request POST 'https://api.node.glif.io/rpc/v1' \
65+
curl --location --request POST 'https://filecoin.chain.love/rpc/v1' \
6666
--header 'Content-Type: application/json' \
6767
--data-raw '{
6868
"jsonrpc":"2.0",
@@ -72,6 +72,9 @@ curl --location --request POST 'https://api.node.glif.io/rpc/v1' \
7272
}' | jq
7373
```
7474

75+
Curated list by Chain.Love of explorers available on Mainnet:
76+
{% @chainlove-widget/chainlove-compare url="https://widget.docs.chain.love/?network=filecoin&chain=mainnet&category=explorer" %}
77+
7578

7679

7780
[Was this page helpful?](https://airtable.com/apppq4inOe4gmSSlk/pagoZHC2i1iqgphgl/form?prefill\_Page+URL=https://docs.filecoin.io/networks/mainnet/explorers)

networks/mainnet/rpcs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ These endpoints are limited to the read-only [Filecoin JSON RPC API](../../refer
1414

1515
| Provider | HTTPS endpoint | WSS endpoint | Docs | API Support |
1616
| ------------------------------------------- | -------------------------------------------------------- | ------------------------------------------------ | -------------------------------------------------------------------------------------------------- | --------------------------------------------------------- |
17-
| [Glif Nodes](https://api.node.glif.io/) | `https://api.node.glif.io/rpc/v1` | `wss://wss.node.glif.io/apigw/lotus/rpc/v1` | [Glif Nodes - Docs](https://api.node.glif.io/) | All Filecoin and Eth JSON RPC methods including MPoolPush |
17+
| [Chain.Love](https://filecoin.chain.love) | `https://filecoin.chain.love/rpc/v1` | `wss://calibration.filecoin.chain.love/ws/rpc/v1` | [Chain.Love - Docs](https://chain-love.gitbook.io/chain-love-docs/blockchains/filecoin) | All Filecoin and Eth JSON RPC methods including MPoolPush |
1818
| [Ankr](https://ankr.com/) | `https://rpc.ankr.com/filecoin` | By request at: https://www.ankr.com/rpc/filecoin | [Ankr Docs - Filecoin](https://www.ankr.com/docs/rpc-service/chains/chains-list/#filecoin) | All Filecoin and Eth JSON RPC methods including MPoolPush |
1919
| [Chainup Cloud](https://cloud.chainup.com/) | `https://filecoin.chainup.net/rpc/v1` | `wss://filecoin.chainup.net/rpc/v1` | [Chainup Cloud Docs - Filecoin](https://docs.chainupcloud.com/blockchain-api/filecoin/public-apis) | |
2020
| [NOWNodes](https://nownodes.io/) | `https://fil.nownodes.io` (Free for 1 month with signup) | | [NOWNodes - Docs](https://nownodes.gitbook.io/documentation) | |
@@ -23,13 +23,13 @@ These endpoints are limited to the read-only [Filecoin JSON RPC API](../../refer
2323

2424
## Additional Notes:
2525

26-
* Glif Nodes offers a [Lotus Lite node](https://docs.filecoin.io/nodes/lite-nodes/spin-up-a-lite-node) endpoint with the following command:
26+
* Chain.Love offers a [Lotus Lite node](https://docs.filecoin.io/nodes/lite-nodes/spin-up-a-lite-node) endpoint with the following command:
2727

2828
```shell
29-
FULLNODE_API_INFO=wss://wss.node.glif.io/apigw/lotus lotus daemon --lite
29+
FULLNODE_API_INFO=wss://filecoin.chain.love/ws lotus daemon --lite
3030
```
3131

32-
When using a Lotus Lite node, omit `/rpc/v1` from Glif’s WebSocket address.
32+
When using a Lotus Lite node, omit `/rpc/v1` from Chain.Love’s WebSocket address.
3333

3434
A Lotus Lite node is a stripped down version of a Lotus full-node capable of running on lower-end hardware. It also allows for local signing for storage deals without a full Lotus node.
3535

nodes/lite-nodes/spin-up-a-lite-node.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Let's start the lite-node by connecting to a remote full-node. We can use the pu
214214
1. Create an environment variable called `FULLNODE_API_INFO` and set it to the WebSockets address of the node you want to connect to. At the same time, start the Lotus daemon with the `--lite` tag:
215215
216216
```shell
217-
FULLNODE_API_INFO=wss://wss.node.glif.io/apigw/lotus lotus daemon --lite
217+
FULLNODE_API_INFO=wss://filecoin.chain.love/ws lotus daemon --lite
218218
```
219219
220220
This will output something like:
@@ -231,7 +231,7 @@ Let's start the lite-node by connecting to a remote full-node. We can use the pu
231231
1. Create an environment variable called `FULLNODE_API_INFO` and set it to the WebSockets address of the node you want to connect to. At the same time, start the Lotus daemon with the `--lite` tag:
232232
233233
```shell
234-
FULLNODE_API_INFO=wss://wss.calibration.node.glif.io/apigw/lotus lotus daemon --lite
234+
FULLNODE_API_INFO=wss://calibration.filecoin.chain.love/ws lotus daemon --lite
235235
```
236236
237237
This will output something like:
@@ -270,7 +270,7 @@ To send JSON-RPC requests to our lite-node, we need to expose the API.
270270
3. In the same window, restart the lite-node:
271271
272272
```shell
273-
FULLNODE_API_INFO=wss://wss.node.glif.io/apigw/lotus lotus daemon --lite
273+
FULLNODE_API_INFO=wss://filecoin.chain.love/ws lotus daemon --lite
274274
```
275275
276276
This will output something like:
@@ -304,7 +304,7 @@ To send JSON-RPC requests to our lite-node, we need to expose the API.
304304
3. In the same window, restart the lite-node:
305305
306306
```shell
307-
FULLNODE_API_INFO=wss://wss.calibration.node.glif.io/apigw/lotus lotus daemon --lite
307+
FULLNODE_API_INFO=wss://calibration.filecoin.chain.love/ws lotus daemon --lite
308308
```
309309
310310
This will output something like:

reference/general/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ Check out the [documentation website](https://filecoin.hugomrdias.dev/) for more
9696

9797
> NOTE: making deep calls into the chain’s history may take some time to return and it may be more efficient to use a chain database (e.g. used by block explorers) that stores the chain’s history and is optimized for queries.
9898
99-
* [GLIF nodes](https://lotus.filecoin.io/lotus/developers/glif-nodes/) - A hosted endpoint to Filecoin mainnet and testnet. Note: as of Q1 2023, Infura no longer supports Filecoin.
100-
* The GLIF endpoint supports read-only calls and `MPoolPush()` for sending signed transactions to the network (which can be signed using the [Message signing tools](https://docs.filecoin.io/reference/general/overview/#message-signing-tools)).
99+
* [Chain.Love (Glif nodes)](https://lotus.filecoin.io/lotus/developers/glif-nodes/) - A hosted endpoint to Filecoin mainnet and testnet. Note: as of Q1 2023, Infura no longer supports Filecoin.
100+
* The Chain.Love endpoint supports read-only calls and `MPoolPush()` for sending signed transactions to the network (which can be signed using the [Message signing tools](https://docs.filecoin.io/reference/general/overview/#message-signing-tools)).
101101
* [**Lotus JSON-RPC API**](https://lotus.filecoin.io/lotus/get-started/what-is-lotus/) - Lotus offers the full feature set of its capabilities through API.
102102
* [lotus API Postman sample](https://documenter.getpostman.com/view/4872192/SWLh5mUd?version=latest) - (shows sample wallet calls only)
103103

reference/json-rpc/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ curl --location --request POST '<NODE_ADDRESS>' \
2323

2424
## Step-by-step example
2525

26-
1. In a terminal window, use Curl to request the current chain head from a public [Glif](https://glif.io/en) node.\\
26+
1. In a terminal window, use Curl to request the current chain head from a public [Chain.Love](https://filecoin.chain.love) node.\\
2727

2828
* ```shell
29-
curl -X POST 'https://api.node.glif.io' \
29+
curl -X POST 'https://filecoin.chain.love' \
3030
-H 'Content-Type: application/json' \
3131
--data '{"jsonrpc":"2.0","id":1,"method":"Filecoin.ChainHead","params":[]}'
3232
```
@@ -42,7 +42,7 @@ curl --location --request POST '<NODE_ADDRESS>' \
4242
```
4343
4444
1. ```shell
45-
curl -X POST 'https://api.node.glif.io' \
45+
curl -X POST 'https://filecoin.chain.love' \
4646
-H 'Content-Type: application/json' \
4747
--data '{"jsonrpc":"2.0","id":1,"method":"Filecoin.ChainHead","params":[]}' \
4848
| jq
@@ -83,7 +83,7 @@ Each node implementation has different ways to generate and manage authenticatio
8383
* [Lotus](https://lotus.filecoin.io)
8484
* [Venus](https://venus.filecoin.io)
8585
86-
If you are using a node provider service like [Glif](https://glif.io/en), take a look at your providers documentation to find out how to manage authentication tokens.
86+
If you are using a node provider service like [Chain.Love](https://filecoin.chain.love/rpc), take a look at your providers documentation to find out how to manage authentication tokens.
8787
8888
8989

0 commit comments

Comments
 (0)