Skip to main content
Official server-side libraries wrap the cNGN API and handle authentication, request encryption (AES-256-CBC), and response decryption (Ed25519) for you. Four languages are currently supported:

TypeScript / Node.js

cngn-typescript-library: for Node.js and TypeScript backends.

Python

cngn-python-library: for Python backends.

PHP

cngn-php-library: for PHP backends (Composer).

Java

cngn-java-library: for Java and JVM backends.
SDKs are server-side only. Never embed your API key, encryption key, or Ed25519 private key in client-side or mobile code.

What the SDKs handle for you

  • Bearer authentication with your cngn_test / cngn_live API key
  • AES-256-CBC encryption of request bodies into the {content, iv} wire format
  • Ed25519/Curve25519 decryption of response payloads
  • Typed methods for every endpoint in the API Reference
If your language isn’t listed, integrate directly over HTTP using the Encryption guide; all endpoints are plain REST.

Building with an AI agent

If you write code with Claude Code, Cursor, Codex, or another coding agent, install the cNGN API skill so the agent knows the rules this documentation sets out, including the encrypted wire format and per-environment network IDs.

AI Agent Skill

Install the skill for your agent, and check your keys with its crypto helpers.

cNGN Price Oracle

On-chain price oracle for cNGN.

Brand assets

Building a cNGN integration into your product? Use the official logos and brand marks rather than recreating them.

cNGN Brand Assets

Download official cNGN logos and brand assets from the shared drive.