Skip to content

Setup WingridersV2 on testnet-preprod - #9

Merged
ljttl3q04t merged 8 commits into
mainfrom
wingriders-v2
May 12, 2026
Merged

Setup WingridersV2 on testnet-preprod#9
ljttl3q04t merged 8 commits into
mainfrom
wingriders-v2

Conversation

@ljttl3q04t

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the Felis monorepo to support Wingriders V2 (CP) and SundaeSwap V1 workflows (notably on testnet-preprod), including network-specific script/config “warehouses”, tx-building helpers, provider enhancements, and example CLIs for debugging/ops.

Changes:

  • Add Wingriders V2 + SundaeSwap V1 on-chain config “warehouse” modules and expand datum/redeemer models.
  • Introduce build-tx helpers + tests for Wingriders V2 (create-pool, batch) and SundaeSwap V1 (create-pool, scoop).
  • Improve provider utilities (Kupo BigInt-safe parsing + script fetching; add Cardanoscan provider) and add example CLI scripts/Docker image.

Reviewed changes

Copilot reviewed 41 out of 45 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
turbo.json Ensure build order includes new DEX/build-tx packages.
pnpm-lock.yaml Lockfile updates for new workspace deps and added packages.
packages/wingriders-v2/src/wingriders-v2.ts Expand Wingriders V2 types (Factory datum/redeemer, pool datum updates, redeemers) and make LP policy/network configurable via warehouse.
packages/wingriders-v2/src/warehouse.ts Add per-network Wingriders V2 script hashes, reference inputs, derived addresses/assets.
packages/wingriders-v2/src/utils.ts Make Asset import type-only.
packages/wingriders-v2/src/scripts/preprod-script.json Add preprod deployed script hashes/bodies config.
packages/wingriders-v2/src/scripts/mainnet-script.json Add mainnet deployed script hashes/bodies config.
packages/wingriders-v2/src/index.ts Export warehouse + utils.
packages/tx-builder/src/tx-builder.ts Add hardCodedTxFee build option.
packages/syncer/src/wingriders-v2-syncer.ts Switch Wingriders V2 syncer to warehouse-based CP request validator hash.
packages/sundaeswap-v1/test/sample.test.ts Add RustModule init and add datum-hash roundtrip/utility tests for V1.
packages/sundaeswap-v1/src/warehouse.ts Add per-network SundaeSwap V1 script/config warehouse (addresses, policies, constants).
packages/sundaeswap-v1/src/sundaeswap-v1.ts Add FactoryDatum + multiple redeemers + small refactors/formatting.
packages/sundaeswap-v1/src/index.ts Export warehouse.
packages/provider/src/kupo.ts Parse Kupo JSON via json-bigint; add script fetching; pass datum/script into Utxo.fromKupo.
packages/provider/src/index.ts Export new Cardanoscan provider entrypoint.
packages/provider/src/cardanoscan.ts Add Cardanoscan REST provider (list txs, submit tx, etc.).
packages/provider/package.json Add json-bigint dependency.
packages/minswap-build-tx/test/wingriders-v2.test.ts Add Wingriders V2 build-tx tests for create-pool and batch.
packages/minswap-build-tx/test/sundaeswap-v1.test.ts Add SundaeSwap V1 build-tx tests for create-pool and scoop-shape assertions.
packages/minswap-build-tx/src/wingriders-v2.ts Implement Wingriders V2 create-pool and batch tx builders using warehouse + datums/redeemers.
packages/minswap-build-tx/src/sundaeswap-v1.ts Implement SundaeSwap V1 create-pool and scoop tx builders using warehouse + datums/redeemers.
packages/minswap-build-tx/src/index.ts Export new build-tx modules.
packages/minswap-build-tx/package.json Add deps on felix-wingriders-v2 and felix-sundaeswap-v1.
packages/ledger-core/src/utxo.ts Extend Utxo.fromKupo to accept script info and populate TxOut scriptRef.
packages/ledger-core/src/plutus-script-utils.ts Add Plutus script encoding/parameter application + script hash helper.
packages/ledger-core/src/index.ts Export plutus-script-utils.
Dockerfile.w2 Add Docker image for running example CLI scripts (tsx entrypoint).
biome.json Add new packages/apps to Biome scope.
apps/example/src/w2.ts Add Wingriders V2 CLI (create-pool, batch, split-agent-token, info) targeting preprod.
apps/example/src/tx-info.ts Add tx-info script to fetch tx CBOR and print decoded JSON.
apps/example/src/syncer.ts Formatting changes and minor cleanup.
apps/example/src/s1.ts Add SundaeSwap V1 CLI (info, create-pool, batch/scoop, split-scooper-token).
apps/example/src/kupo.ts Add a Kupo CLI for health/datum/utxo queries.
apps/example/src/fetchMapPools.ts Adjust imports and helper functions to fetch/update pool maps.
apps/example/src/cardanoscan.ts Formatting changes and minor cleanup.
apps/example/package.json Add dependencies for new example CLIs (tsx, build-tx, cip, wingriders-v2).
apps/example/data/sundaeswap-v3-map-pool.json Fix JSON formatting/trailing brace alignment.
apps/example/data/sundaeswap-v1-map-pool.json Fix JSON formatting/trailing brace alignment.
apps/example/data/minswap-dex-v2-map-pool.json Fix JSON formatting/trailing brace alignment.
.claude/commands/tx-info.md Add a Claude command doc for tx-info script.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Comment thread apps/example/src/fetchMapPools.ts Outdated
Comment thread packages/minswap-build-tx/test/sundaeswap-v1.test.ts
Comment thread packages/tx-builder/src/tx-builder.ts
Comment thread apps/example/src/tx-info.ts
Comment thread .claude/commands/tx-info.md
Comment thread packages/minswap-build-tx/src/sundaeswap-v1.ts
@ljttl3q04t
ljttl3q04t merged commit 2da060a into main May 12, 2026
1 check passed
@ljttl3q04t
ljttl3q04t deleted the wingriders-v2 branch May 12, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants