Bitcoin Forum
March 07, 2026, 01:13:49 PM *
News: Latest Bitcoin Core release: 30.2 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [ANN][NXF] Nexaflow - Confidential TX Ledger with Programmable Micro Coins (POW)  (Read 61 times)
anythingtechpro (OP)
Newbie
*
Offline Offline

Activity: 39
Merit: 0


View Profile
March 03, 2026, 01:23:18 AM
Last edit: March 03, 2026, 02:32:26 AM by anythingtechpro
 #1


NexaFlow (NXF)
Privacy-First Digital Ledger · Confidential Transactions · Decentralized Exchange

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🌐 Website  ·  📄 White Paper  ·  💻 GitHub  ·  💬 Discord
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


⛏️ PROGRAMMABLE MICRO COINS (PMC)
Create your own cryptocurrency. Mine it with your Bitcoin ASICs. Trade it on a built-in DEX.
Your wallet is the mining pool.



Your Own Coin. Bitcoin's Hardware. Zero Permission Needed.

Let me cut to the chase. NexaFlow ships with a system called Programmable Micro Coins and it changes what a "token" is.

You define a coin. You pick a symbol, set a difficulty, set a base reward. Hit create. It's on-chain. Done.

Now here's where it gets interesting — the mining algorithm is double-SHA256. The same hash function Bitcoin uses. Same. Exact. Algorithm.

That means your S19, your Whatsminer, your GPU rig, whatever you've got — it already works. You don't need new hardware. You don't need to learn a new algorithm. You plug your existing miner into your NexaFlow wallet and start earning your coin immediately.

"Wait — my wallet IS the mining pool?"

Yes. Every NexaFlow wallet runs a full Stratum v1 mining server built right in. You're not connecting to some third-party pool that takes a 2-3% fee and controls your blocks. You open your wallet, click Start, and it gives you a connection string:

Code:
stratum+tcp://your-ip:3333

Put that into your ASIC's config. Set your worker name as your_wallet_address.rig1. That's it. Your miner connects, receives jobs, submits shares, and when a block is found — the coins land directly in your wallet. No pool operator. No fees. No middleman.

The wallet handles everything: Stratum JSON-RPC, extranonce management, job distribution, share validation, automatic minting. It's production-grade pool software that lives inside your wallet.



How The Mining Economics Work

The coin creator sets two parameters that define the entire economy:

▸ Difficulty

How many leading hex zeros the double-SHA256 hash must have. Range: 1 to 32.

  • Difficulty 1 = ~16 hashes to solve (trivial, CPU-mineable)
  • Difficulty 4 = ~65,536 hashes (GPU territory)
  • Difficulty 8 = ~4.3 billion hashes (ASIC territory)
  • Difficulty 16 = ~18.4 quintillion hashes (serious hardware)

Difficulty is fixed by the creator. It doesn't auto-adjust. If someone creates a difficulty-8 coin, it stays difficulty-8 forever. The creator makes a permanent economic decision about how much energy their coin is worth.

▸ Base Reward

The number of tokens paid per block at difficulty 1. Minimum: 0.00000001 (1 sat-equivalent). Maximum: 1,000,000,000.

Here's the formula:

Code:
block_reward = base_reward × 2^(difficulty - 1)

Higher difficulty doesn't just make the puzzle harder — it pays exponentially more:

DifficultyMultiplierReward (base=50)Approx Hashes
15016
2100256
440065,536
8128×6,4004.3 billion
1632,768×1,638,40018.4 quintillion
322.1 billion×107 billion~2¹²⁸

This is by design. A coin that costs real energy to mine is worth more because someone had to burn electricity to create it. Difficulty is the economic backbone. The coin creator chooses it once, and it defines the scarcity curve forever.



Programmable Rules — Your Coin, Your Rules

Every PMC can have up to 32 programmable rules attached by the creator. These aren't smart contracts you have to write from scratch. They're built-in enforcement mechanisms — set them and the ledger handles them automatically.

