Evolution SDK
Yaci DevKit includes a packaged Evolution SDK example for testing payment and Plutus transactions against a local devnet.
The example is available in both Docker and native CLI zip distributions:
examples/evolution-sdkPrerequisites
- Yaci DevKit running with Yaci Store enabled
- Admin API available at
http://localhost:10000 - Yaci Store API available at
http://localhost:8080/api/v1 - Bun installed
curl -fsSL https://bun.sh/install | bashRun the Example
From the DevKit distribution folder:
cd examples/evolution-sdk
bun install
bun run payment
bun run plutus:v2
bun run plutus:v3The example also supports running the scripts directly:
bun payment.ts
bun plutus_v2.ts
bun plutus_v3.tsChain Configuration
The example fetches the live Shelley genesis from Yaci DevKit:
http://localhost:10000/local-cluster/api/admin/devnet/genesis/shelleyIt uses the current systemStart, slotLength, networkMagic, and epochLength to build the Evolution SDK chain descriptor. This keeps the SDK aligned with the active DevKit network after every reset.
See examples/evolution-sdk/README.md in the distribution for additional details about the Yaci Store response shim used by this example.