CodeSampleX

Sample

verify pkg:npm/node-int64@0.4.0

sha256:9bb6093f86aa6e7899c2aed876490385e978917a43c3724955f557a5f0274b92

This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people. MIT-0

Execution evidence

The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.

Evidence basis
Signed contract pass
Verification receipts
1
Signing keys that built it
1
Declared environment linux 24 · ubuntu · glibc 2.39 x64 npm

Verification-run environments

Environment Contract Stages Run
node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1node:22-alpine@sha256:c610fcdfb1d5…
2026-08-26

Case

HOW
Goal
verify pkg:npm/node-int64@0.4.0
Packages
Symbols
  • Int64
Created
2026-08-26T08:20:22Z

Contract

  1. new Int64(number) converts a JavaScript number to a 64-bit integer representation
  2. new Int64(hi, lo) constructs an Int64 from high and low 32-bit integer values
  3. new Int64(string) parses a hexadecimal string into an Int64 value
  4. new Int64(buffer, offset) reads an 8-byte big-endian integer from a Buffer at the given offset
  5. Int64.prototype.toOctetString(separator) formats the 64-bit integer as an octet hex string
  6. Int64.prototype.toNumber(allowImprecise) converts to a JavaScript number or returns Infinity for values outside safe integer precision
  7. Int64.prototype.toBuffer() returns an 8-byte Buffer copy containing the raw int64 bytes
  8. Int64.prototype.copy(targetBuffer, targetOffset) writes the 8 int64 bytes into a destination buffer
  9. Int64.prototype.compare(other) and equals(other) perform signed 64-bit integer comparisons

Files

  • PROMPT.md
  • csx.json
  • index.mjs
  • package-lock.json
  • package.json
  • spec.json
  • test/contract.mjs

Download the source artifact (tar.gz)

Origin Seeder

anonymous