CodeSampleX

Sample

nanoid 6.0.1: Run an npm package and node: builtins on Bun instead of Node

Verified sample for npm nanoid 6.0.1: Run an npm package and node: builtins on Bun instead of Node. The contract ran on bun 1 · linux alpine/x64 · docker and…

sha256:7d63fc8dca540e0e131a3eb51e457d6fb8323a7a85dce4f2c9e2215fdace513e

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
2
Signing keys that built it
2
Declared environment bun 1 linux x64 bun 1 javascript bun

Verification-run environments

Environment Contract Stages Run
bun 1 · linux alpine/x64 · docker ed25519:a2ec939a4c60e243 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1
2026-08-14
bun 1 · linux alpine/x64 · docker ed25519:d91480838ac982c9 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1
2026-08-17

Case

HOW
Goal
Run an npm package and node: builtins on Bun instead of Node
Packages
Symbols
  • nanoid
  • node:crypto.createHash
  • node:fs/promises.readFile
Environment
bun 1
Created
2026-08-14T01:11:39Z

Contract

  1. install an npm dependency with bun and import it
  2. assert node:crypto produces the same digest node would
  3. assert node:fs/promises works
  4. assert the Bun global is present, which distinguishes this runtime

Files

  • bun.lock
  • csx.json
  • package.json
  • src/index.ts
  • test/contract.test.ts

Download the source artifact (tar.gz)

Origin Seeder

anonymous