hyperindex
๐ข Ultra-Fast Multichain Indexer
ํ์ผ ํ์๊ธฐ
์ต์ข ๋ฒ์ ๋ค์ด๋ก๋ (.zip)- start-clickhouse.sh
- start-postgres.sh
- settings.json
- action.yml
- action.yml
- bug_report.md
- build-platforms.yml
- build_and_verify.yml
- cache-clean-guide.md
- discord-release.yml
- publish.yml
- telegram-release.yml
- changelog.json
- settings.json
- CLA.md
- EULA.md
- LICENSE.md
- README.md
- build-artifact.ts
- verify-artifact.ts
- build-platform-package.ts
- package.json
- tsconfig.json
- .gitignore
- codegenerator.iml
- modules.xml
- vcs.xml
- script.rs
- evm_prompts.rs
- fuel_prompts.rs
- inquire_helpers.rs
- mod.rs
- shared_prompts.rs
- svm_prompts.rs
- validation.rs
- envio__cli_args__clap_definitions__test__envio_help_snapshot.snap
- envio__cli_args__clap_definitions__test__envio_init_help_snapshot.snap
- envio__cli_args__clap_definitions__test__envio_tools_help_snapshot.snap
- clap_definitions.rs
- init_config.rs
- mod.rs
- converters.rs
- mod.rs
- abi_compat.rs
- chain_helpers.rs
- entity_parsing.rs
- env_interpolation.rs
- event_parsing.rs
- field_types.rs
- human_config.rs
- hypersync_endpoints.rs
- mod.rs
- public_config.rs
- system_config.rs
- validation.rs
- abi.rs
- address.rs
- mod.rs
- topic_filter.rs
- config.rs
- decode.rs
- mod.rs
- query.rs
- selection.rs
- types.rs
- classify.rs
- client.rs
- interval.rs
- mod.rs
- envio__executor__init__tests__agentic_mode_detection_matrix.snap
- envio__executor__init__tests__agentic_prompt_with_api_token.snap
- envio__executor__init__tests__agentic_prompt_without_api_token.snap
- envio__executor__init__tests__next_steps_in_current_dir.snap
- envio__executor__init__tests__next_steps_in_current_dir_alias.snap
- envio__executor__init__tests__next_steps_in_subdir.snap
- envio__executor__init__tests__next_steps_in_subdir_with_shell_metacharacters.snap
- envio__executor__init__tests__next_steps_in_subdir_with_spaces.snap
- envio__executor__tools__tests__fetch_docs_mcp_server_page.snap
- codegen.rs
- config.rs
- dev.rs
- init.rs
- local.rs
- metrics.rs
- mod.rs
- skills.rs
- tools.rs
- abi.rs
- address.rs
- mod.rs
- config.rs
- mod.rs
- selection.rs
- types.rs
- envio__hbs_templating__codegen_templates__test__envio_types_dts_generated_for_evm.snap
- envio__hbs_templating__codegen_templates__test__envio_types_dts_generated_for_fuel.snap
- envio__hbs_templating__codegen_templates__test__envio_types_dts_generated_for_svm.snap
- envio__hbs_templating__codegen_templates__test__event_template_named_struct_rescript_snapshot.snap
- envio__hbs_templating__codegen_templates__test__event_template_named_struct_typescript_snapshot.snap
- envio__hbs_templating__codegen_templates__test__event_template_with_custom_field_selection.snap
- envio__hbs_templating__codegen_templates__test__event_template_with_empty_params.snap
- envio__hbs_templating__codegen_templates__test__indexer_code_for_hostile_config.snap
- envio__hbs_templating__codegen_templates__test__indexer_code_generates_correct_types_and_values.snap
- envio__hbs_templating__codegen_templates__test__indexer_code_multiple_chains.snap
- envio__hbs_templating__codegen_templates__test__internal_config_json_code_generated_for_evm.snap
- envio__hbs_templating__codegen_templates__test__internal_config_json_code_generated_for_fuel.snap
- envio__hbs_templating__codegen_templates__test__internal_config_json_code_generated_for_svm.snap
- envio__hbs_templating__codegen_templates__test__internal_config_json_code_with_all_options.snap
- envio__hbs_templating__codegen_templates__test__internal_config_json_code_with_lowercase_contract_name.snap
- envio__hbs_templating__codegen_templates__test__internal_config_json_code_with_multiple_contracts.snap
- envio__hbs_templating__codegen_templates__test__internal_config_json_code_with_no_contracts.snap
- envio__hbs_templating__contract_import_templates__test__rescript_handler_for_tuple_events.snap
- envio__hbs_templating__contract_import_templates__test__rescript_test_file_for_evm.snap
- envio__hbs_templating__contract_import_templates__test__rescript_test_file_for_fuel.snap
- envio__hbs_templating__contract_import_templates__test__rescript_test_file_for_tuple_events.snap
- envio__hbs_templating__contract_import_templates__test__schema_graphql_for_evm.snap
- envio__hbs_templating__contract_import_templates__test__typescript_handler_for_tuple_events.snap
- envio__hbs_templating__contract_import_templates__test__typescript_test_file_for_evm.snap
- envio__hbs_templating__contract_import_templates__test__typescript_test_file_for_fuel.snap
- envio__hbs_templating__contract_import_templates__test__typescript_test_file_for_tuple_events.snap
- envio__hbs_templating__env_template__test__renders_with_token.snap
- envio__hbs_templating__env_template__test__renders_without_token.snap
- envio__hbs_templating__init_templates__test__package_json_with_extra_deps.snap
- envio__hbs_templating__init_templates__test__rescript_package_json_no_extra_deps.snap
- envio__hbs_templating__init_templates__test__typescript_package_json_no_extra_deps.snap
- codegen_templates.rs
- contract_import_templates.rs
- env_template.rs
- init_templates.rs
- mod.rs
- mod.rs
- path_utils.rs
- mod.rs
- print_missing_networks.rs
- borsh_decoder.rs
- config.rs
- fields.rs
- mod.rs
- query.rs
- selection.rs
- types.rs
- dotenv.rs
- file_system.rs
- mod.rs
- normalized_list.rs
- text.rs
- unique_hashmap.rs
- address_store.rs
- block_hash_pagination.rs
- block_store.rs
- client_filtered_contracts.rs
- commands.rs
- constants.rs
- docker_env.rs
- field_columns.rs
- field_table.rs
- hex.rs
- lib.rs
- mock_hypersync_server.rs
- napi.rs
- registration_start_block.rs
- request_stats.rs
- service_health.rs
- template_dirs.rs
- transaction_store.rs
- type_schema.rs
- rescript.json
- vitest.config.ts
- .env.example
- .gitignore
- README.md
- tsconfig.json
- .env.example
- .gitignore
- README.md
- schema.graphql
- EventHandlers.js
- ERC20.ts
- indexer.test.ts
- config.yaml
- tsconfig.json
- .env.example
- .gitignore
- README.md
- schema.graphql
- UniswapV3Factory.ts
- indexer.test.ts
- config.yaml
- tsconfig.json
- .env.example
- .gitignore
- README.md
- schema.graphql
- UniswapV3Factory.ts
- UniswapV3Pool.ts
- indexer.test.ts
- config.yaml
- tsconfig.json
- greeter-abi.json
- .env.example
- .gitignore
- schema.graphql
- Greeter.ts
- indexer.test.ts
- config.yaml
- README.md
- tsconfig.json
- greeter-abi.json
- .env.example
- .gitignore
- schema.graphql
- Greeter.ts
- indexer.test.ts
- config.yaml
- README.md
- tsconfig.json
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- SKILL.md
- test.yaml
- TokenMetadata.ts
- indexer.test.ts
- .env.example
- .gitignore
- config.yaml
- README.md
- schema.graphql
- tsconfig.json
- BlockHandler.ts
- .env.example
- .gitignore
- config.yaml
- README.md
- schema.graphql
- tsconfig.json
- Contract1.json
- Contract2.json
- greeter-abi.json
- nested-abi.json
- sablier-lockup-tranched.json
- GetSourceCodeResponse.json
- config-clickhouse-options.yaml
- config-internal.yaml
- config-multi-storage-defaults.yaml
- config-with-all-options.yaml
- config1.yaml
- config2.yaml
- config3.yaml
- config4.yaml
- config5.yaml
- fuel-config.yaml
- lowercase-contract-name.yaml
- schema.graphql
- svm-metaplex-config.yaml
- tuple-events-config.yaml
- unquoted-hex-address.yaml
- schema-with-clickhouse-options.graphql
- schema-with-internal.graphql
- schema-with-multi-storage.graphql
- schema.graphql
- hypersync_health.rs
- build.rs
- Cargo.toml
- CommandLineHelp.md
- Makefile
- README.md
- tarpaulin.toml
- config.yaml
- schema.graphql
- fuel-greeter-abi.json
- cli.test.ts
- install.test.ts
- e2e.test.ts
- templates.test.ts
- clickhouse.ts
- graphql.ts
- postgres.ts
- process.ts
- config.ts
- package.json
- tsconfig.json
- vitest.config.ts
- BigDecimal.res
- ClickHouse.res
- DateFns.res
- EventSource.res
- Express.res
- Lodash.res
- NodeJs.res
- Performance.res
- Performance.resi
- Pino.res
- Postgres.res
- SDSL.res
- vendored-lodash-fns.js
- Viem.res
- Vitest.res
- WebSocket.res
- Yargs.res
- EntityFilter.res
- EntityHistory.res
- IndexCatalog.res
- IndexDefinition.res
- IndexManager.res
- InternalTable.res
- Schema.res
- Table.res
- AddressSet.res
- AddressStore.res
- BlockStore.res
- Evm.res
- EvmChain.res
- EvmHyperSyncSource.res
- EvmRpcClient.res
- FieldMask.res
- Fuel.res
- FuelHyperSync.res
- FuelHyperSync.resi
- FuelHyperSyncClient.res
- FuelHyperSyncSource.res
- FuelSDK.res
- HyperSync.res
- HyperSync.resi
- HyperSyncClient.res
- HyperSyncHeightStream.res
- RequestStat.res
- Rpc.res
- RpcSource.res
- RpcWebSocketHeightStream.res
- SimulateSource.res
- Source.res
- SourceManager.res
- SourceManager.resi
- Svm.res
- SvmHyperSyncClient.res
- SvmHyperSyncSource.res
- TransactionStore.res
- vendored-fuel-abi-coder.js
- Ink.res
- Style.res
- BufferedProgressBar.res
- CustomHooks.res
- Messages.res
- SyncETA.res
- TuiData.res
- Tui.res
- Rest.res
- Rest.resi
- Address.res
- Api.res
- Batch.res
- BatchProcessing.res
- Bin.res
- ChainFetching.res
- ChainId.res
- ChainId.resi
- ChainMap.res
- ChainMap.resi
- ChainMetadata.res
- ChainState.res
- ChainState.resi
- Change.res
- Config.res
- ContractRegisterContext.res
- Core.res
- CrossChainState.res
- CrossChainState.resi
- Ecosystem.res
- EffectState.res
- EffectState.resi
- EntityId.res
- EntityTables.res
- Env.res
- Envio.res
- EnvioGlobal.res
- EnvSafe.res
- EnvSafe.resi
- ErrorHandling.res
- EventConfigBuilder.res
- EventProcessing.res
- EventUtils.res
- EvmTypes.res
- ExitOnCaughtUp.res
- FetchState.res
- FinalizeBackfill.res
- HandlerLoader.res
- HandlerRegister.res
- HandlerRegister.resi
- Hasura.res
- IndexerLoop.res
- IndexerState.res
- IndexerState.resi
- InMemoryStore.res
- InMemoryTable.res
- Internal.res
- Js.shim.ts
- LazyLoader.res
- LoadLayer.res
- LoadLayer.resi
- LoadManager.res
- Logging.res
- LogSelection.res
- Main.res
- MemoryStorage.res
- Metrics.res
- Persistence.res
- PgStorage.res
- PruneStaleHistory.res
- RawEvent.res
- ReorgDetection.res
- Rollback.res
- RollbackCommit.res
- SafeCheckpointTracking.res
- SimulateDeadInputTracker.res
- SimulateDeadInputTracker.resi
- SimulateItems.res
- Sink.res
- SvmTypes.res
- TestIndexer.res
- Throttler.res
- Throttler.resi
- Time.res
- TopicFilter.res
- UserContext.res
- Utils.res
- Writing.res
- .gitignore
- bin.mjs
- evm.schema.json
- fuel.schema.json
- index.d.ts
- index.js
- package.json
- rescript.json
- svm.schema.json
- update-log-snapshots.mjs
- Logging.both-prettyconsole.snap
- Logging.console-pretty.snap
- Logging.console-raw.snap
- Logging.ecs-console.snap
- LogTesting.res
- ApiTypesFixtures.res
- EventRegistration.res
- FuelAbiFixtures.res
- GlobalSetup.res
- globalSetup.ts
- IndexerRunner.res
- IndexFixtures.res
- InternalTestIndexer.res
- MockHyperSyncServer.res
- MockRpcServer.res
- MockSource.res
- MockStorage.res
- NativeDecoder.res
- RpcSourcePins.res
- Scenario.res
- TestAddresses.res
- TestClickHouse.res
- TestConfig.res
- TestIndexerState.res
- TestPgSchema.res
- TypeChecker.ts
- UserModule.res
- AddressStore_test.res
- ChainIdMode_test.res
- ChainState_materialize_test.res
- ChainState_test.res
- ClickHouse_test.res
- ColumnNameFormat_test.res
- ConfigEnvioInfo_test.res
- CrossChainState_test.res
- DynamicContractsStartupSize_test.res
- EffectCache_test.res
- EffectState_test.res
- EntityIdType_test.res
- EvmRpcClient_test.res
- FetchState_onBlock_test.res
- FetchState_test.res
- FetchStateFuzz_test.res
- FinalizeBackfill_test.res
- HyperSyncDecoder_test.res
- IndexDefinition_test.res
- IndexerLoop_test.res
- IndexManager_test.res
- Metrics_test.res
- MockRpcServer_test.res
- PackageJson_test.res
- Persistence_test.res
- PgIndexes_test.res
- PgStorage_test.res
- PruneStaleHistory_test.res
- RenamedEventDecode_test.res
- Rpc_Test.res
- RpcRestClient_test.res
- SameSignatureEventDecode_test.res
- SimulateSource_test.res
- SourceManager_test.res
- Throttler_test.res
- AddressLowercase_test.res
- BelowHeadPollingPin_test.res
- BigDecimal.test.ts
- BlockLag_test.res
- BlockStore_test.res
- ChainMeta_test.res
- ChainStateReorgThreshold_test.res
- ClientAddressFilter_test.res
- ClientFilterDedup_test.res
- ConcurrentWrite_test.res
- Config_test.res
- ConfigCrossChain_test.res
- ContractRegisterAddress_test.res
- DynamicContractPersistence_test.res
- DynamicSplitQueueAlias_test.res
- E2E_test.res
- Encoders_schema_test.res
- EnterReorgThreshold_test.res
- EntityBigDecimal_test.res
- EntityColumnTypes_test.res
- EntityFilter_test.res
- EntityTimestamp_test.res
- EventBlockFilter_test.res
- EventFilters_test.res
- EvmHandlersApi_test.res
- EvmInlineFieldSelection_test.res
- FuelHandlersApi_test.res
- HandlerChainInfo_test.res
- HandlerEntityLoad_test.res
- HandlerRegister_test.res
- HandlerRegisterLifecycle_test.res
- HeightPushMetric_test.res
- HyperSync_test.res
- HyperSyncClient_test.res
- HyperSyncSourceContract_test.res
- IndexerState_test.res
- IndexerStateStall_test.res
- InternalEntity_test.res
- LoadLayer_test.res
- Logging.test.ts
- MockIndexerHandlers_test.res
- MultichainStuckAtHead_test.res
- OnBlockSchema_test.res
- OnEventRegistration_test.res
- OptionalBlockParams_test.res
- PerChainEntity_test.res
- RateLimit_test.res
- RawEventsTableMigration_test.res
- RegisterAfterInit_test.res
- RegistrationStartBlock_test.res
- ReorgDetection_test.res
- ResumeFinalize_test.res
- Rollback_test.res
- RollbackClickHouseOnly_test.res
- RpcFieldSelection_test.res
- RpcRollback_test.res
- RpcSource_test.res
- RpcSourceContract_test.res
- S.test.ts
- ScenarioClickHouse_test.res
- ScenarioIsolation_test.res
- ScenarioRollback_test.res
- SchemaIndexes_test.res
- SchemaIsolation_test.res
- setup.ts
- SiblingRollbackStuckChain_test.res
- SimulateDefaults_test.res
- SimulateDynamicAddress_test.res
- SlotResume_test.res
- SourceBlockHashes_test.res
- SparseDensityTargetOverflow_test.res
- StalledPolling_test.res
- SvmHandlersApi_test.res
- SvmHyperSyncClient_test.res
- SvmHyperSyncSource_test.res
- SvmInstructionE2e_test.res
- SvmInstructionPayload_test.res
- SvmSimulateTransaction_test.res
- TestIndexerEffects_test.res
- TestIndexerEntityOps_test.res
- TestIndexerGetWhere_test.res
- TestIndexerProcessGuards_test.res
- TokenIndexer_test.res
- TransactionStore_test.res
- UserApiValidation_test.res
- Utils_test.res
- WildcardSimulate_test.res
- WriteRead_test.res
- .gitignore
- package.json
- rescript.json
- vitest.config.ts
- .gitignore
- Counters.ts
- Indexer.res
- CrossChain.test.ts
- config.yaml
- envio-env.d.ts
- package.json
- rescript.json
- schema.graphql
- tsconfig.json
- vitest.config.ts
- .gitignore
- ERC20.ts
- ConfigView.test.ts
- indexer.test.ts
- config.yaml
- envio-env.d.ts
- package.json
- schema.graphql
- tsconfig.json
- vitest.config.ts
- .gitignore
- all-events-abi.json
- greeter-abi.json
- main.sw
- .gitignore
- Forc.lock
- Forc.toml
- main.rs
- .env.example
- .gitignore
- Cargo.lock
- Cargo.toml
- env.d.ts
- deploy.ts
- .env.example
- .gitignore
- package.json
- README.md
- tsconfig.json
- _regression-check.ts
- AllEventsHandlers.ts
- GreeterHandlers.ts
- Indexer.res
- ConfigView.test.ts
- FuelHyperSyncSourceHeight_test.res
- test.ts
- .env.example
- .gitignore
- config.yaml
- envio-env.d.ts
- package.json
- README.md
- rescript.json
- schema.graphql
- tsconfig.json
- vitest.config.ts
- .gitignore
- drift.json
- inline-fragments.yaml
- jupiter.json
- kamino.json
- NAMES.md
- views.sql
- flow.ts
- indexer.test.ts
- apply-views.sh
- config.test.yaml
- config.yaml
- envio-env.d.ts
- package.json
- schema.graphql
- tsconfig.json
- vitest.config.ts
- .gitignore
- SlotHandler.ts
- ConfigView.test.ts
- SlotHandler.test.ts
- .gitignore
- config.yaml
- envio-env.d.ts
- package.json
- README.md
- schema.graphql
- tsconfig.json
- vitest.config.ts
- .gitignore
- gravatar-abi.json
- NftFactory.json
- SimpleNft.json
- TestEvents.json
- TestEvents.sol
- EventHandlers.res
- EventHandlers.ts
- Indexer.res
- .gitignore
- .npmrc
- config.yaml
- envio-env.d.ts
- package.json
- README.md
- rescript.json
- schema.graphql
- tsconfig.json
- .env.example
- .gitignore
- .pnpmfile.cjs
- Cargo.lock
- Cargo.toml
- CLAUDE.md
- CONTRIBUTING.md
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- sync.gif
# ์ค์น ๊ฐ์ด๋
1. ์ฝ๋ ๋ด๋ ค๋ฐ๊ธฐ
git clone https://github.com/enviodev/hyperindex
๊นํ๋ธ์์ ํ๋ก์ ํธ ์ฝ๋ ์ ์ฒด๋ฅผ ๋ด ์ปดํจํฐ๋ก ๋ด๋ ค๋ฐ์ต๋๋ค.
cd hyperindex
๋ฐฉ๊ธ ๋ด๋ ค๋ฐ์ ํ๋ก์ ํธ ํด๋ ์์ผ๋ก ์ด๋ํฉ๋๋ค.
2. Node.js
์ฌ์ ์ถ์ฒ์ฌ์ ์ค๋น๋ฌผ
npm install
package.json์ ๋ช ์๋ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ค์ ๋ด๋ ค๋ฐ์ ์ค์นํฉ๋๋ค.
npm start
๊ฐ๋ฐ/์คํ ์๋ฒ๋ฅผ ์ผญ๋๋ค.
๋ช
๋ น์ด ์คํ ํ ํฐ๋ฏธ๋์ ๋ํ๋๋ ์ฃผ์(๋ณดํต http://localhost:3000 ํํ)๋ฅผ ๋ธ๋ผ์ฐ์ ์์ ์ด์ด๋ณด์ธ์.
3. Rust
๋ณดํต์ฌ์ ์ค๋น๋ฌผ
- Git GitHub์์ ํ๋ก์ ํธ ์ฝ๋๋ฅผ ๋ด๋ ค๋ฐ์ผ๋ ค๋ฉด ํ์ํฉ๋๋ค.
- Rust (rustup) rustup์ผ๋ก ์ค์นํ๋ฉด cargo๋ ํจ๊ป ์ค์น๋ฉ๋๋ค.
cargo build --release
Rust ํ๋ก์ ํธ๋ฅผ ์ปดํ์ผํฉ๋๋ค.
cargo run
๋น๋ ํ ๋ฐ๋ก ์คํ๊น์ง ์งํํฉ๋๋ค.
cargo build๊ฐ ์๋ฌ ์์ด ๋๋๋ฉด ์ฑ๊ณต์
๋๋ค. target/ ํด๋์ ์คํ ํ์ผ์ด ์์ฑ๋ฉ๋๋ค.
4. Make
๋ณดํต์ฌ์ ์ค๋น๋ฌผ
- Git GitHub์์ ํ๋ก์ ํธ ์ฝ๋๋ฅผ ๋ด๋ ค๋ฐ์ผ๋ ค๋ฉด ํ์ํฉ๋๋ค.
- Make Linux/macOS๋ ๋ณดํต ๊ธฐ๋ณธ ์ค์น๋์ด ์์ต๋๋ค. Windows๋ ๋ณ๋ ์ค์น(์: MSYS2, WSL)๊ฐ ํ์ํฉ๋๋ค.
โ ๏ธ ์ด ํ๋ก์ ํธ๋ ๊ท๋ชจ๊ฐ ํฐ ์ ์ฅ์๋ผ, ์ด ๋ฐฉ๋ฒ์ด ์ค์ ํต์ฌ ์ ํ์ด ์๋๋ผ ๋ด๋ถ ํ์ ํจํค์ง๋ฅผ ๊ฐ๋ฆฌํค๋ ๊ฒ์ผ ์ ์์ต๋๋ค. README ์ ์ฒด๋ฅผ ํจ๊ป ํ์ธํด๋ณด์ธ์.
cd packages/cli
์ด ํ๋ก์ ํธ์ ๊ด๋ จ ํ์ผ์ด ํ์ ํด๋ ์์ ์์ด์, ๋จผ์ ๊ทธ ํด๋๋ก ์ด๋ํฉ๋๋ค.
make
์์ฑ๋ ๋น๋ ์ค์ ์ ๋ฐํ์ผ๋ก ์ค์ ์ปดํ์ผ์ ์งํํด ์คํ ํ์ผ์ ๋ง๋ญ๋๋ค.
์๋ฌ ์์ด ๋๋๋ฉด ์ฑ๊ณต์
๋๋ค. ์์ฑ๋ ์คํ ํ์ผ์ ์ง์ ์คํํด๋ณด์ธ์.
// repository documentation
Was this content helpful?
(0 ratings)
