@neptuneprivacy/sdk
v0.2.1
Published
[](https://opensource.org/licenses/Apache-2.0) 
Downloads
269
Readme
xnt — Neptune Privacy Core SDK (nodejs and rust)
xnt-core is the reference implementation for xnt (Neptune Privacy) — a privacy-focused decentralized digital cash protocol derived from Neptune Cash.
The XNT SDK provides the core tools needed to build applications that interact with the network without custody.
This includes offline transaction signing, so private keys never leave the client or trusted environment.
Why this matters: Most privacy apps today still depend on custodial backends, trusted relayers, or opaque infrastructure.
The XNT SDK enables applications where users remain in full control, end-to-end.
The SDK is open source and intended as foundational infrastructure for:
- wallet developers
- application builders
- tooling teams
- anyone building on private execution
Builders, the next phase is in your hands.
Address Types
The SDK supports two address families, both derived from the same wallet seed:
Generation (long address)
- Rust:
WalletEntropy::derive_spending_key(index) - Node.js (NAPI):
wallet.deriveKey(index) - C FFI:
xnt_wallet_derive_key(wallet, index)
dCTIDH-512 (short address)
- Rust:
WalletEntropy::derive_dctidh_spending_key(index) - Node.js (NAPI):
wallet.derivedCTIDHKey(index) - C FFI:
xnt_wallet_derive_dctidh_key(wallet, index)
Both support subaddresses with payment IDs for deposit tracking.
We’ll continue improving the SDK and releasing updates as the ecosystem grows. If you’re building privacy preserving applications and care about non-custodial design, this is for you!
Nodejs integration source code: https://github.com/neptuneprivacy/xnt-core/tree/main/xnt-sdk
Examples: https://github.com/neptuneprivacy/xnt-core/blob/main/xnt-sdk/examples/xnt-sdk-test.ts
Document: https://github.com/neptuneprivacy/xnt-core/blob/main/docs/src/xnt-sdk/exchange-integration.md
