Skip to content

Conversation

@carlpulley-da
Copy link
Contributor

@carlpulley-da carlpulley-da commented Nov 26, 2025

  • add SECP256K1_VALIDATE_KEY primitive to compiler and wire through rest of compiler stack

Notes:

future PR will:

  • add in a compiler feature flag for primitive usage
  • enable use of the SECP256K1_VALIDATE_KEY LF primitive in Daml surface language
  • provide daml-script testing of the SECP256K1_VALIDATE_KEY primitive
  • library support for using secp2561 Daml functions with key validation

@carlpulley-da carlpulley-da self-assigned this Nov 26, 2025
@carlpulley-da carlpulley-da marked this pull request as ready for review November 26, 2025 13:47
@carlpulley-da carlpulley-da requested a review from a team November 26, 2025 13:47
@carlpulley-da carlpulley-da changed the base branch from main to cjp/issue-29484-builtin November 26, 2025 13:47

TYPE_REP_TYCON_NAME = 3011; // *Available in versions >= 2.dev*

SECP256K1_VALIDATE_KEY = 4001; // *Available in versions >= 2.dev*
Copy link
Contributor Author

@carlpulley-da carlpulley-da Nov 26, 2025

Choose a reason for hiding this comment

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

For the moment, SECP256K1_VALIDATE_KEY is dev only. A follow on PR will add damlc feature flags for this.

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