Sugarchain ========== one-CPU-one-vote, the world’s fastest PoW blockchain https://sugarchain.org > **Abstract.** Sugarchain is the world's fastest PoW blockchain, that has the first Native SegWit (Bech32) built-in by default. Unlike Bitcoin, Sugarchain has no rounding errors when the block reward is halved. It launched fairly and follows Nakamoto's one-CPU-one-vote. Introduction ------------ Sugarchain is a decentralized, peer-to-peer (P2P) digital currency and payment network supported by an open-source blockchain protocol, launched by Zenny Kim and Volodymyr Biloshytskyi on August 24, 2019 [[1]](#bitcointalk). Through Sugarchain, users can make payments to anyone in the world at the highest speeds ***in 5 seconds***, and the lowest costs compared to other digital assets. For example, the transaction speed of Sugarchain is 120 times faster than Bitcoin, 30 times faster than Litecoin and 12 times faster than Dogecoin. The Sugarchain Project emerged as an alternative solution to Bitcoin in light of early concerns over Bitcoin’s wait times in confirming block transactions and rounding errors in block reward halving. By introducing minor technical modifications to the original Bitcoin source code, Sugarchain allowed for much faster transaction speeds, even lower processing fees and has ***the most accurate block reward halving and total supply*** than any other digital asset, including Bitcoin. Sugarchain also launched following the ***one-CPU-one-vote*** idea proposed by Satoshi Nakamoto himself, thus making YespowerSugar GPU and ASIC resistant. It has also launched as being the first blockchain to have ***Native SegWit (Bech32)*** enabled by default. As one of the successful derivatives of Bitcoin, Sugarchain is establishing its position as ***the world's fastest PoW blockchain***, complementing and reinforcing Bitcoin in purpose, function, and utility, and challenging our traditional notions of money. The Sugarchain Project has ***never been funded through an ICO or premine***, making it a fair launch. Sugarchain is an entirely community and voluntarily driven project, with no external company or funding supporting it apart from community funding. ** [1]: [Bitcointalk: [ANN] Sugarchain [CPU] Launching 2019/08/24 15:00 UTC](https://bitcointalk.org/index.php?topic=5177722.0) Specifications -------------- | | | ------------|------------ Block time: | `5` Seconds Block reward: | `42.94967296` SUGAR Halving interval: | `12,500,000` Blocks (approx. 2 years) Total supply: | `1,073,741,824` SUGAR PoW algorithm: | YespowerSugar (based on Yespower 1.0.1) Difficulty: | SugarShield-N510 (based on Zcash's modification of Digishield) Port: | 34230 / RPC 34229 Premine: | None: NO ICO, NO Presale, NO Founder's rewards The world's fastest PoW blockchain ---------------------------------- - 5 seconds transaction speed [[2]](#SUGAR_blocktime) : * 120x faster than Bitcoin * 30x faster than Litecoin * 12x faster than Dogecoin - Transaction speed comparison [[3]](#DGB_blocktime) [[4]](#XVG_blocktime) [[5]](#DOGE_blocktime) [[6]](#LTC_blocktime) [[7]](#BTC_blocktime)

- Don't worry about orphan blocks: * According to the testnet results, the average orphan rate is under 3% and no problems occur. ** [2]: [Github: SUGAR speed](https://github.com/sugarchain-project/sugarchain/blob/d2d13cacd9e7c2640a02e6392978a26df06f9eb8/src/chainparams.cpp#L187) ** [3]: [DGB speed](https://github.com/digibyte/digibyte/blob/82414be2e78bd136daeb91f55c72768a9b700957/src/chainparams.cpp#L88) ** [4]: [XVG speed](https://github.com/vergecurrency/verge/blob/4ae658a47ff3ea7af269cf408387e8265cccf197/src/chainparams.cpp#L85) ** [5]: [DOGE speed](https://github.com/dogecoin/dogecoin/blob/0b46a40ed125d7bf4b5a485b91350bc8bdc48fc8/src/chainparams.cpp#L89) ** [6]: [LTC speed](https://github.com/litecoin-project/litecoin/blob/81c4f2d80fbd33d127ff9b31bf588e4925599d79/src/chainparams.cpp#L74) ** [7]: [BTC speed](https://github.com/bitcoin/bitcoin/blob/48c1083632687a42ac603d4f241e70616a1d3815/src/chainparams.cpp#L77) Native SegWit (Bech32) ---------------------- - The first blockchain to have Native SegWit (Bech32) built-in by default. - Significantly faster and lower cost than legacy transaction. - Very high probability of detection guaranteed. - Structure [[8]](#bip-0173) [[9]](#native_segwit-youtube) [[10]](#native_segwit-keynote)

