Skip to content

Commit c00c0c9

Browse files
authored
Merge pull request #67 from blockscout/va-arc-chain-dual-token
Env variables for Arc chain type
2 parents 260e94f + 37ea67d commit c00c0c9

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

setup/env-variables/backend-env-variables.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Can be set in format `1h` for 1 hour, `1m` for 1 minute, `1s` or `1` for 1 secon
134134
| `API_SENSITIVE_ENDPOINTS_KEY` | API key to protect some sensitive endpoints. Implemented in [#7355](https://github.com/blockscout/blockscout/pull/7355) | Version: v5.1.5\+ <br />Default: (empty) <br />Applications: API |
135135
| `CHECKSUM_ADDRESS_HASHES` | If set to `true`, redirects to checksummed version of address hashes. | Version: v3.1.0\+ <br />Default: `true` <br />Applications: API |
136136
| `CHECKSUM_FUNCTION` | Defines checksum address function. 2 available values: `rsk`, `eth` | Version: v2.0.1\+ <br />Default: `eth` <br />Applications: API |
137-
| `CHAIN_TYPE` | Specifies the blockchain architecture and enables chain-specific data models and fetchers. | Runtime configurable (v8.0.0\+): `neon`, `stability`, `blackfort`, `shibarium` Needs recompilation: `ethereum`, `optimism`, `arbitrum`, `optimism-celo` (formerly `celo` before v9.3.0), `polygon_zkevm`, `rsk`, `suave`, `zetachain`, `filecoin`, `zilliqa`, and other values prior to v8.0.0 Version: v5.3.0\+ <br />Default: `default` <br />Applications: API, Indexer |
137+
| `CHAIN_TYPE` | Specifies the blockchain architecture and enables chain-specific data models and fetchers. | Runtime configurable (v8.0.0\+): `neon`, `stability`, `blackfort`, `shibarium`, `arc` Needs recompilation: `ethereum`, `optimism`, `arbitrum`, `optimism-celo` (formerly `celo` before v9.3.0), `polygon_zkevm`, `rsk`, `suave`, `zetachain`, `filecoin`, `zilliqa`, and other values prior to v8.0.0 Version: v5.3.0\+ <br />Default: `default` <br />Applications: API, Indexer |
138138
| `CHAIN_ID` | Chain ID of the network. For instance, 100 in the case of xDai chain. | Version: v3.7.0\+ <br />Default: (empty) <br />Applications: API, Indexer |
139139
| `JSON_RPC` | JSON RPC endpoint of the chain for the WalletConnect integration. Implemented in [#4931](https://github.com/blockscout/blockscout/pull/4931) | Version: v4.1.0\+ <br />Default: (empty) <br />Applications: API, Indexer |
140140
| `HEALTH_MONITOR_CHECK_INTERVAL` | Interval between health stats collection. [Time format](/setup/env-variables/backend-env-variables#time-format). Implemented in [#11888](https://github.com/blockscout/blockscout/pull/11888/) | Version: v8.0.0\+ <br />Default: `1m` <br />Applications: API, Indexer |

setup/env-variables/backend-envs-chain-specific.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,3 +356,16 @@ Supported together with setting `CHAIN_TYPE=blackfort`
356356
| Variable | Description | Parameters |
357357
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
358358
| `BLACKFORT_VALIDATOR_API_URL` | Variable to define the URL of the Blackfort Validator API. Implemented in [#10744](https://github.com/blockscout/blockscout/pull/10744). | Version: v6.9.0+ <br />Default: (empty) <br />Applications: API, Indexer |
359+
360+
## Arc Management
361+
362+
<Info>
363+
Supported together with setting `CHAIN_TYPE=arc`
364+
365+
</Info>
366+
367+
| Variable | Description | Parameters |
368+
| ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
369+
| `INDEXER_ARC_NATIVE_TOKEN_DECIMALS` | Defines the number of decimals for Arc chain native token (e.g. USDC). Implemented in [#13452](https://github.com/blockscout/blockscout/pull/13452). | Version: master <br />Default: `6` <br />Applications: Indexer |
370+
| `INDEXER_ARC_NATIVE_TOKEN_CONTRACT` | Arc chain native token contract address. Implemented in [#13452](https://github.com/blockscout/blockscout/pull/13452). | Version: master <br />Default: `0x3600000000000000000000000000000000000000` <br />Applications: Indexer |
371+
| `INDEXER_ARC_NATIVE_TOKEN_SYSTEM_CONTRACT` | Arc chain system contract address emitting `NativeCoinTransferred` event. Implemented in [#13452](https://github.com/blockscout/blockscout/pull/13452). | Version: master <br />Default: `0x1800000000000000000000000000000000000000` <br />Applications: Indexer |

0 commit comments

Comments
 (0)