Skip to Content

Yaci Store Native (GraalVM) Distribution (Preview)

Native binaries are available under a separate release tag: <version>-native (e.g., 2.0.0-beta4-native)

Download Format

Look for platform-specific ZIP files in this format:

yaci-store-<version>-<os>-<arch>-all.zip

Example:

yaci-store-2.0.0-beta4-linux-x64-all.zip

⚠️ Only use the ZIP files ending with -all. Ignore files ending with n2c.

Setup

  1. Extract the ZIP.

  2. Edit config/application.properties to configure:

    • Cardano network info (host/port/protocol magic)
    • PostgreSQL connection settings
  3. Run the app:

./yaci-store
  1. Run with ledger-state profile:
SPRING_PROFILES_ACTIVE=ledger-state ./yaci-store

If you are running ledger-state calculation for mainnet, you should tune your PostgreSQL configuration for optimal performance. While the default config will work, sync time will be significantly longer without these optimizations.

For Native Distribution users:

  1. Increase PostgreSQL shared memory to 4GB or more (minimum 2GB recommended)
  2. Configure the following PostgreSQL-related properties in your application configuration (application-ledger-state.properties):
    • store.adapot.reward-bulk-load-work-mem=1GB
    • store.adapot.reward-bulk-load-maintenance-work-mem=2GB
    • store.adapot.stake-snapshot-work-mem=512MB
    • store.governance-aggr.drep-dist-work-mem=512MB
Last updated on