Skip to content

Commit 5cb5b7a

Browse files
committed
.
1 parent 5cbdb01 commit 5cb5b7a

File tree

2 files changed

+34
-3
lines changed

2 files changed

+34
-3
lines changed

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ Calamar is a block explorer for Polkadot, Kusama and their parachains. The explo
44

55
This app is based on [Create React App](https://facebook.github.io/create-react-app/docs/getting-started).
66

7+
> [!WARNING]
8+
> Since January 31, Calamar and its data source can only be **self-hosted**.
9+
> This is following the deprecation of Firesquid archives and its resulting effect on Giant Squid.
10+
> We apologize for any inconvenience.
11+
>
12+
> To setup data sources follow this guide.
13+
714
## Setup
815

916
Clone the repo and install the NPM dependencies.
@@ -14,6 +21,30 @@ $ cd calamar
1421
$ npm install
1522
```
1623

24+
Edit `src/networks.json` and configure your network and its data source's endpoints.
25+
26+
<details>
27+
<summary>Network configuration structure</summary>
28+
29+
- **name**: network identificator used in url's etc (required, `"polkadot"`)
30+
- **displayName**: name of the network to be displayed in the app (required, `"Polkadot"`)
31+
- **icon**: path to icon asset (required, e.g. `"/assets/network-icons/polkadot.svg"`)
32+
- **color**: color associated with the network (optional, e.g. `"#e6007a"`)
33+
- **website**: website of the network (optional, e.g. `"https://polkadot.network/"`)
34+
- **parachainId**: id of the parachaing (optional, e.g. `0`)
35+
- **relayChain**: `name` of relay chain network (optional, e.g. `"polkadot"`)
36+
- **prefix**: SS58 prefix (required, e.g. `0`)
37+
- **decimals**: number of decimal for the network's symbol (required, e.g. `10`)
38+
- **symbol**: network's symbol (required, `"DOT"`)
39+
- **squids**:
40+
- **archive**: GraphQL API explorer of the Firesquid archive (required, e.g. `"https://polkadot.explorer.subsquid.io/graphql"`)
41+
- **explorer**: GiantSquid explorer squid (optional, but highly recommended, e.g. `"https://squid.subsquid.io/gs-explorer-polkadot/graphql"`)
42+
- **main**: GiantSquid main squid (optional, e.g. `"https://squid.subsquid.io/gs-main-polkadot/graphql"`)
43+
- **identites**: GiantSquid main squid if it contains indentity data (optional, e.g. `"https://squid.subsquid.io/gs-main-polkadot/graphql"`)
44+
- **stats**: GianSquid stats squid (optional, e.g. `"https://squid.subsquid.io/gs-stats-polkadot/graphql"`)
45+
- **coinGeckoId**: CoinGecko network ID to fetch USD values (optional, `"polkadot"`)
46+
</details>
47+
1748
## Run locally
1849

1950
To start the application locally, run the command

src/components/WarningBar.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ export const WarningBar = () => {
2020
return (
2121
<>
2222
<div css={barStyle}>
23-
On January 31, Calamar and its datasources will become into <strong>self-hosted only mode</strong>.<br />
24-
It is a reaction on recent event from Subsquid that Firesquid Archives and GiantSquid are being <strong>shut down</strong>.<br />
25-
We appologize for any inconvenience.<br />
23+
On January 31, Calamar and its data sources will go into self-hosted only mode.<br />
24+
This is following the deprecation of Firesquid archives and its resulting effect on Giant Squid.<br />
25+
We apologize for any inconvenience.
2626
<Link to="#">Read more</Link>
2727
</div>
2828
<Outlet />

0 commit comments

Comments
 (0)