Skip to content

feat: add LinkSwarm settlement orchestrator with Chainlink Functions verification - #23360

Draft
Jsand-187 wants to merge 7 commits into
smartcontractkit:developfrom
Jsand-187:feat/linkswarm-settlement
Draft

feat: add LinkSwarm settlement orchestrator with Chainlink Functions verification#23360
Jsand-187 wants to merge 7 commits into
smartcontractkit:developfrom
Jsand-187:feat/linkswarm-settlement

Conversation

@Jsand-187

Copy link
Copy Markdown

LinkSwarm: Chainlink Functions-Gated Settlement Orchestrator

Overview

LinkSwarm is a production-ready settlement engine that uses Chainlink Functions as the mandatory verification gate for every batch settlement.

Key Features

  • Functions as Gate: No settlement occurs until Functions verifies the commitment
  • High Throughput: Designed for 10,000+ workers per batch
  • Multi-Network: EVM, Solana, Cosmos, UTXO delivery after verification
  • Private Ledgers: Per-user immutable history with audit trail
  • USDC/Fiat Bridge: Automatic conversion with dual-hash accounting
  • Full Reports: JSON + CSV with chainlinkVerified and functionsRequestId

Architecture

Worker Batch → Entropy-3.12 Commitment → Chainlink Functions (gate) → Delivery Adapters → Private Ledgers → Reports

text

Files Added

  • cmd/linkswarm/engine.go - Complete production engine
  • cmd/linkswarm/go.mod - Dependencies
  • cmd/linkswarm/go.sum - Checksums
  • cmd/linkswarm/LICENSE - Apache 2.0 license
  • cmd/linkswarm/NOTICE - Attribution
  • docs/linkswarm.md - Full documentation

Testing

cd cmd/linkswarm
go mod tidy
go run engine.go
License

Apache 2.0

Author: @Jsand-187
Proposal: Settlement Orchestration Layer for Chainlink Functions

Pray4LoveOnes and others added 7 commits August 7, 2026 10:55
…verification

- Entropy-3.12 batch commitments verified by Chainlink Functions
- Simulation + live Functions clients with idempotency and retries
- Private per-user ledgers, card-lock, USDC/fiat bridge
- Multi-network delivery after verification
- Full Apache 2.0 license and documentation
@Jsand-187
Jsand-187 requested review from a team as code owners August 7, 2026 19:25
@Jsand-187
Jsand-187 marked this pull request as draft August 8, 2026 18:02
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.

3 participants