Skip to content

Conversation

@github-actions
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@evolution-sdk/evolution@0.3.8

Patch Changes

  • #113 7905507 Thanks @solidsnakedev! - Add attachMetadata() operation to TransactionBuilder for attaching transaction metadata according to CIP-10 standard.

    Changes:

    • Added attachMetadata() method to attach metadata with custom labels
    • Metadata labels are now bigint (unbounded positive integers) supporting CIP-20 messages (label 674) and custom labels
    • Automatic computation of auxiliaryDataHash in transaction body when metadata is present
    • Proper fee calculation accounting for auxiliary data size
    • TransactionMetadatum refactored to simple union type: string | bigint | Uint8Array | Map | Array
    • Added NonNegativeInteger schema to Numeric module for unbounded non-negative integers

    Example:

    await client
      .newTx()
      .attachMetadata({
        label: 674n, // CIP-20 message label
        metadata: "Hello Cardano!"
      })
      .payToAddress({ address, assets })
      .build()
      .then((tx) => tx.sign().submit())

@evolution-sdk/devnet@1.1.8

Patch Changes

  • Updated dependencies [7905507]:
    • @evolution-sdk/evolution@0.3.8

docs@0.0.15

Patch Changes

  • Updated dependencies [7905507]:
    • @evolution-sdk/evolution@0.3.8
    • @evolution-sdk/devnet@1.1.8

@solidsnakedev solidsnakedev merged commit a6ca7e0 into main Dec 24, 2025
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