Skip to content

digitalforgeca/digitalnote

Repository files navigation

DigitalNote (XDN)

Encrypted messaging on a Proof-of-Stake blockchain.

DigitalNote is a hybrid PoW/PoS cryptocurrency with native encrypted messaging, zero-knowledge STARK proofs, masternodes, an on-chain social protocol, and a name registry — reimplemented from the ground up in Rust.


Coin Specs

Parameter Value
Ticker XDN
Max Supply 10,000,000,000
Block Time 120 seconds
Consensus Hybrid PoW + PoS
PoW Hash BMW-512 (truncated to 256-bit)
Difficulty VRX v3.0 (per-block retarget)
Block Reward 300 XDN
Reward Split 100 staker · 150 masternode · 50 devops
Masternode Collateral 2,000,000 XDN
Coinbase Maturity 15 confirmations
Min Stake Confirmations 25
Min Stake Age 0 (any confirmed coin can stake)
Max Block Size 15,256,128 bytes (~14.5 MB)
P2P Port 18092
RPC Port 18094
Protocol Version 62054
BIP44 Coin Type 287 (legacy: 2016)

Features

  • Encrypted Messaging (SMSG) — End-to-end encrypted, relayed through masternodes. Ephemeral (1h), standard (24h), extended (7d), persistent (30d), or anchored on-chain permanently.
  • zk-STARK Proofs — Message authentication via hash-based zero-knowledge proofs. No trusted setup. Quantum-resistant.
  • Social Protocol — Posts, follows, tips, replies, threads, topic feeds. All at the protocol level with cryptographic identity.
  • Federation / ActivityPub — XDN nodes speak ActivityPub. Posts and profiles bridge to the fediverse (Mastodon, Pleroma, etc.) — extending the social layer beyond the XDN network with end-to-end encryption advantages no standard fediverse server can match.
  • Name Registry (XNS) — Human-readable names registered on-chain via OP_RETURN. Fees burned (10 XDN–10,000 XDN depending on length).
  • Masternodes — 2M XDN collateral. Message relay, transaction locking, sidechain validation, governance.
  • Tithe System — Voluntary per-block donation from staking rewards. Configurable percentage and destination.

Architecture

rust-core/              119,515+ lines of Rust
├── src/
│   ├── consensus/      PoW, PoS, VRX, block validation, rewards
│   ├── crypto/         BMW-512, ECIES, secp256k1, key management
│   ├── federation/     ActivityPub / fediverse (actors, activities, routes)
│   ├── mempool/        Transaction memory pool
│   ├── messaging/      SMSG, zk-STARKs, social, groups, relay
│   ├── naming/         XNS name registry
│   ├── net/            P2P, peer discovery, masternode protocol, ban scoring
│   ├── rpc/            166 JSON-RPC methods + 42 REST endpoints
│   ├── script/         Transaction script interpreter
│   ├── sidechain/      Messaging sidechain
│   ├── storage/        Block database, chain state
│   ├── types/          Block, transaction, address types
│   ├── wallet/         UTXO tracking, BIP39/44 HD keys, stealth addresses
│   └── bin/xdnd.rs     Daemon
├── pera/               Desktop wallet (Dioxus)
└── astraeus/           Masternode portal (Dioxus)

Building

Requires Rust 1.75+ and libwebkit2gtk-4.1-dev (Linux, desktop apps only).

cd rust-core

# Daemon
cargo build --release

# Wallet
cargo build -p pera --release --features desktop

# Masternode portal
cargo build -p astraeus --release --features desktop

# Tests
cargo test          # 2,286 tests

Running

./xdnd --rpcuser <user> --rpcpassword <pass>

Default data directory: ~/.digitalnote

Seed Nodes

seed1n.digitalnote.biz
seed2n.digitalnote.biz
seed3n.digitalnote.biz
seed4n.digitalnote.biz

Desktop Apps

Pera — Wallet. Send, receive, stake. SMSG inbox. Social feed. Address book. Market data. Tithe configuration. Auto-launches xdnd if needed.

Astraeus — Masternode portal. Fleet management with live polling, network browser, relay status, sidechain explorer, zk-proof viewer. Manages multiple nodes from one interface.

Links

License

MIT. See COPYING.

About

DigitalNote (XDN) — Quantum-resistant encrypted messaging on a Proof-of-Stake blockchain. Rust core rewrite.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors