Steps to Configure Galexie
Key Settings Include
Cloud Storage Service
Specify the cloud storage service to be used to export ledger metadata. Currently onlyGCS and S3 are supported
Cloud Storage Bucket
Specify the cloud storage bucket where Galexie will export Stellar ledger data. Updatedestination_bucket_path to the complete path of your bucket, including subpaths if applicable.
Stellar Network
Set the Stellar network to be used in creating the data lake.Data Organization (Optional)
Configure how the exported data is organized in the storage bucket. The example below adds 1 ledger per file and organizes them in a directory of 64000 files..config.json file that records these values in the data lake.
Use a Custom Core Config (Optional)
You can specify a customcore.cfg file in the Galexie config.toml to use that will override the default core parameters used with the Stellar Network specified in the network parameter.
Copy an existing core.cfg file such as the captive-core-pubnet.cfg provided here and add the following to your config.toml
- Please see the Choosing Your Quorum Set for more information about
core.cfgquorum set configuration - A list of customizable core parameters can be found here
core.cfg used by Galexie will enable the following core parameters:
- BACKFILL_RESTORE_META - ledger metadata will be populated with LedgerEntryChange RESTORE type for protocol versions prior to 23
- ENABLE_SOROBAN_DIAGNOSTIC_EVENTS - additional diagnostic Soroban events that are not part of the protocol will be generated while applying Soroban transactions
- EMIT_SOROBAN_TRANSACTION_META_EXT_V1 - Soroban extension V1 data will be emitted
- EMIT_LEDGER_CLOSE_META_EXT_V1 - ledger metadata extension V1 data will be emitted
- EMIT_CLASSIC_EVENTS - classic events will be enabled and emitted for protocol
>= 23 - BACKFILL_STELLAR_ASSET_EVENTS - classic events will be enabled and emitted for protocol
<= 22. This parameter also requiresEMIT_CLASSIC_EVENTSto be enabled
Running Galexie on an Instance
1. Copy the Sample Configuration
Start with the provided sample file,config.example.toml.
2. Rename and Update the Configuration
Rename the file toconfig.toml and adjust settings as needed.