RuleWhat It Does
Max BalanceCap how many tokens any single account can hold
Min TransferSet a floor on transfer amounts
Max TransferSet a ceiling on transfer amounts
CooldownMinimum seconds between transfers per account
Royalty %Percentage of every transfer automatically sent to the creator
WhitelistOnly approved addresses can hold the coin
BlacklistBlock specific addresses from holding
Expiry TTLBalances expire after X seconds (promotional coins, coupons)
Max Per MintCap tokens minted per PoW solution
Mint CooldownMinimum seconds between mints per miner
Require MemoForce a memo on every transfer (compliance, invoicing)
Time LockBalance locked until a specific Unix timestamp

Combine these. A loyalty token with max-balance caps and expiration. A premium coin with whitelist-only access and royalties flowing back to the creator on every trade. A fair-launch community coin with mint cooldowns so no single miner can monopolize early blocks. The possibilities are absurd.



Full Feature List

  • 🔨 Create — Define a coin: symbol (up to 12 chars), name, max supply, difficulty, base reward, flags, metadata. One transaction.
  • ⛏️ Mint — Mine new supply by submitting a valid double-SHA256 nonce. Reward computed automatically from difficulty. No "amount" parameter — the work speaks for itself.
  • 💸 Transfer — Send coins between accounts. Royalties auto-deducted if configured. Memo support. Rule enforcement is automatic.
  • 🔥 Burn — Destroy tokens. Permanently reduces circulating supply. Available to any holder (if enabled).
  • ❄️ Freeze / Unfreeze — Creator can freeze individual accounts or the entire coin. Instant compliance lever.
  • 📊 DEX Trading — Post buy/sell offers on-chain. Trade against NXF or any other PMC coin. Atomic settlement. Partial fills. Expiration dates. Destination-restricted offers.
  • 🔗 Cross-Trades — Not just PMC vs NXF — you can trade PMC vs PMC directly. Build entire micro-economies of interconnected coins.
  • 📜 Programmable Rules — 12 rule types (see above). Up to 32 per coin. Enforced at the ledger level.
  • 8-Decimal Precision — Sub-cent denominations. Micro-transactions are first-class citizens.
  • ⛏️ Stratum v1 Pool Server — Built into every wallet. Connect ASICs and GPUs directly. Standard Bitcoin mining protocol.

▸ Coin Flags

Every coin has bit-flags that toggle behavior at creation:

FlagEffect
TRANSFERABLECoin can be sent between accounts
BURNABLEHolders can destroy their own tokens
MINTABLEPoW minting is enabled
FREEZABLECreator can freeze accounts / the entire coin
ROYALTY_ON_XFERCreator earns a % of every transfer
WHITELIST_ONLYOnly whitelisted addresses can hold
CROSS_TRADEABLECoin can be listed on the built-in DEX
EXPIRABLEBalances expire after a configured TTL

▸ Transaction Types

Code:
Code 60  PMCCreate       – Define a new micro coin
Code 61  PMCMint         – Submit PoW nonce → mint supply
Code 62  PMCTransfer     – Send coins between accounts
Code 63  PMCBurn         – Destroy tokens permanently
Code 64  PMCSetRules     – Update programmable rules (issuer only)
Code 65  PMCOfferCreate  – Post a buy/sell offer on the DEX
Code 66  PMCOfferAccept  – Accept (fill) an existing offer
Code 67  PMCOfferCancel  – Cancel your own open offer



The Stratum Mining Server — Technical Details

For miners and pool operators who want the specifics:

▸ Protocol

Standard Stratum v1 (JSON-RPC over TCP, newline-delimited). Any miner that supports Bitcoin Stratum will work without modification.

