@neuraiproject/neurai-scripts 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -192,6 +192,8 @@ var NeuraiScriptsBundle = (function (exports) {
192
192
  // AuthScript only. Stack contract: (c a b T 1 M G role_1 .. role_n n -- 1),
193
193
  // failing the script instead of pushing 0. See covenants/asset-auth.
194
194
  const OP_CHECKASSETAUTH = 0xdf;
195
+ // NIP-060: verify a compact P-256 signature over SHA-256(message).
196
+ const OP_CHECKSIG_P256 = 0xe0;
195
197
  // ---------- Expansion / NOPs ----------
196
198
  // Only the NOPs not aliased by DePIN-Test opcodes are exported as NOPs.
197
199
  // OP_NOP2 == OP_CHECKLOCKTIMEVERIFY (0xb1)
@@ -361,6 +363,7 @@ var NeuraiScriptsBundle = (function (exports) {
361
363
  OP_CHECKSIGFROMSTACK: OP_CHECKSIGFROMSTACK,
362
364
  OP_CHECKSIGVERIFY: OP_CHECKSIGVERIFY,
363
365
  OP_CHECKSIG_ED25519: OP_CHECKSIG_ED25519,
366
+ OP_CHECKSIG_P256: OP_CHECKSIG_P256,
364
367
  OP_CHECKTEMPLATEVERIFY: OP_CHECKTEMPLATEVERIFY,
365
368
  OP_CODESEPARATOR: OP_CODESEPARATOR,
366
369
  OP_DEPTH: OP_DEPTH,