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/aiken-uplc@0.0.9

Patch Changes

  • Updated dependencies [25ebda0]:
    • @evolution-sdk/evolution@0.3.17

@evolution-sdk/evolution@0.3.17

Patch Changes

  • #143 25ebda0 Thanks @solidsnakedev! - Add Data.hashData() function for computing blake2b-256 hash of PlutusData.

    This moves the hashing functionality from utils/Hash.hashPlutusData() to the Data module for better organization and discoverability. The function computes the datum hash used for inline datums and datum witnesses.

    Example:

    import * as Data from "@evolution-sdk/evolution/Data"
    
    // Hash a simple integer
    const intHash = Data.hashData(42n)
    
    // Hash a constructor (e.g., for a custom datum type)
    const constr = new Data.Constr({ index: 0n, fields: [1n, 2n] })
    const constrHash = Data.hashData(constr)
    
    // Hash a bytearray
    const bytes = new Uint8Array([0xde, 0xad, 0xbe, 0xef])
    const bytesHash = Data.hashData(bytes)
    
    // Hash a map
    const map = new Map<Data.Data, Data.Data>([[1n, 2n]])
    const mapHash = Data.hashData(map)

    Breaking Change: hashPlutusData has been removed from utils/Hash. Use Data.hashData() instead.

@evolution-sdk/devnet@1.1.17

Patch Changes

  • Updated dependencies [25ebda0]:
    • @evolution-sdk/evolution@0.3.17
    • @evolution-sdk/aiken-uplc@0.0.9
    • @evolution-sdk/scalus-uplc@0.0.7

@evolution-sdk/scalus-uplc@0.0.7

Patch Changes

  • Updated dependencies [25ebda0]:
    • @evolution-sdk/evolution@0.3.17

docs@0.0.24

Patch Changes

  • Updated dependencies [25ebda0]:
    • @evolution-sdk/evolution@0.3.17
    • @evolution-sdk/devnet@1.1.17

evolution-vite-react-example@0.1.3

Patch Changes

  • Updated dependencies [25ebda0]:
    • @evolution-sdk/evolution@0.3.17

@solidsnakedev solidsnakedev merged commit 274792a into main Jan 27, 2026
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.

1 participant