Code:
mining.subscribe  → Returns [extranonce1, extranonce2_size]
mining.authorize  → Worker format: "rWalletAddress.workerName"
mining.submit     → Submit: [worker, job_id, extranonce2, ntime, nonce]
mining.notify     → Server pushes new jobs on block found or 30s refresh

▸ Nonce Space

4-byte extranonce1 (per-session) + 4-byte extranonce2 (miner-controlled) + 4-byte nonce = 12 bytes. Each miner gets a unique extranonce1 so there's never nonce collision between connected workers.

▸ Share Validation

Code:
pmc_nonce = int(extranonce1 + extranonce2 + nonce, 16) mod 2^63
hash = SHA256(SHA256(coin_id : miner : pmc_nonce : prev_hash))
valid if hash starts with (difficulty) leading hex zeros

When a valid block is found: coins are minted instantly, deposited to the miner's wallet, and all connected workers receive a fresh job. No confirmation delays. No payout thresholds. You find a block, you get paid, immediately.

▸ Anti-DoS
  • Max 256 workers per IP
  • 8 KB max message size
  • 5-minute keepalive timeout
  • NiceHash extranonce.subscribe compatibility

▸ Mining Multiple Coins

You can register multiple PMC coins with the same pool server. Miners get assigned to whichever coin you configure. Run one pool, mine ten different coins simultaneously with different worker groups.



Why This Matters

Think about what this actually enables:

  • You have Bitcoin miners. Same hardware, new revenue stream. No firmware changes, no new software, just a different Stratum URL.
  • You want to launch a coin. No ERC-20 gas fees. No Solidity. No auditors. Define it, deploy it, and people can mine it the same day with hardware that already exists.
  • You want a fair launch. No premine, no dev fund, no VC allocation. Every single coin comes from PoW. The difficulty and base reward are transparent and immutable. Set mint cooldowns if you want to prevent early-miner advantage.
  • You want to trade what you mine. There's a DEX built into the protocol. List your coin, set a price, anyone can buy it. No listing fees. No exchange applications. No centralized anything.
  • You want your coin to have rules. Royalties, whitelists, transfer caps, time locks — all enforced at the ledger level, not by some smart contract that might have a bug. The ledger itself is the enforcer.

Every NexaFlow user runs a node. Every node can be a mining pool. The network gets stronger with every miner that connects.



What is NexaFlow?

NexaFlow is a cryptocurrency I built from scratch in Python and Cython. The whole thing was designed around a pretty simple idea — what you do with your money shouldn't be anyone else's business.

Every transaction on the network is confidential by default. Privacy wasn't something we tacked on later or threw into a "shielded mode" toggle. It's baked into the protocol itself. Transaction amounts are hidden with Pedersen commitments, senders are mixed using ring signatures, and recipients get one-time stealth addresses. There's no opt-in, no special wallet mode. It just works that way, every time.

The whole codebase is open source on GitHub. Go read it. I'd rather people trust the code than trust me.



How It Works (The Technical Stuff)

▸ Confidential Transactions

Amounts never show up on the ledger in plaintext. We use Pedersen commitments — basically C = v·G + b·H — to lock in a value cryptographically without exposing it. Then bulletproof-style range proofs verify that the committed amount isn't negative or overflowed, all without revealing what the number actually is.

If you've looked at how Monero handles this, it's a similar concept, though our implementation is our own.

▸ Ring Signatures (LSAG)

When you sign a transaction, your key gets mixed in with a bunch of decoy keys pulled from the ledger. We use Linkable Spontaneous Anonymous Group signatures for this. From the outside, you can't tell which key in the ring actually signed — that's the whole point. Key images handle double-spend prevention so we don't sacrifice security for privacy.

▸ Stealth Addresses

Every time someone sends you NXF, a brand new one-time address gets generated on the fly using ECDH. Even if your public address is known, nobody can look at the ledger and connect incoming payments to you. We also use view tags so your wallet can scan for your own transactions efficiently without leaking info.

▸ Consensus (RPCA / BFT)