** [8]: [Github: BIP-173](https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki) ** [9]: [Youtube: New Address Type for SegWit Addresses by Pieter Wuille](https://www.youtube.com/watch?v=NqiN9VFE4CU) ** [10]: [File: Keynote Document](https://prezi.com/gwnjkqjqjjbz/bech32-a-base32-address-format/) Exact halving and total supply ------------------------------ Halving is everything about limiting the total supply. Bitcoin is valuable because its total supply has been strictly limited, unlike traditional currencies. This total supply is controlled only by that halving. There is nothing else. We made this halving better. - The formula of Sugarchain’s total money supply (in satoshis) [[11]](#BTC_whitepaper) [[12]](#BTC_supply)

- Block reward: * The block reward should be to a ***power of two***, so that it halves correctly. * `2^32/1e+8 = 42.94967296 SUGAR` [[13]](#SUGAR_blockreward) - Halving schedule: * Interval `12500000 blocks (5^8*32)` [[14]](#SUGAR_halving_interval) which is approx. 2 years (62,500,000 seconds). * The total number of times halving will occur is 33 times, over the span of approx. 66 years (34,375,000 minutes). - Total supply: * `1073741824 SUGAR` [[15]](#SUGAR_total_supply) [[16]](#SUGAR_total_cap) in theory, and `1073741823.875 SUGAR` [[17]](#SUGAR_total_test) [[18]](#SUGAR_total_test_qt) in actual. * The difference is `0.125 SUGAR`. One Satoshi (0.00000001) limitation makes this difference. In addition, this number is meaningful. FYI: `1 GB = 1073741824 Byte (2^30)`. * The total supply of Sugarchain is around 51 times greater than Bitcoin. - Halving chart
![halving_chart.png](https://raw.githubusercontent.com/sugarchain-project/sugarchain-project.github.io/master/image/halving_chart.png) -
Halving table (click to expand)
![halving_table.png](https://raw.githubusercontent.com/sugarchain-project/sugarchain-project.github.io/master/image/halving_table.png)
** [11]: [Bitcoin: A Peer-to-Peer Electronic Cash System](https://bitcoin.org/bitcoin.pdf) ** [12]: [Bitcoin Wiki: Controlled supply](https://en.bitcoin.it/wiki/Controlled_supply) ** [13]: [Github: Block Reward](https://github.com/sugarchain-project/sugarchain/blob/d2d13cacd9e7c2640a02e6392978a26df06f9eb8/src/validation.cpp#L1155) ** [14]: [Halving Interval](https://github.com/sugarchain-project/sugarchain/blob/d2d13cacd9e7c2640a02e6392978a26df06f9eb8/src/chainparams.cpp#L135) ** [15]: [Total Supply](https://github.com/sugarchain-project/sugarchain/blob/d2d13cacd9e7c2640a02e6392978a26df06f9eb8/src/validation.cpp#L1147-L1216) ** [16]: [Total Cap](https://github.com/sugarchain-project/sugarchain/blob/d2d13cacd9e7c2640a02e6392978a26df06f9eb8/src/amount.h#L33) ** [17]: [Total Test](https://github.com/sugarchain-project/sugarchain/blob/d2d13cacd9e7c2640a02e6392978a26df06f9eb8/src/test/main_tests.cpp#L48-L67) ** [18]: [Total Test(qt)](https://github.com/sugarchain-project/sugarchain/blob/d2d13cacd9e7c2640a02e6392978a26df06f9eb8/src/qt/test/paymentrequestdata.h#L437-L468) one-CPU-one-vote ---------------- > “31/Oct/2008 Proof-of-work is essentially one-CPU-one-vote” [[11]](#BTC_whitepaper) Satoshi Nakamoto talked about the importance of decentralized mining in his whitepaper. We want to create a blockchain that anyone can do mining easily without any entry barriers. - CPU mining only * YespowerSugar [[19]](#SUGAR_yespower_sugar) (based on Yespower 1.0.1) is only for Sugarchain, not compatible with other Yespower coins. * The minimum difficulty (powlimit) is set low enough for two reasons. The first is to handle fast block time; The second is to allow mining on slow CPUs. - Mining efficiency [[20]](#yespower) : * According to the test results, the most efficient is using ***half of threads*** on a single CPU. * YespowerSugar is more suitable for older CPUs, because it is essentially a ***multi-threading resistor***. Suitable for smartphones and Raspberry Pi. - Benchmark

- NO GPU: GPU mining is not possible. - NO ASIC: ASIC mining is not possible. ** [19]: [Github: YespowerSugar](https://github.com/sugarchain-project/sugarchain/blob/d2d13cacd9e7c2640a02e6392978a26df06f9eb8/src/primitives/block.cpp#L30-L70) ** [20]: [Openwall: yespower - proof-of-work (PoW) scheme](https://www.openwall.com/yespower/) Difficulty Adjustment Algorithm (DAA) ------------------------------------- SugarShield-N510 is based on Zcash's modification of Digishield. Unlike the Zcash’s modification version, we use a moving average of `510 blocks (approx. 42.5 minutes)` [[21]](#SUGAR_sugarshield_n510) [[22]](#SUGAR_sugarshield_n510_pow). To keep the block time 5 seconds, SugarShield-N510 adjusts the difficulty level. - The formula of SugarShield-N510 [[23]](#zawy-digishield) ```bash t = timestamp, h = height, T = 5 (target block time in seconds), N = 510 (window size in blocks) ```

- Block time vs difficulty at first launching on testnet
![time_vs_difficulty.png](image/time_vs_difficulty.png) * It counts from block 1, an adjustment is made at block 511, and the actual control begins at block 512. [(log: time-diff)](https://raw.githubusercontent.com/sugarchain-project/sugarchain-project.github.io/master/log/time_vs_difficulty-13536.log) - Nonce distribution at first launching on testnet
![nonce_vs_difficulty.png](image/nonce_vs_difficulty.png) * The nonce is randomly well distributed. Difficulty changes but no bias. [(log: nonce-diff)](https://raw.githubusercontent.com/sugarchain-project/sugarchain-project.github.io/master/log/nonce_vs_difficulty-13548.log) ** [21]: [Github: SugarShield-N510](https://github.com/sugarchain-project/sugarchain/blob/d2d13cacd9e7c2640a02e6392978a26df06f9eb8/src/chainparams.cpp#L143-L170) ** [22]: [SugarShield-N510(pow)](https://github.com/sugarchain-project/sugarchain/blob/d2d13cacd9e7c2640a02e6392978a26df06f9eb8/src/pow.cpp) ** [23]: [Summary of Difficulty Algorithms](https://github.com/zawy12/difficulty-algorithms/issues/50) FAQ --- - Disk space requirements: * Blockchain size growth is around `10 MB per day` and around 3.65 GB per year. - Network rules: * To prevent fraud and timestamp attacks, nodes should be within `70 seconds` [[24]](#70_seconds) of accurate internet time, or they will be banned. - Selfish mining & time warp attack: * Fraud techniques for manipulating timestamps are already known. We use a future time limit (FTL) to prevent this. Blocks that differ `60 seconds` [[25]](#FTL_60) or more from the current head will be banned. (credit: zawy12) - Header indexing: * Using sha256d in header indexing, the initial synchronization speed is as fast as Litecoin. ** [24]: [Github: timedata.h](https://github.com/sugarchain-project/sugarchain/blob/d2d13cacd9e7c2640a02e6392978a26df06f9eb8/src/timedata.h#L23) ** [25]: [Future Time Limit](https://github.com/sugarchain-project/sugarchain/blob/d2d13cacd9e7c2640a02e6392978a26df06f9eb8/src/chain.h#L36) Wallet ------ [![Build Status](https://travis-ci.org/sugarchain-project/sugarchain.svg?branch=master-v0.16.3)](https://travis-ci.org/sugarchain-project/sugarchain) ![GitHub All Releases](https://img.shields.io/github/downloads/sugarchain-project/sugarchain/total) Sugarchain’s first node software is called **Yumekawa (夢川)**. It can be translated in some ways. - “Yume (夢)” means dream and “Kawa (川)” means river. So it’s *Dream River* in japanese. - The second letter “Kawa” stands for “Kawaii (可愛い)”. In this case the meaning is *Dreamy Cute*. - Also Yumekawa replaces the word ***Core*** (ie: Bitcoin Core). We think it sounds a bit centralized. **Download** - Win64: https://github.com/sugarchain-project/sugarchain/releases/latest - Win32: https://github.com/sugarchain-project/sugarchain/releases/latest - Linux64 (x86_64): https://github.com/sugarchain-project/sugarchain/releases/latest - Linux32 (i686): https://github.com/sugarchain-project/sugarchain/releases/latest - OSX (Apple macOS): https://github.com/sugarchain-project/sugarchain/releases/latest - ARM64 (aarch64): https://github.com/sugarchain-project/sugarchain/releases/latest - ARM32 (arm): https://github.com/sugarchain-project/sugarchain/releases/latest - Bootstrap: https://github.com/sugarchain-project/bootstrap/releases/latest - Source: https://github.com/sugarchain-project/sugarchain CPUMINER -------- Native SegWit (Bech32) address is by default and strongly recommended. `-t1` uses 1 thread. If you want more hash, increase this number. **cpuminer-opt-sugarchain (Win64 and Linux64)** ![GitHub All Releases](https://img.shields.io/github/downloads/cryptozeny/cpuminer-opt-sugarchain/total) : https://github.com/cryptozeny/cpuminer-opt-sugarchain/releases/latest **sugarmaker (BETA: All platforms)** ![GitHub All Releases](https://img.shields.io/github/downloads/decryp2kanon/sugarmaker/total) : https://github.com/decryp2kanon/sugarmaker/releases/latest - Pool mining: ```bash ./cpuminer -a sugarchain -o stratum+tcp://1pool.sugarchain.org:3333 -u sugar1qv0ahzfa2ssu47wes89390sl0jz6g05h0267u8g -t1 ``` - Solo mining: * We strongly recommend solo mining for decentralization. * Make a file `sugarchain.conf` ```bash server=1 rpcuser=username rpcpassword=password rpcallowip=127.0.0.1 ``` * Restart your Yumekawa wallet * Run cpuminer-opt-sugarchain (RPC=`34229`, testnet5 RPC=`44229`, regtest RPC=`45339`) ```bash ./cpuminer -a sugarchain -o http://localhost:34229 --no-longpoll -u username -p password --coinbase-addr=sugar1qv0ahzfa2ssu47wes89390sl0jz6g05h0267u8g -t1 ``` * Detailed solo mining tutorials: - Windows: https://forum.sugarchain.org/d/9-solo-mining-on-windows - Linux: https://forum.sugarchain.org/d/20-solo-mining-on-linux Pool ---- Please contact us if you have a new mining pool. - 1pool@tokyo: https://1pool.sugarchain.org - 2pool@tokyo: https://2pool.sugarchain.org - rplant@worldwide: https://pool.rplant.xyz - mofumofu@tokyo: https://nomp.mofumofu.me - dxpool@china: https://www.dxpool.net/?pool=labs or https://www.dxpool.com/?pool=labs - anomp@china: https://anomp.cc/getting_started/sugar - customspeed@netherlands: http://pool.customspeed.nl - cpu-pool@russia: http://cpu-pool.com - zpool@worldwide: https://zpool.ca/algo/yespowerSUGAR - zergpool@worldwide: https://zergpool.com/site/mining?algo=yespowerSugar - mecrypto@worldwide: https://pool.mecrypto.club/poolstatus?coin=SUGAR - kriptokyng@usa: https://kriptokyng.com/pool - blockmasters@wordwide: http://blockmasters.co - nlpool@netherlands: https://www.nlpool.nl/ Explorer -------- - Iquidus: https://1explorer.sugarchain.org - Addressindex: https://sugar.wtf - Addressindex (old stable): https://sugarchain.org/explorer - Esplora: https://sugar.wtf/esplora - Esplora (old stable): https://sugarchain.org/esplora - Verge: https://2explorer.sugarchain.org Service ------- - Node Map: https://map.okoto.xyz/sugar - Halving Counter: https://sugarchain-blockhalf.github.io - API Addressindex: https://api.sugarchain.org - Faucet: https://cpu-mining.info/sugarchain-faucet 3rd party wallet ---------------- - Android Wallet (Google Play Store): coming soon - Android Wallet (APK download): https://github.com/sugarchain-project/android_wallet_sugarchain/releases/latest - Web Wallet: https://sugar.wtf/wallet - Web Wallet (old stable): https://sugarchain.org/wallet - Paper Wallet: https://lesmiscore.github.io/WalletGenerator.net/?currency=sugarchain - Paper Wallet (old stable): https://sugarchain.org/SugarWalletGenerator.net/?currency=sugarchain - Wallet Extension for Google Chrome: https://chrome.google.com/webstore/detail/sugarchain-wallet-extensi/pgojdfajgcjjpjnbpfaelnpnjocakldb - Wallet Extension for Firefox: https://addons.mozilla.org/en-US/firefox/addon/sugarchain-wallet-extension - Tip Extension for Firefox: https://addons.mozilla.org/en-US/firefox/addon/sugargift Testnet ------- - Explorer Iquidus (testnet5): https://1explorer-testnet.cryptozeny.com - Explorer Esplora (testnet5): https://sugarchain.org/esplora-testnet - API Addressindex (testnet5): https://api-testnet.sugarchain.org - Pool (testnet5): https://1pool-testnet.cryptozeny.com Exchange -------- - XEGGEX.COM * SUGAR-USDT: https://xeggex.com/market/SUGAR_USDT * SUGAR-DOGE: https://xeggex.com/market/SUGAR_DOGE - BITXONEX.COM * SUGAR-USDT: https://www.bitxonex.com/market/sugarusdt * SUGAR-LTC: https://www.bitxonex.com/market/sugarltc - OCCE.IO * SUGAR-USDT: https://www.occe.io/exchange/sugar_usdt * SUGAR-TRX: https://www.occe.io/exchange/sugar_trx - ALTMARKETS.IO (v2) * SUGAR-BTC: https://v2.altmarkets.io/trading/sugarbtc * SUGAR-DOGE: https://v2.altmarkets.io/trading/sugardoge * SUGAR-LTC: https://v2.altmarkets.io/trading/sugarltc * SUGAR-USDT: https://v2.altmarkets.io/trading/sugarusdt - EX4ANGE.ORG * SUGAR-BTC: https://ex4ange.org/?SUGAR-BTC * SUGAR-DOGE: https://ex4ange.org/?SUGAR-DOGE
CLOSED EXCHANGE - ALTILLY.COM ***(Hacked 2020-12)*** * SUGAR-BTC: https://altilly.com/market/SUGAR_BTC * SUGAR-DOGE: https://altilly.com/market/SUGAR_DOGE * SUGAR-USDT: https://altilly.com/market/SUGAR_USDT - KUANGEX.COM ***(Closed 2021-02)*** * SUGAR-USDT: https://www.kuangex.com/trade/sugar_usdt - ALTMARKETS.IO (v1) ***(Shutdown 2021-03)*** * SUGAR-BTC: https://altmarkets.io/trading/sugarbtc * SUGAR-DOGE: https://altmarkets.io/trading/sugardoge - CEXZ.CA * SUGAR-LTC: https://www.cexz.ca/trading/sugarltc - GX.COM * SUGAR-USDT: https://www.gx.com/trade/SUGAR_USDT - EXBITRON.COM * SUGAR-USDT: https://www.exbitron.com/trading/sugarusdt * SUGAR-DOGE: https://www.exbitron.com/trading/sugardoge
Community --------- - Telegram: https://t.me/sugarchain - Twitter: https://twitter.com/sugarchain_dev - Forum: https://forum.sugarchain.org - Rocket.Chat: https://chat.sugar.wtf - Bitcointalk: https://bitcointalk.org/index.php?topic=5177722.0 - Reddit: https://www.reddit.com/r/Sugarchain License ------- Sugarchain Yumekawa is released under the terms of the MIT license. See [COPYING](https://github.com/sugarchain-project/sugarchain/blob/master-v0.16.3/COPYING) for more information or see https://opensource.org/licenses/MIT. - Copyright © 2009-2010 Satoshi Nakamoto - Copyright © 2009-2018 The Bitcoin Core developers - Copyright © 2013-2019 Alexander Peslyak - Yespower 1.0.1 - Copyright © 2016-2018 The Zcash developers - DigiShieldZEC - Copyright © 2018-2020 The Sugarchain Yumekawa developers