Skip to content

Commit

Permalink
add more chain
Browse files Browse the repository at this point in the history
  • Loading branch information
zfy0701 committed Nov 24, 2024
1 parent 6879980 commit f8655a7
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@eslint/js": "^9.6.0",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"@sentio/chain": "^2.1.9",
"@sentio/chain": "^2.1.15",
"eslint": "^9.6.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 56 additions & 0 deletions references/supported-networks.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ The supported network and its status are listed below, we are actively supportin
| Bob Mainnet ||| | | Real-time |
| Chiliz ||| | | Real-time |
| Conflux eSpace ||| | | Real-time |
| Corn Maizenet ||| | | Real-time |
| Cronos Mainnet ||| | | Real-time |
| Cronos zkEVM ||| | | Real-time |
| Ethereum ||||| Real-time |
Expand All @@ -54,6 +55,7 @@ The supported network and its status are listed below, we are actively supportin
| Soneium Testnet ||| | | Real-time |
| Sonic Testnet ||| | | Real-time |
| Taiko Mainnet ||| | | Real-time |
| Unchain Sepolia ||| | | Real-time |
| X Layer Mainnet ||| || Real-time |
| Zircuit Mainnet ||| | | Real-time |
| zkLink Nova ||| | | Real-time |
Expand Down Expand Up @@ -502,6 +504,33 @@ npx @sentio/cli@latest graph deploy --owner <owner> --name <project name>

</details>

### Corn


Finish Step 1-3 from [Quickstart](quickstart "mention"). You could create indexer in either [sentio processor](processor-basic "mention") or [subgraph](hosted-subgraph "mention") format.

<details>
<summary>Create and upload an example Sentio processor</summary>

```
npx @sentio/cli@latest create -n <project name> --chain-type eth --chain-id 21000000
...
npx @sentio/cli@latest upload
```

</details>

<details>
<summary>Create and deploy an example Subgraph</summary>

```
npx @sentio/cli@latest graph create -n <project name> --chain-id 21000000
...
npx @sentio/cli@latest graph deploy --owner <owner> --name <project name>
```

</details>

### Cronos


Expand Down Expand Up @@ -1126,6 +1155,33 @@ npx @sentio/cli@latest graph deploy --owner <owner> --name <project name>
</details>

>️ Testnet is available at chain id: 167008.
### Unchain Sepolia


Finish Step 1-3 from [Quickstart](quickstart "mention"). You could create indexer in either [sentio processor](processor-basic "mention") or [subgraph](hosted-subgraph "mention") format.

<details>
<summary>Create and upload an example Sentio processor</summary>

```
npx @sentio/cli@latest create -n <project name> --chain-type eth --chain-id 1301
...
npx @sentio/cli@latest upload
```

</details>

<details>
<summary>Create and deploy an example Subgraph</summary>

```
npx @sentio/cli@latest graph create -n <project name> --chain-id 1301
...
npx @sentio/cli@latest graph deploy --owner <owner> --name <project name>
```

</details>

### X Layer


Expand Down
2 changes: 1 addition & 1 deletion src/gen-supported-networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const template = fs.readFileSync('./src/evm-chain-template.md.template', 'utf8')

let chainContents = ""
for (const network of mainnetInfos) {
let chainContent = template.replaceAll("${name}", network.name).replace(" Mainnet", "").replace(" Testnet", "").replaceAll("${chainId}", network.chainId) + '\n';
let chainContent = template.replaceAll("${name}", network.name.replace(/ [^ ]+net$/, "")).replace(" Testnet", "").replaceAll("${chainId}", network.chainId) + '\n';
let notes = ""
if (whitelistTestnet.has(network.chainId)) {
notes = "Currently support is for testnet only."
Expand Down

0 comments on commit f8655a7

Please sign in to comment.