We went with a Byzantine Fault Tolerant consensus mechanism inspired by Ripple's RPCA. Blocks close roughly every 10 seconds. No mining, no PoW energy waste, no PoS centralization games. Validators agree and move on.

I know some people are going to ask "why not Nakamoto consensus" — honestly, for what we're doing, BFT gives us faster finality and a simpler validator model. It's the right fit.

▸ Cython Under the Hood

The hot paths — consensus logic, ledger operations, the privacy crypto, transaction processing — are all written in Cython and compile down to native C extensions. So yeah, it's a Python project, but the parts that matter run at near-C speed. Best of both worlds IMO.



Features

  • ECDSA / secp256k1 — same curve Bitcoin uses, for wallet keys and signing
  • Built-in DEX — on-chain order book, no middlemen, trades happen natively on the network
  • Staking — lock NXF and earn interest, rates go from 2% APY (flexible) up to 15% APY (365-day lock)
  • Trust Lines — multi-asset support through controlled relationships between accounts
  • Double-Spend Prevention — sequence numbers + key images, belt and suspenders
  • REST API — full programmatic access to node functions, everything's documented
  • mTLS P2P — node-to-node comms are encrypted with mutual TLS, not just regular TLS
  • Encrypted Wallets — private keys sit behind AES-256 at rest
  • Docker — `docker-compose up` and you have a node running, that's it
  • Programmable Micro Coins — create and mine custom tokens with Bitcoin-compatible double-SHA256 PoW (see above)



Tokenomics

TickerNXF
Max Supply100,000,000,000 (100B)
ConsensusRPCA (BFT)
Block Time~10 sec
Account Reserve20 NXF
Min Fee0.00001 NXF
InflationNone — no block rewards, nobody can mint
Fee ModelFees get burned permanently

There are no block rewards. No inflation. The only new NXF that enters circulation comes from staking interest, and that gets offset by fees burning constantly. Net effect: supply shrinks over time.



Staking Tiers

Pretty straightforward — longer lock, better rate.

TierLockAPY
FlexibleNone2%
30-Day30 days5%
90-Day90 days8%
180-Day180 days12%
365-Day365 days15%

There's also a demand multiplier that adjusts based on how much of the network is staking. Get in early and you'll see better returns.



⭐ IPO

March 15, 2026 — IPO Opens
March 31, 2026 — Mainnet Launch

Price: 1 sat = 1 NXF

Starting March 15th you can buy NXF on our exchange with Bitcoin. 1 satoshi gets you 1 NXF. Flat price, no tiers, no presale, no VC rounds, no "strategic partner" allocations. Same price for everyone.

March 31st the chain goes live — transfers, staking, DEX trading, the whole thing.

🎗️ 100% of IPO proceeds go to St. Jude Children's Research Hospital

All of it. Every sat raised during the IPO gets donated to St. Jude. I didn't build this to cash out — I built it because I wanted to build it, and if the IPO can help kids with cancer then that's worth more than a dev fund. There's no founder allocation, no team tokens, none of that.

🔥 Unsold coins get burned

Whatever doesn't sell during the IPO is gone. Permanently. No treasury sitting in a multisig somewhere slowly unlocking over 4 years. No surprise dilution. Unsold = destroyed.



Roadmap

Q1 2026
  • IPO opens March 15
  • Mainnet live March 31
  • Exchange open for NXF/BTC
  • Staking from day one
  • Programmable Micro Coins live at launch

Q2 2026
  • Mobile wallet (iOS + Android)
  • Getting listed on other exchanges
  • Dev SDK + proper docs
  • PMC creator dashboard + analytics

Q3-Q4 2026
  • Smart contracts
  • Cross-chain bridges (BTC, ETH to start)
  • Hardware wallet support (Ledger, Trezor)
  • On-chain governance



Links




MIT License. Code's on GitHub. PRs welcome.

Questions? Come hang out in the Discord.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!