CodeSampleX

Sample

verify pkg:npm/%40exodus/bytes@1.15.1

sha256:d7d04245ed15ae7705efa4d825f38d5cdb01364e42d2aa91ddb363379c185afb

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 node 22.23 linux 24 · ubuntu · glibc 2.39 x64 node 22.23 javascript npm 10

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-28

Case

HOW
Goal
verify pkg:npm/%40exodus/bytes@1.15.1
Packages
Symbols
  • toHex
  • fromHex
  • toBase64
  • fromBase64
  • toBase64url
  • fromBase64url
  • fromBase64any
  • toBase58
  • fromBase58
  • toBase58xrp
  • fromBase58xrp
  • utf8fromString
  • utf8toString
  • utf8fromStringLoose
  • utf8toStringLoose
Environment
node 22.23.2
Created
2026-08-28T10:05:06Z

Contract

  1. toHex encodes Uint8Array into a lowercase hex string
  2. fromHex decodes a hex string to Uint8Array and supports format options
  3. fromHex throws SyntaxError on invalid hex input
  4. toBase64 encodes Uint8Array to RFC 4648 standard base64 with padding
  5. fromBase64 decodes RFC 4648 standard base64 string to Uint8Array
  6. toBase64url encodes Uint8Array to URL-safe base64 without padding
  7. fromBase64url decodes URL-safe base64 string to Uint8Array
  8. fromBase64any auto-detects and decodes both standard and URL-safe base64 strings
  9. toBase58 encodes Uint8Array to Bitcoin base58 string and fromBase58 decodes it
  10. toBase58xrp encodes Uint8Array using XRP alphabet and fromBase58xrp decodes it
  11. fromBase58 throws SyntaxError on invalid base58 character
  12. utf8fromString strictly encodes string to Uint8Array and throws TypeError on invalid Unicode
  13. utf8toString strictly decodes Uint8Array to string and throws TypeError on invalid UTF-8 bytes
  14. utf8fromStringLoose and utf8toStringLoose handle invalid Unicode using replacement character

Files

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

Download the source artifact (tar.gz)

Origin Seeder

anonymous