Skip to content

Bobtoshi/The-Silk-Node

Repository files navigation

SilkNode

A privacy-preserving stablecoin protocol with CPU mining.

  • SILK (SLK) — Native mining coin. CPU-mineable via RandomX. 100M supply + perpetual tail emission. Secures the network.
  • SND (Silk Node Dollar) — Privacy stablecoin. Minted 1:1 against locked USDC/USDT. Free to send. Fully backed.

Built on a CryptoNote fork with stealth addresses, ring signatures, and RingCT for full transaction privacy.

Two-Token Model

  SILK (SLK)                              SND (Silk Node Dollar)
  ──────────                              ──────────────────────
  Earned by miners (CPU only)             Minted 1:1 when USDC/USDT deposited
  Secures the network via PoW             Free to send — no fees, no gas
  100M supply + 0.3 SLK/min tail         Supply = total locked stablecoins
  RandomX (ASIC-resistant)                Backed by on-chain lockbox contracts
  Smooth 20-year emission curve           Pegged to $1 USD

The Silk Weave: Miners earn bonus SILK when blocks include deposit proofs. More stablecoin usage → higher mining rewards → more hashrate → stronger security. The first PoW system where mining rewards are directly linked to real-world payment volume.

Architecture

 EVM (Base, Ethereum, Arbitrum, BSC, HyperEVM)   Solana          Tron
 ┌───────────────────────────┐    ┌──────────────────┐  ┌──────────────────┐
 │   SilkNodeLockboxV3       │    │ silknode_lockbox  │  │ SilkNodeTronV3   │
 │   (USDC/USDT → SND)       │    │ (USDC → SND)      │  │ (USDT → SND)     │
 └────────────┬──────────────┘    └────────┬─────────┘  └────────┬─────────┘
              │                            │                      │
              └────────────┬───────────────┴──────────────────────┘
                           │
                    ┌──────┴──────┐
                    │   Oracle    │  Watches deposits · Signs withdrawal proofs
                    └──────┬──────┘
                           │
                    ┌──────┴──────┐
                    │  SilkNode   │  CryptoNote daemon · RandomX PoW
                    │  Node       │  SILK mining + SND privacy transactions
                    └─────────────┘

How It Works

Deposit: Lock USDC/USDT in a lockbox contract on any supported chain → Oracle detects deposit → SND minted privately on SilkNode.

Send: SND transactions are fully private (ring signatures + stealth addresses). No fees. No gas. Instant.

Withdraw: Burn SND on SilkNode → Oracle signs a withdrawal proof → Claim USDC/USDT on your chosen chain.

Mine: Run the daemon, point your CPU at it. Earn SILK block rewards + bonus SILK from deposit proofs.

Repository Structure

Directory What Language
src/ Node daemon & wallet (CryptoNote fork) C++
lockbox/ EVM lockbox contracts (Base, Ethereum, Arbitrum, BSC, HyperEVM) Solidity
solana_lockbox/ Solana lockbox program Rust (Anchor)
tron_lockbox/ Tron lockbox contracts Solidity (TronBox)
oracle/ Multi-chain bridge oracle Node.js
ui/ Web app — wallet, mining dashboard, deposits, markets Next.js
desktop/ Desktop mining app Tauri + React
api/ REST API server Express.js
sdk/ JavaScript SDK for integrations Node.js

Supported Chains

Chain Token Decimals
Base USDC 6
Ethereum USDC 6
Arbitrum USDC 6
BSC USDC / USDT 18
HyperEVM USDC 6
Solana USDC 6
Tron USDT 6

Quick Start

Build the Node

# Install dependencies (Ubuntu/Debian)
sudo apt install build-essential cmake pkg-config libssl-dev libzmq3-dev \
  libunbound-dev libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev \
  libpgm-dev libhidapi-dev libusb-1.0-0-dev libprotobuf-dev \
  protobuf-compiler libudev-dev libboost-all-dev

# Build
make release -j$(nproc)

Binaries output to build/release/bin/:

  • monerod — daemon
  • monero-wallet-cli — wallet CLI
  • monero-wallet-rpc — wallet RPC server

Run a Node

./build/release/bin/monerod --non-interactive --confirm-external-bind

Mine SILK

# Via RPC (recommended)
curl -X POST http://127.0.0.1:28081/json_rpc \
  -d '{"jsonrpc":"2.0","id":"0","method":"start_mining","params":{"miner_address":"YOUR_ADDRESS","threads_count":4}}'

Run the Web UI

cd ui
cp .env.example .env.local  # Configure RPC URLs and contract addresses
npm install
npm run dev

Deploy Lockbox Contracts

# EVM (e.g. Base)
cd lockbox
cp .env.example .env  # Set DEPLOYER_PRIVATE_KEY and RPC URL
npm install
LOCKBOX_VERSION=v3 npx hardhat run scripts/deploy.js --network base

# Solana
cd solana_lockbox
anchor deploy --provider.cluster mainnet-beta

# Tron
cd tron_lockbox
cp .env.example .env
npm install
LOCKBOX_VERSION=v3 npm run deploy:mainnet

Tokenomics

Parameter SILK (SLK) SND
Supply 100,000,000 + tail Elastic (= locked USDC/USDT)
Emission Smooth 20-year curve Minted/burned on demand
Block time 120 seconds
Block reward ~5.96 SLK (decreasing)
Tail emission 0.3 SLK/minute (forever)
Mining algorithm RandomX (CPU)
Deposit fee 0.1% (hard cap 0.5%)
Transaction fee Standard CryptoNote Zero
Miner bonus +0.01 SLK per deposit proof (max 50% of base reward)

Privacy Model

  • Ring signatures — Transaction inputs are mixed with decoys. Nobody can tell which input is real.
  • Stealth addresses — Every transaction creates a one-time address. Recipient's real address never appears on-chain.
  • RingCT — Transaction amounts are hidden using Pedersen commitments.
  • Fixed denominations — Deposits use fixed sizes (1, 10, 100, 1000 USDC) to prevent amount-based deanonymization.
  • Commitment scheme — Deposit details are committed as hashes on-chain, revealed only to the oracle off-chain.

Network

  • P2P port: 28080
  • RPC port: 28081
  • Mainnet addresses start with B
  • Seed node: 46.101.89.213:28080
  • Website: silknode.io

Testing

# C++ node tests
make release-test -j$(nproc)

# EVM lockbox tests
cd lockbox && npm test

# Solana program tests
cd solana_lockbox && cargo test

# Tron lockbox tests
cd tron_lockbox && npm test

License

BSD 3-Clause. See LICENSE.

Portions derived from the Monero Project (Copyright 2014-2022 The Monero Project).

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors