cctp-rs 7.0.0

Type-safe Rust SDK for Circle's Cross-Chain Transfer Protocol (CCTP) v1 and v2 — bridge USDC across 11 v2-capable EVM chain families with fast transfer support; protocol parser recognizes all 21 announced CCTP v2 domain IDs.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-- SPDX-FileCopyrightText: 2025 Semiotic AI, Inc.
--
-- SPDX-License-Identifier: Apache-2.0

import CctpSpec.Fixtures

/-- Prints the correspondence fixture JSON to stdout, or fails loudly if any
vector disagrees with the Lean model. -/
def main : IO UInt32 := do
  match CctpSpec.Fixtures.fixturesJson with
  | .ok json =>
    IO.println json.pretty
    return 0
  | .error e =>
    IO.eprintln s!"fixture generation failed: {e}"
    return 1