How to Plug In — Integrate with NexusOS
Integrating with NexusOS means connecting to the physics stack at the layer that makes sense for your application. Here are the four integration paths, from simplest to deepest.
Path 1 — CE Encoder (5 minutes)
npm install nexusos-ce-encoder
Map any text to wavelengths. Get Ψ channel addresses. Calculate photon energies. No authentication required.
Path 2 — REST API (developer key required)
Authenticated access to the full NexusOS API: wallet operations, spectral search, spectral contracts, blockchain queries, and governance participation. Create a developer key on the Developer Portal.
Path 3 — WNSP Protocol (advanced)
Direct WNSP spectral communication. Implement a Ψ channel endpoint. Participate in the 25,600-channel network. Requires WNSP-CE, WNSP-SE, and WNSP-URI implementation.
Path 4 — WavelengthScript (native)
Write applications directly in WavelengthScript. Compile to WNSP bytecode. Run in the WNSP VM. Full physics-native execution from source to registers.