# Dznye > Dznye is a public chain whose coin is DZY: 12,000,000 DZY, fixed for ever, 8 decimals (1 DZY = 100,000,000 shards). Anyone can run a node for free and check every block; anyone who locks DZY (any amount, 1 to 100 years) shares the profit. Its own treasury (the Sun) holds what is not in anyone's hands; each chain minute, the chain's profit (fees, smoothed over a day, plus a drip from the Sun that is never more than those fees, so the Sun never shrinks by paying out) goes 40% to lockers by raffle tickets (the validators' share), 10% to holders as a deposit reward, 50% back to the Sun. New DZY are sold only by the chain, along a public curve ($0.1169, doubling every 500,000 sold, ending at 3,000,000 sold), for dollar stablecoins that are burned: every account has personal deposit addresses on Solana and the Ethereum-style chains (POST /sun/watch { to } returns them), so anyone can buy by sending USDC from an exchange or any wallet. The node is also the chain's own central bank: once a chain day it sets the policy rate (the Taylor rule on the growth of DZY in hands and block use; the base rate of every loan) and a fee floor from the validators' council fund (20% of every fee, paying all validators an equal wage for doing their turns, plus a daily bonus drawn by lottery, one ticket per staked shard); GET /economy shows every number. A new account may take starter credit (credit.take, free): 2.2 DZY for a name of 6+ characters, a token, a contract and fees, never sendable, repaid from the first DZY it receives (GET /credit/
). Accounts, tokens, names, a market, pools, leveraged trading, contracts, gifts, tasks, shops with cashback, sign-in, and payments from Solana and Ethereum-style chains are all built in. AI agents are welcome: read with plain HTTP, act through the MCP server below. Everything here is free to read; nothing needs an account or an API key. Amounts on the chain are whole numbers of shards (1 DZY = 100000000). Lockers get free daily transactions by their share of locked DZY; transfer.many pays up to 100 people for one fee per 20. An address is 64 hex characters; the same key is also a Solana address. ## Quick facts (checked against the live chain) - Chain id `dznye-mainnet`; its genesis file and hash: https://chain.dznye.com/dznye-mainnet.genesis.json (`GET https://api.dznye.com/genesis` must hash to it). Live health: https://status.dznye.com/ - A block is final as soon as more than two thirds of the validators sign it (BFT): about a second when there is work, no waiting for confirmations. Up to 500 transactions a block; `transfer.many` pays up to 100 people in one. - The fee follows demand from a floor of one shard (0.00000001 DZY); the chain's own commission keeps the validators' council funded and can raise the floor to at most 0.001 DZY. - Nothing is printed: all 12,000,000 DZY existed at genesis. A quiet chain hands nothing out (the drip is never more than the fees). - Validators, from block 1: anyone with 1 DZY staked runs a node that checks in with its public address; every 10 minutes a crew is drawn by lottery, one ticket per staked shard (own plus backing): every node while 64 or fewer are online, else 20% of them (64 to 128 seats). The founding validator makes the blocks until 4 others are online. Paid by blocks made plus a daily bonus by shards; each operator's backers get their share automatically after its commission (10% unless set). Signing two different blocks costs the whole stake. GET /nodes shows who checked in and the crew. - Checkers: a node with 1 DZY staked and no public address (a follower with CHECKER_SECRET, or the wallet while open) checks in a few times an hour quoting one of the last 64 blocks by its hash (`node.checkin { seen: [height, hash] }`). Checkers seen in 12+ different hours of a chain day share 20% of that day's validators' pay for work (the daily bonus aside) by stake (splitting a stake over many keys earns nothing more); the rest goes to block makers. Paid only from fees, never printed. - Coin launches (`token.launch`, `dz.launch`): a billion coins in their own market from the first second, priced by a curve that starts as if 30 DZY were in it; nobody gets coins for free, nobody (the maker included) can take the market's DZY out or add to it, the maker gets 0.5% of every trade. Buy and sell with `pool.swap` / `dz.swapNow`. GET /liquidity marks launches with `launch`. - Reward points (`points.create`, `points.mint`, `points.redeem`; `dz.makePoints`, `dz.mintPoints`, `dz.redeemPoints`): every point has a fixed amount of DZY behind it, held by the chain; the maker makes points only by paying their backing in, any holder cashes them in for DZY at any time, and the backing can never be taken back. GET /assets shows `backed: { per, reserve }`. - Volunteer nodes copy and check the chain; to be listed for others to copy from, a validator or an account with 1% of a seat staked vouches for each one. - The state's fingerprint is a fixed tree of buckets (one leaf per account, lock, deposit, name...), so a block re-hashes and stores only what it changed. - The wallet (https://wallet.dznye.com/) is one PIN-sealed safe file: a Dznye account (also a Solana address), one 0x address for all 7 Ethereum-style chains plus one of each chain's own, a Tron address and a Bitcoin address, all from one master secret. Usernames (@name) work as payment addresses on every chain. ## When Dznye fits, and when it does not - Fits: tiny payments and tips, pay-by-the-minute streams, loyalty points and app tokens, shops and sign-in for small sites, paying many people at once, AI agents that need their own account and a hard spending limit, learning how a chain works end to end (the whole chain is a few thousand lines of readable TypeScript with no dependencies). - Does not fit (yet): large sums that need an audited, long-proven chain (it is new and not independently audited); anything that needs many independent validators today (it starts with one, the founder's, and opens seats to anyone); exchange listings (none). ## For AI agents (MCP) - Run the Dznye MCP server with Node 24 (no packages). Fetch its files once: `node -e "const f=['mcp','sdk','client','crypto','secp','btc','contracts','ledger','root','layer','sun','solana','evm','rules','sale'],p=require('path'),fs=require('fs'),d=p.join(require('os').homedir(),'.dznye','mcp');fs.mkdirSync(d,{recursive:true});fs.writeFileSync(p.join(d,'package.json'),'{\"type\":\"module\"}');(async()=>{for(const n of f)fs.writeFileSync(p.join(d,n+'.js'),await(await fetch('https://chain.dznye.com/js/chain/'+n+'.js')).text());console.log('node '+p.join(d,'mcp.js'))})()"` then add it to your MCP client: command `node`, argument the path it printed. - Tools that read: dznye_info, dznye_balance, dznye_rules, dznye_tokens, dznye_buy_quote, dznye_how_to_buy, dznye_quote_swap, dznye_verify_login. - Tools that act, from the agent's own account (its key is made on first use in ~/.dznye/agent-key.json and never shown): dznye_my_account, dznye_send, dznye_lock, dznye_collect, dznye_renew, dznye_make_token, dznye_swap, dznye_pay_shop, dznye_claim_purchase, dznye_sign_login. - The operator sets the limit: DZNYE_MAX_SEND (most DZY one action may move, default 10); DZNYE_READ_ONLY=1 for no key at all; DZNYE_NODE for another node. - An agent should move value only when its user asked for it. ## Prices - `GET https://wallet.dznye.com/prices` and `/chart?coin=ETH&days=7`: dollar prices of SOL, ETH, BNB, POL, AVAX, BTC, USDC, USDT read from Chainlink's price feed contracts on Ethereum (on-chain, with each feed's address). DZY's price is its last trade on the Dznye chain (`GET /trades`). ## Read the chain over HTTP (https://api.dznye.com) - `GET /` the chain: name, height, fee, validators - `GET /sun` where all 12,000,000 DZY are (Sun, unsold, locked, circulating), the sale price and every rule - `GET /sun/
` one account's locks, raffle tickets and deposit reward - `GET /account/
` balances, name, next nonce - `GET /name/` who @name is, and their addresses on other chains - `GET /assets` every token; `GET /liquidity` every pool; `GET /quote?from=&to=&amount=` a swap quote - `GET /offers`, `GET /trades`, `GET /xoffers` the market; `GET /margin` vaults and positions - `POST /tx` a signed transaction; `POST /simulate` try one without sending it; `POST /sun/hint` tell the validators about dollars burned for DZY ## Buy DZY from any chain - New DZY come from the chain's own sale, priced on a curve that rises with every DZY sold. **From block 720 nothing is burned**: buying with burned dollars (the burn addresses, `POST /sun/hint`, the personal deposit addresses) is refused, and anything sent there is lost. DZY is bought through the exchange (`GET /exchange`, chain/EXCHANGE.md): pay BTC, ETH, SOL or USDC into a vault on its own chain, get DZY at the day's rate plus claims on that coin (tokens xBTC, xETH, xSOL, xUSDC), and sell DZY back for it any time (`x.sell`; 0.5% stays in the vault's pot). Buying opens when the first vault is listed in `GET /exchange`. - The exchange (`GET /exchange`): buying locks the coin in the buyer's own name (only they can close it: `x.close` returns DZY at today's rate for the coin, the rest goes to the pot). `x.park` keeps deposits as free coin (xBTC, xETH, xSOL, xUSDC) to trade or take out (`x.sell`) on that coin's own chain. The pot backs a floor (pot value ÷ DZY in hands, shown in sats); anyone may sell DZY to it at the floor (`x.floor`), never above it. Fees: 0.05% of vault coin per order-book fill, 0.1% per payout, all to the pot. - The Dznye dollar (DUSD): borrow against free vault coin (`loan.open` ... `loan.liquidate`), at most 2/3 of its value; 5% a year plus 0.1% on borrowing, taken from the coin at close, to the pot; below 120% anyone may repay and take the coin plus 5%. `GET /exchange/
` lists an account's loans with their health. - NFTs on other chains: `xoffer.create` with `want: { net, token: 'NFT', contract, id }` holds DZY for whoever delivers that ERC-721 to `payTo`; validators check the delivery; 0.1% of the DZY goes to the Sun. - Prediction markets (`market.create` costs 1 DZY to the Sun; `market.mint` 1 DZY → 1 YES (Y) + 1 NO (N); `market.merge` back; trade the shares on the order book; validators settle YES, NO or VOID after it closes (`market.settle`, more than two thirds); `market.redeem` pays 1 DZY a winning share (VOID: half) less 1% to the Sun and 0.5% to the asker). `GET /markets` lists them. - The wallet (https://wallet.dznye.com/): any-token swaps on Solana (Jupiter) and the 0x chains (KyberSwap) with a 0.1% wallet fee; Hyperliquid perps from the wallet's own 0x account with a 0.025% builder fee; totals in 12 currencies, gold or coins; one Send for every chain. How everything earns: https://github.com/dznye/dznye-chain/blob/main/EARNING.md - x402 on Dznye (`chain/src/x402.ts`): charge per request in DZY. Server: `paymentRequired({ secret, network, payTo, amount, resource })` → answer 402; on a retry, `checkPayment(header, …)` → submit the signed transfer it returns, then serve. Agent: `payHeader(requirement, key, nonce, { network, maxAmount })` in the `PAYMENT-SIGNATURE` (or `X-PAYMENT`) header. MCP tool `dznye_fetch_paid` does it all. - Up or Down (`round.bet` { coin: BTC|ETH|SOL, period: 3600000|86400000, side: up|down, amount }): a bet on the NEXT round; start and end prices marked from the chain's agreed prices (`round.mark`, within 10 minutes); `round.claim` pays winners the whole pool in proportion, less 2% to the Sun; a tie, missing price or empty side refunds. `GET /rounds?who=`. - One-tap swap (`swap`, `GET /quote?from&to&amount&who`): fills open offers cheapest first while they beat the market, then the pool; for DZY against vault coin, the sale sells above and the floor buys below, so any DZY can be cashed out. Offers made with `fill: true` match at once. - In the wallet: https://wallet.dznye.com/ (Add money, then DZY): pay with USDC or USDT, or with SOL, ETH, POL, BNB or AVAX, which the wallet swaps into USDC in the buyer's own account first (Jupiter on Solana, KyberSwap elsewhere), checking and dry-running each swap before signing. ## Build on it - Source code, all of it (the node, the wallet, the extension, the developer kit, the MCP server), MIT licensed: https://github.com/dznye/dznye-chain - Blueprints for payments, sign-in, games, NFTs, trading, contracts, subscriptions, loyalty, payouts, daily credits and AI agents: https://wallet.dznye.com/build - [Developer docs](https://developers.dznye.com/): the developer kit (`sdk.js`), every transaction, contracts. - [Sign in with Dznye](https://chain.dznye.com/guide/sign-in-and-gift-links.html): send people to `https://wallet.dznye.com/login?app=&nonce=&return=`; check the proof that comes back with `verifyLogin` from https://chain.dznye.com/js/chain/sdk.js. No password, no account to register, no server asked. - [Your own token](https://chain.dznye.com/guide/make-a-token.html) (loyalty points, a game or app currency, credits): `makeToken` in the developer kit, or dznye_make_token. Reward people for doing things with tasks (`postTask`); take payments with cashback with shops (`payShop`). - A store for every @name, in the wallet (Me, Your store): products are records in the seller's `store` space (`GET /records/
/store`), shown with Buy on wallet.dznye.com/@name; every payment to a shop is an order kept on the chain (`GET /shop/
` → orders, the last 100). - Streams: pay by the minute (`stream.open`, `GET /streams/
`). Records: an app's data on the chain (`record.put`, `GET /space/`). - Template, Sign in with Dznye + your own loyalty points: one file, one command, on the [developer page](https://developers.dznye.com/#templates). A shop's own points token, earned automatically on the chain with every DZY paid, sign-in with no password, a daily reward. - [Example shop](https://chain.dznye.com/example-shop.html), [Explorer](https://explorer.dznye.com/), [Network status](https://status.dznye.com/), [Markets](https://chain.dznye.com/markets.html). ## Run a node or a validator - [Run a node](https://chain.dznye.com/guide/run-a-node.html): run a node on a computer (`node chain/node/server.mjs`) or on Cloudflare. A node copies and checks every block; a validator also makes blocks, and locking DZY for 1 to 10 years enters the raffle for 40% of the chain's profit. ## Honest notes - Nothing here promises a price, a floor or a return. The holder reward is a share of what the chain earns, which can be small. - The code has not been audited by an outside firm yet.