<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Zhaojun on Medium]]></title>
        <description><![CDATA[Stories by Zhaojun on Medium]]></description>
        <link>https://medium.com/@Zhaojun.sh?source=rss-b53e4fa820f3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*clIir3ymrRSsHfY9zGiNkA.png</url>
            <title>Stories by Zhaojun on Medium</title>
            <link>https://medium.com/@Zhaojun.sh?source=rss-b53e4fa820f3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 11:28:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Zhaojun.sh/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Fusion Payable Staged Network: How to Participate, Stake, and Earn Rewards]]></title>
            <link>https://medium.com/@Zhaojun.sh/the-fusion-payable-staged-network-how-to-participate-stake-and-earn-rewards-f52a6a7e8775?source=rss-b53e4fa820f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/f52a6a7e8775</guid>
            <category><![CDATA[fusion]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Zhaojun]]></dc:creator>
            <pubDate>Thu, 29 Nov 2018 05:27:51 GMT</pubDate>
            <atom:updated>2018-11-29T05:27:51.349Z</atom:updated>
            <content:encoded><![CDATA[<h3>Part Two of the PSN 101 Series</h3><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*DUH-FPSlJ3pewry_E7UNBg.png" /></figure><p><strong>November 2018</strong></p><p>In <a href="https://medium.com/@fusionprotocol/fusion-announces-the-launch-of-its-payable-staged-network-december-2018-aa7dfcbfdc32">Part One</a><br>of the PSN series, an overview of Fusion’s Payable Staged Network (PSN) was<br>covered. In Part Two of the Fusion Payable Staged Network (PSN) Series, several<br>topics will be detailed that relate to staking on the PSN including a robust FAQ<br>section. In addition to the articles, the <a href="https://web.telegram.org/#/im?p=@FUSIONFoundation">Official Fusion Telegram Channel</a> is a real-time<br>channel that is moderated 24/7 where PSN questions can be answered.</p><p><strong>To Start: Tracking the Ethereum Block Height</strong></p><p>The ‘count-up’ is on! The block height progression on the Ethereum network works<br>like a clock steadily counting towards the 6,868,000th block. At the precise<br>moment the 6,868,000th block is forged, a snapshot of all the ERC-20 FSN wallet<br>addresses and balances will serve as the genesis block for the P-FSN balances on<br>the <a href="https://medium.com/@fusionprotocol/fusion-announces-the-launch-of-its-payable-staged-network-december-2018-aa7dfcbfdc32">FUSION Payable Stage Network (PSN)</a>.<br>To make tracking simple, here’s a link for monitoring the Ethereum block height:<br><a href="https://etherscan.io/blocks">https://etherscan.io/blocks</a></p><p><strong>The Fusion Wallet and P-FSN Tokens</strong></p><p>Since announcing the PSN, Fusion regularly reminds FSN ERC-20 token holders to<br>move their FSN tokens to a secure wallet to which the wallet’s private key is in<br>the control of the user. This ensures an accurate balance of FSN ERC-20 tokens<br>is recorded. Please note, the exact same private key used to unlock a token<br>holder’s Ethereum-based wallet (which holds their FSN tokens), will unlock their<br>FUSION Wallet. Without any action from the user, the P-FSN tokens equivalent to<br>their balance in FSN tokens at the block height of Ethereum 6,868,000 will be<br>automatically available in the user’s FUSION wallet. The P-FSN token will be a<br>native token to the FUSION PSN network and will ONLY be accessible (and visible)<br>in the FUSION PSN wallet which will be released to align with the network<br>launch.</p><p><strong>Steps to Receive P-FSN — Checklist</strong></p><ol><li>User holds their balance of FSN ERC-20 tokens in their wallet where they control<br>the private key.</li><li>At Ethereum block height 6,868,000, Fusion takes a snapshot of the block which<br>acts as the genesis block for PSN. The snapshot records FSN ERC-20 wallet<br>addresses and user’s FSN ERC-20 balances.</li><li>PSN tokens P-FSN are automatically sitting in all wallets at the ratio of 1:1 to<br>FSN ERC-20 token balances.</li><li>User’s FSN ERC-20 public address is used for the FUSION PSN Wallet. The FUSION<br>PSN Wallet is unlocked with the same private key used to manage FSN ERC-20<br>tokens.</li><li>A balance of P-FSN tokens equivalent to the user’s FSN ERC-20 balance will be<br>available to the user in the FUSION Wallet.</li></ol><p><strong>Not Your Keys, Not Your FSN</strong></p><p>It’s imperative for users to have access to their FSN ERC-20 private keys in<br>order to receive P-FSN tokens. For example, if FSN tokens are left in an<br>exchange wallet,** the exchange, not the user, holds the private keys.<br>Therefore, the exchange receives the P-FSN tokens, not the user.** The user will<br>not be able to access any P-FSN tokens.</p><p><strong>How Can P-FSN Tokens be Used?</strong></p><p>P-FSN tokens are the utility token that powers the FUSION PSN network. The<br>tokens can be used for staking, quantum-swapping, transacting, time-locking and<br>more. All of these functions can be tested in a completely risk-free way since<br>the P-FSN tokens have marginal real-world value. P-FSN are testing tokens<br>similar to Rinkenby or Bitcoin Testnet tokens.</p><p>However, there is also a mechanism by which P-FSN token holders can earn real<br>FSN ERC-20 rewards — <strong>by participating in staking.</strong></p><p><strong>Proof of Stake Consensus</strong></p><p>Proof of Stake (PoS) is the consensus mechanism that the PSN uses to secure and<br>validate transaction blocks. The PoS consensus model proposes that the resource<br>used to determine the validator of a block should be the cryptocurrency itself,<br>rather than computational power like in the PoW-based Bitcoin network.</p><p><strong>What is Staking?</strong></p><p>The idea is that if in an individual possesses native tokens to the network (a<br>‘stake’ in the network), they have an interest in maintaining the accuracy of<br>the ledger and can therefore be trusted to broadcast the truth when blocks are<br>validated. The validator of a new block is chosen based on the quantity of<br>tickets bought by participants with time locked P-FSN and transaction fees<br>(P-FSN) are awarded to the validator of a block. There are a number of<br>properties that make PoS more appealing than the alternative PoW systems<br>including: improvements in energy efficiency, scaling benefits, increased<br>decentralization, reduced risk of 51% attack, user-friendly hardware<br>requirements and more.</p><p><strong>Staking on the FUSION PSN Network FAQs:</strong></p><p><strong>Q. What compatible wallets exist in the marketplace to store your FSN tokens where the user controls private keys?</strong></p><p><strong>A.</strong> There are a number of<br>compatible wallets that exist in the marketplace for storing FSN ERC-20 tokens<br>for the PSN snapshot. Examples of online wallets include: MyEtherWallet,<br>Metamask, Coinomi and MyCrypto. Compatible hardware wallets include: Ledger and<br>Trezor. Fusion advises token holders to do their own research when selecting a<br>wallet due to the fact that Fusion has no control over third party wallets, or<br>their security.</p><p><strong>Q. How regularly will new blocks be generated on the PSN?</strong></p><p><strong>A.</strong> New PSN blocks will be generated approximately every 15 seconds. A FUSION<br>PSN block explorer will be released in the lead up to PSN launch to help with<br>tracking.</p><p><strong>Q. How does staking work with tickets?</strong></p><p><strong>A.</strong> To participate in staking, users buy a ticket costing 200 time-locked<br>P-FSN. This ticket goes into a lottery. If your ticket is chosen in the lottery,<br>then your staking node has the opportunity to validate the next transaction<br>block, therefore earning a reward. Once your ticket is selected your 200<br>time-locked P-FSN tokens are returned to your wallet including the block reward.<br>At that point, purchasing a new ticket is possible. This process can be<br>automated by using FUSION’s “Auto-Buy Ticket Function”.</p><p><strong>Q. What is the cost of purchasing a ticket to participate in staking?</strong></p><p><strong>A.</strong> 200 time-locked P-FSN tokens (the P-FSN tokens need to be time-locked<br>from the present time until 30 days into the future, the remaining portion from<br>30 days until infinite remains in your wallet) are required to buy a ticket for<br>staking.</p><p><strong>Q. If you have less than 200 P-FSN tokens, can you use them for staking?</strong></p><p><strong>A.</strong> If you have less than 200 P-FSN and want to participate in staking,<br>you’ll either have to get more P-FSN tokens from a counterparty to reach the 200<br>P-FSN to buy a ticket for staking. Alternatively, you can time-lock your P-FSN<br>and use the quantum-swap function so a counterparty can reach 200 P-FSN tokens<br>to purchase a ticket for staking. The terms of the deal will be up to you and<br>your counterparty!</p><p><strong>Q. What are the rewards if your ticket is selected to pack a PSN block?</strong></p><p>Once the block is validated, your 200 time-locked P-FSN tokens will be returned<br>to your wallet with an additional reward of 2.5 P-FSN (not time-locked) tokens.<br>The FUSION Foundation will also deliver a bonus reward of 0.625 FSN ERC-20<br>tokens for each block to the block validator at a later date yet to be<br>determined. The bonus FSN will be sent to your Ethereum-based wallet not the<br>native FUSION PSN Wallet.</p><p><strong>Q. How many P-FSN and how many ERC-20 FSN will be rewarded per day?</strong></p><p><strong>A.</strong> On average, a total of 14,400 P-FSN and 3,600 FSN ERC-20 token rewards<br>will be issued per day.</p><p><strong>Q. How many tickets can a user buy per block?</strong></p><p><strong>A.</strong> One ticket can be purchased every time a new block is forged per FSN<br>ERC-20 public wallet address. This means 5,760 tickets is the maximum number of<br>tickets that can be purchased per address, per day.</p><p><strong>Q. How and when will FSN block rewards be distributed?</strong></p><p><strong>A.</strong> The FUSION Foundation will monitor the addresses that are selected to<br>pack each block and will reward 0.625 FSN to the address that successfully<br>validates each block. The rewards will be distributed at a time selected by<br>FUSION. FSN rewards are paid from the community allocation of FSN tokens.</p><p><strong>Q. What triggers the return of time-locked 200 P-FSN tokens used for staking?</strong></p><p><strong>A.</strong> Time-locked 200 P-FSN will automatically be returned to the user’s wallet<br>after being triggered by the following two conditions:</p><ol><li>If your staking ticket is selected, then your 200 P-FSN tokens plus the block<br>reward are returned to your wallet.</li><li>If your staking ticket is not selected within 30 days, the 200 P-FSN that are<br>time-locked will automatically expire, and the 200 time-locked P-FSN used to buy<br>the staking ticket is returned to your wallet.</li></ol><p><strong>Q. Can time-locked P-FSN you swapped from a counterparty be used for staking?</strong></p><p><strong>A.</strong> Yes, time-locked P-FSN from the present time until 30 days into the<br>future are the only tokens qualified to buy tickets for staking. It does not<br>matter if those P-FSN tokens arrived in your wallet via the snapshot, a trade,<br>or a swap.</p><p><strong>Q. Are FSN tokens tracked separately on the Ethereum blockchain during PSN?</strong></p><p><strong>A.</strong> Yes. The Ethereum Blockchain will continue to book the ledger for FSN<br>ERC-20 tokens which will be swapped to native FSN tokens once the Fusion mainnet<br>goes live.</p><p><strong>Q. When can I send back my FSN to an exchange wallet after the snapshot on block 686,800,000?</strong></p><p><strong>A.</strong> After the 686,800,000 Ethereum block is forged, it is possible to move<br>FSN ERC-20 tokens back to an exchange wallet, while still receiving P-FSN<br>tokens.</p><p><strong>Q. Can a user sell ERC-20 FSN after the snapshot and will it influence staking reward?</strong></p><p><strong>A.</strong> Yes, a user can do whatever they want with their ERC-20 FSN after the<br>snapshot and it will not influence staking rewards in P-FSN or FSN ERC-20.</p><p><strong>Q. What hardware requirements are needed for staking?</strong></p><p><strong>A.</strong> More information may be disclosed in the lead-up to the launch of PSN if<br>necessary. At this time, it’s anticipated a standard VPS, 2 cores, 4GB RAM is<br>currently sufficient to set up and run a node.</p><p><strong>Q. Will fusion make it easy for me to run a node, manage tokens and set time-lock?</strong></p><p><strong>A.</strong> Yes, if you are uncomfortable with web3 commands, a GUI is also provided.<br>Here is a sneak preview of Auto-Buy Ticket Functionality for staking and the<br>FUSION Wallet</p><h4>Auto-Buy Stake Screengrab</h4><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*qk_u0KALtt7HjQFaDAHl6g.png" /></figure><h4>FUSION Wallet Interface Screengrab</h4><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*OFO3zx8r8eJReD6TUHo8gQ.png" /></figure><h4>Time-lock Asset Screengrab</h4><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*P43wD9D_HQtTN4_LAkcTIA.png" /></figure><p>FUSION is excited to be incentivizing staking on the FUSION PSN with valuable<br>FSN ERC-20 rewards. We hope to see as many people participating as possible!<br>This way, we can test the robustness, security and functionality of the network<br>together.</p><ul><li><a href="https://medium.com/tag/blockchain?source=post">Blockchain</a></li><li><a href="https://medium.com/tag/ethereum?source=post">Ethereum</a></li><li><a href="https://medium.com/tag/finance?source=post">Finance</a></li><li><a href="https://medium.com/tag/cryptocurrency?source=post">Cryptocurrency</a></li><li><a href="https://medium.com/tag/bitcoin?source=post">Bitcoin</a></li></ul><h3><a href="https://medium.com/@fusionprotocol">FUSION Foundation</a></h3><p>An Exciting New Era of Cryptofinance for the Internet of Values.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f52a6a7e8775" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blockchain Technology Breakthrough Pushes The Global Financial Revolution Forward]]></title>
            <link>https://medium.com/@Zhaojun.sh/blockchain-technology-breakthrough-pushes-the-global-financial-revolution-forward-427d20c034e0?source=rss-b53e4fa820f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/427d20c034e0</guid>
            <category><![CDATA[fusion]]></category>
            <category><![CDATA[bitcoin]]></category>
            <dc:creator><![CDATA[Zhaojun]]></dc:creator>
            <pubDate>Tue, 13 Nov 2018 17:09:57 GMT</pubDate>
            <atom:updated>2018-11-29T05:33:41.667Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*dnncxrGnGXKHoYGyifl29g.jpeg" /></figure><p>By Holly Kasun and John Liu</p><p><strong>November 2018</strong></p><p>Since the turn of the century, the financial world has been going through its own “Industrial Revolution” through technology and globalization advancements. The next phase of this revolution which is on the brink of reality is enabled by blockchain technology.</p><p>Today the world is filled with various different types of tokens each representing a different concept of value whether it’s a virtual or physical asset. Nearly any asset in the world can be digitized (tokenized) including bonds, automobiles, fiat currency, and financial instruments. Some of these assets are contained on blockchains others are in other types of management systems. The ability to create and exchange digital representations of any asset in the world has ushered in a new age of enormous potential often referred to as, <a href="https://hackernoon.com/a-vision-of-the-internet-of-value-ad187abf5826">“The Internet of Value”.</a></p><p>Despite the ability to represent assets digitally there is a challenge facing the progress of the digital asset revolution. The issue is interoperability. The liquid exchange of these assets and accurate extraction of these assets’ values, is stymied. Currently, coins, tokens, and tokenized assets issued on separate systems cannot be easily transferred or exchanged without incurring fees and/or requiring multiple steps. This must be solved to fully realize the potential of blockchain technology, The Internet of Value, and ultimately a global tokenized economy. Blockchain technology creates the ability to support an unlimited variety of assets, plus the ability to extract value from these assets on a platform with global reach and increased accessibility.</p><p><strong>Solutions to Interoperability</strong></p><p>Today, the most common approach to exchange or move values between chains is through a centralized exchange. While centralized exchanges work, there are well-known security vulnerabilities that open risks of assets being stolen. Two notable centralized crypto exchange hacks in 2018 resulted in substantial losses: <a href="https://www.ccn.com/bitcoin-price-bloody-sunday-not-caused-by-coinrail-hack/">$500 million Coincheck hack in Japan and $40 million Coinrail hack in South Korea. </a>In fact, <a href="https://finance.yahoo.com/news/731-million-stolen-crypto-exchanges-205929245.html">more than $700 million in assets stolen in the first half of 2018,</a> and those are just the reported numbers.</p><p>To solve the security issues facing centralized exchange systems, forward-thinking companies like Wanchain, IBM, and Polkadot have started testing and executing cross-asset transactions. These approaches rely on combinations of multi-signature transactions, relay chains, atomic swaps, and 3rd-party escrow accounts. While offering improvements on the security front, there are limitations on the number of counter-parties and flexibility of swapping.</p><p>A promising technology that tackles blockchain security and interoperability was introduced by The Fusion Foundation through it’s <a href="https://medium.com/@fusionprotocol/fusion-dcrm-yellow-paper-announcement-definition-background-and-the-impacts-explained-4b826480d3c">DCRM Yellow Paper</a>. First mentioned in Fusion’s <a href="https://docs.wixstatic.com/ugd/76b9ac_be5c61ff0e3048b3a21456223d542687.pdf">Whitepaper</a>, the idea of Distributed Control Rights Management System (DCRM) was introduced in December 2017. DJ Qian, the Founder of Fusion explains, “There was no way in my mind to create a secure blockchain solution if private keys had to be surrendered to map digital assets to a blockchain. Further, it was also clear that even if private key data was encrypted there would still be security vulnerabilities if private keys were consolidated either upon asset input or exiting a blockchain. So the question for Fusion became how do we solve for secure asset lock-in and lock-out while connecting traditional and crypto finance systems so that any digitized asset can interact with any other on a scalable, secure platform?”</p><p>This 3-part series will explain Fusion’s cross-asset protocol, starting with the rationale for the DCRM technology module and how it works.</p><p><strong>Fusion Interoperability Protocol</strong></p><p>Given the variety of blockchains and the high velocity of change in technology, the success of an integration solution depends heavily on where the integration takes place. Blockchain technology operates on a layered protocol, much like the Internet itself. Starting from the bottom of the protocol stack, the layers are: the data layer, network layer, consensus layer, and finally, the business application layer. As technology moves higher in the layers, low-level code is abstracted away, resulting in easier extension and adoption, but at the cost of increasing variety of integration methods and slower performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*e8Ns_gxHDIM4iESyjon1Aw.png" /></figure><p>Fusion chose to tackle the cross-asset problem from the data layer; specifically, the transaction signing. The reasoning is two-fold:</p><p><strong>High uniformity of integration</strong>: Unlike the top layers, the data layer has much less variety to consider. For example, by integrating against just 1 private key encryption algorithm (ECDSA), we can integrate against 80% of tokens.</p><p><strong>High impact</strong>: All digital assets and their transfers are controlled by access to their respective private keys and ability to sign transactions with these private keys.</p><p>Fusion realized this approach through the DCRM module, which leverages Fusion’s blockchain nodes to generate and secure heterogenous-chain private keys and their respective wallets. The ability to control these wallets in turn, allow for seamless swaps of siloed digital asset ecosystems across Fusion’s connective digital freeway. However, this power comes with an immense responsibility to protect access to these key, which Fusion provides through its innovative key sharding technology.</p><p><strong>Private Key Generation and Key Sharding</strong></p><p>In typical blockchain key generation, a full private key is generated and stored inside a user’s wallet along with a public key. The public key can then be shared with others to receive funds, while the private key, and control of the user’s wallets and assets remain hidden.</p><p>Because Fusion’s DCRM technology relies on the nodes to generate wallets supporting mixed assets for the user, it is paramount that no single node or individual ever has access to the private key. As mentioned before control of a private key equates to control of the asset. Fusion provides this protection through key sharding and a proprietary distributed encryption algorithm which is compatible with standard encryption algorithms (such as ECDSA).</p><p>Key sharding is the process of dividing a complete key into several fragments or shards. Through Fusion’s distributed encryption process, the sharded private key is never reconstructed in the whole process from point of generation, to signing calls, to storage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*5x3m3OV27vSvygjB" /></figure><p><strong>Step 1: </strong>Each node participating in the generation of the private key generates its own shard of the key. The node never has more than one shard of the key and can not access the remaining private shards of the key in the other nodes.</p><p><strong>Step 2:</strong> The node generates the public key through DCRM encryption and checks to make sure that the proper public key are being submitted by the other nodes in the system. This check is analogous to the validation of a credit card number through public algorithms.</p><p><strong>Step 3</strong>: If the check passes, then both the private key and the public key is generated for the wallet. The private key is protected by Fusion’s blockchain algorithm, and the public key is presented to the owner of the wallet.</p><p>In part two of this series, we will discuss how Fusion uses Fusion-generated wallets along with the protected private keys to allow for the seamless connection of siloed assets for the user and the resulting broader financial impact.</p><p><em>Originally published at </em><a href="https://medium.com/@fusionprotocol/blockchain-technology-breakthrough-pushes-the-global-financial-revolution-forward-3ec1c6630c52"><em>medium.com</em></a><em> on November 13, 2018.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=427d20c034e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[FUSION DCRM Distributed Signature Technology]]></title>
            <link>https://medium.com/@Zhaojun.sh/fusion-dcrm-distributed-signature-technology-3cadec381778?source=rss-b53e4fa820f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/3cadec381778</guid>
            <category><![CDATA[fusion]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Zhaojun]]></dc:creator>
            <pubDate>Sun, 19 Aug 2018 13:28:51 GMT</pubDate>
            <atom:updated>2018-09-17T02:35:38.800Z</atom:updated>
            <content:encoded><![CDATA[<p>At present, whether it is the (blockchain 1.0) bitcoin or the (blockchain 2.0) Ethereum, or thousands of other chains for competition, each chain is like a local network, which cannot be connected to each other. This greatly limits the application of blockchain. Thus, a real Internet of value era can not be formed. For cross-chain issues, the current mainstream cross-chain technologies include: public notary mechanism, hash lock, sidechain/relay technology, and the latest distributed signature technology. For more detailed info, please see: Crosschain technology.</p><p>The distributed signature technology implemented by the FUSION project allows users to lock-in their digital assets across the same blockchain platform, or lock-out to the designated account at any time. The technology supports all digital assets controlled by encrypted algorithms like Bitcoin, This includes more than 90% of mainstream encrypted digital assets: BTC, ETH, USDT and ERC-20 Token. This technology, which was first developed and applied, will be one of the important milestones in the history of blockchain development.</p><p>Bitcoin supports private key signature and multi-signature technology. Distributed signature is based on the core blockchain encryption technologies. It uses distributed key generation, secret sharing, threshold signature, commitment scheme, Paillier encryption and zero-knowledge proof. (cryptography algorithms).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4I_ETQ26eI5Eg1IMTrGK7g.png" /><figcaption><strong>Compare different signature technologies</strong></figcaption></figure><p><strong>Privatekey Signature</strong></p><p>Invented in the 1970s, public key cryptography was the mathematical basis for computer and information security. It is also the cornerstone of Bitcoin. Bitcoin ownership is established through public and private keys, addresses, and signatures. The public and private keys are not actually stored on the network, but are generated by the user and stored in a wallet file. The keys stored in the user’s wallet are completely independent of the bitcoin network and can be generated and managed by the user’s wallet software without having to connect to the blockchain network. Public key cryptography implements many of Bitcoin’s features, including decentralized trust, ownership authentication, and security models based on cryptographic proofs.</p><p>Each bitcoin transaction requires a valid signature to be stored in the blockchain. Only the corresponding private key can generate a valid digital signature, so a Bitcoin private key copy has Bitcoin control right. The keys appear in pairs and consist of a private key and a public key. The public key is like the bank’s account, and the private key is like the account’s password. In the Bitcoin system, the public key is used to receive bitcoin, and the private key is used to make the transaction signature during the bitcoin transaction. When paying Bitcoin, the current owner of Bitcoin needs to submit its public key and signature in the transaction. After receiving the transaction, everyone in the Bitcoin network can verify and confirm with the submitted public key and signature and whether the transaction is valid. That is to confirm that the payer has ownership of the bitcoin being traded at that time.</p><p><strong>Multi-Signature</strong></p><p>In February 2014, the MT.Gox exchange lost nearly 850,000 bitcoins during a hacker theft, accounting for about 7% of the total amount of bitcoin, estimated at about $473 million at that time’s exchange rate. Frequent security issues, such as theft of exchanges have prompted the Bitcoin multi-signature technology development rapidly, which is a milestone in the history of Bitcoin development. To put it simply, bitcoin multi-signature makes it necessary to use multiple private keys for signature verification before it is accepted by the Bitcoin network. This improves the security of Bitcoin, and hackers need to obtain a sufficient number of private keys to Transfer bitcoin to their own addresses.</p><p>Generally speaking, a bitcoin address corresponds to a private key. To use the bitcoin in this address requires the owner of the private key to sign the transaction. The multi-signature technique is that multiple private key signatures are required to transact Bitcoin. For example, an address has three private keys, and at least two of the private keys must participate in the signature signing in order to make it be successful. Only one private key participation in the signature signing is insufficient. And this 2/3 scheme can be extended to any m/n, such as 3/3, 3/5, 6/11, etc. The maximum n in bitcoin is 15, and the most used one is the 2/3 signature scheme.</p><p><strong>Distributed Signature</strong></p><p>The biggest feature of the blockchain is that nodes without centralization can control the entire network, while current mainstream digital currency exchanges are controlled by one or more co-stakeholders. When a user who holds a BTC and wants to convert it to ETH, it can only be implemented through a centralized transaction. Most of the fast-developing DEX decentralized exchanges are based on Ethereum and can only be redeemed for ERC20 tokens.</p><p>Distributed signature technology solves the problem of cross-chain decentralized trust from the lowest-level cryptographic algorithm. The digital assets after Lock-in are managed by distributed key algorithm by thousands of decentralized nodes distributed by blockchain networks around the world. Distributed private keys are generated by DKG technology, and malicious attacks are prevented by an algorithm, called commitment. The ciphertext processing is realized by homomorphic encryption. Then the privacy verification is realized by zero-knowledge proof, and finally comes the implemented distributed signature algorithm. <strong>These encryption algorithms are proven to be secure, just as secure as bitcoin encryption algorithms. The asset book after Lock-in is publicly recorded on the FUSION blockchain and cannot be tampered with. Users can trust open source code and encrypted algorithms with confidence.</strong></p><p><strong>Application scenario</strong></p><p>1. <strong>Decentralized CrossChain Transactions</strong>: Distributed signature technology solves cross-chain problems and can achieve transparent, fair and secure decentralized transactions, and not only ERC20 tokens, as long as the signature algorithm and Bitcoin are consistent. Direct trading, which means that most currencies can be traded directly.</p><p>2. <strong>Mainnet Swap</strong>: Take the recent EOS swapping as an example, due to the lack of interoperability between EOS and Ethereum, many users lost their private keys in the complex mapping process and caused asset loss. Distributed signature technology makes FUSION a huge advantage. For users, the mapping process is extremely simple, just as easy to get cash from the ATM. The user only needs to perform one-click operation on the wallet supporting FUSION: Lock-in after the lock-in to obtain the original mainnet original token.</p><p>3. <strong>Assets Tokenization</strong>: The distributed signature technology is based on the public key encrypted algorithm, which makes it possible to have all digital assets locked-in by the private key to the FUSION and tokenization. Not only digital currency, but also traditional financial assets, as well as traditional assets such as real estate, automobiles, hotels, etc. The circulation of assets and tokens has enabled many new business models to be realized.</p><p><strong>Future prospects</strong></p><p>The rise of the blockchain has made people see the prospect of value Internet. However, the existing blockchain network still has many bottlenecks in terms of interoperability and security, which makes it difficult to realize the value transfer of existing encrypted digital assets.</p><p>FUSION’s distributed signature technology allows different digital currencies to be locked-in to FUSION blockchain in a more innovative way, enabling these assets to achieve multi-currency smart contracts on the same chain. This greatly improves Value Internet interoperability and it becomes the infrastructure of crypto finance. It is like a “highway” on the value of the Internet. It can easily realize the value transfer between various digital assets and multi-currency smart contracts for encrypted financial services, thus promoting the development of FUSION encrypted financial platform and building a brand new ecosystem.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3cadec381778" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[FUSION如何实现世界上第一笔分布式签名跨链交易]]></title>
            <link>https://medium.com/@Zhaojun.sh/fusion%E5%A6%82%E4%BD%95%E5%AE%9E%E7%8E%B0%E4%B8%96%E7%95%8C%E4%B8%8A%E7%AC%AC%E4%B8%80%E7%AC%94%E5%88%86%E5%B8%83%E5%BC%8F%E7%AD%BE%E5%90%8D%E8%B7%A8%E9%93%BE%E4%BA%A4%E6%98%93-af5e9e782d72?source=rss-b53e4fa820f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/af5e9e782d72</guid>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Zhaojun]]></dc:creator>
            <pubDate>Fri, 20 Jul 2018 07:49:43 GMT</pubDate>
            <atom:updated>2018-07-20T07:49:43.683Z</atom:updated>
            <content:encoded><![CDATA[<p>近期FUSION项目宣布通过DCRM技术实现了世界上第一笔分布式签名的跨链交易。</p><p>交易地址：<a href="https://etherscan.io/tx/0x72584366019dfefb80c5f52becf7c4545c160537e5bf257b4cab809e8dc99884">https://etherscan.io/tx/0x72584366019dfefb80c5f52becf7c4545c160537e5bf257b4cab809e8dc99884</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XZFH5o6D06Jiw8x0" /></figure><p>我们看到这笔交易是在以太坊上的：</p><pre>块高度：5986859 <br>时间：Jul-18-2018 02:31:39 PM +UTC <br>转账：0.123456789 Ether<br>交易数据记录：Powered by FUSION DCRM: The world<em>&#39;s first decentralized signature transaction. </em><a href="https://github.com/FUSIONFoundation/dcrm"><em>https://github.com/FUSIONFoundation/dcrm</em></a></pre><p>交易是真实的，但还是会有疑问：这是真的吗？什么是分布式签名交易？和普通交易有什么区别？这笔交易是怎么实现的？为什么说是世界上第一笔分布式签名跨链交易？</p><h3>1. 什么是分布式签名</h3><p>FUSION项目实现的DCRM分布式签名技术使得用户可以把拥有的数字资产跨链Lock-in至同一区块链平台，也可以随时跨链Lock-out至指定账户。该技术支持所有和比特币一样加密算法控制的数字资产，包括90%以上的主流加密数字资产：BTC、ETH、USTD和ERC-20 Token等。</p><p>分布式签名基于区块链最核⼼的密码相关技术，从最底层密码算法解决跨链去中心化信任问题，综合采用了分布式密钥生成、秘密共享、门限签名、承诺方案、同态加密和零知识证明等密码学算法，这些算法经过证明安全，就像比特币加密算法一样。Lock-in后的数字资产是由FUSION区块链网络分布在全球的成千上万个非中心化节点以分布式密钥算法进行管理，资产账本是公开记录在区块链上并且无法篡改的，用户可以放心的信任开源代码和加密算法。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ZkUB3F2NO4upe6-n" /><figcaption>签名技术对比图</figcaption></figure><p>不管是比特币还是以太坊，普通交易是由用户通过钱包用私钥进行签名完成，而分布式签名交易则是由区块链网络里去中心化的节点共同签名完成。更详细的信息请参考笔者的另一篇文章：<a href="https://mp.weixin.qq.com/s/wHeq7pAhmGaF7rqBrmAcrg">FUSION：DCRM分布式签名技术</a></p><h3>2. 这笔交易如何实现</h3><p>这笔交易是通过FUSION的DCRM技术实现的，代码位于FUSION项目的github官方地址：<a href="https://github.com/FUSIONFoundation/dcrm">https://github.com/FUSIONFoundation/dcrm</a> DCRM程序核心功能是生成分布式私钥和公钥，以及完成分布式签名。</p><p>为了完成和以太坊的交易，还需要交易程序，笔者实现的go语言测试代码位于：<a href="https://github.com/zhaojun-sh/dcrm-test">https://github.com/zhaojun-sh/dcrm-test</a> 交易程序的主要功能是构造一笔交易数据并且发送至以太坊网络。</p><p>由于目前DCRM还处于测试阶段，还没有钱包支持分布式签名交易，所以通过上述代码来演示实现流程：<br><strong>A. 生成分布式私钥控制的DCRM地址</strong><br>运行DCRM的代码得到如下结果，这代表着4个节点分布式生成了4个私钥和一个公钥，通过公钥可以生成地址（一台服务器上模拟4个节点）。</p><pre>--Info: User 0 generate Private Key Share<br> PrivateKey Share: 84985294175903376931445795015467894006937990435985966931354507719444581255012</pre><pre>--Info: User 1 generate Private Key Share<br> PrivateKey Share: 84940305801941904466664650218833612629672900930983791755864604768328058215142</pre><pre>--Info: User 2 generate Private Key Share<br> PrivateKey Share: 48301921624326365388572144770320542374756243070409113696101196017150962650950</pre><pre>--Info: User 3 generate Private Key Share<br> PrivateKey Share: 74476474800750184490014153736266688989328133924980580120573080366704112843538</pre><pre>--Info: Calculate the Encrypted Private Key<br> EncPrivateKey: 173329730713759195632158208048813204114677455921675775304258144252371179815430961141231018602754919847223671130038851235770493934212281874570018195132877748444798739739795821227577726293248811650538740502822576453171345141334474759008820338548050683359877810788469256044058927828890465419699614086485143919938663088234744802312667115166497698717611200939616006150333960967798774705098678363760859206718107587099802390681427713171866933375406933443101361557556923318129027997214648941448667715701871121536023557498580309841607312020839799234252343853295268206102175564188138151785998492090757135839568614767948113549479344169054960239235128852314494413754249563707980651899522410043787232916922313334490261299518909453339384085251688068082587884795809168467783742478303912915276925432140041395031792470836030833153327906657603100987211750311974883361669839719389126905701251147103644438573352551485776981716454187236792466740625455113592376164739273665716111784053089429116637141064039346004344920260636335713841450769486173791590749468963530444491755779006306793557058495300565853675068369925243102714680350161348688564986745843917723099482239970825667470784248735260412087349787452160933767617900074467470922767255036695841661683158</pre><pre>--Info: Calculate the Public Key<br> PublicKey:(69569e08f0a701b880002b6437bd7ec73248d7487c04afc0698fe1bdcf6184a9,ac288eceaf75478ff73d325447f3791a5c5ef3d8979cb5b6e02bebb9e6802c6,cf3a739c665c0c242ebee6cf7d15aeddd7612934ad91090d0aabb7ec08fae58a,0)</pre><p><strong>B. 用户手动转账ETH至此地址</strong><br>新生成的DCRM地址需要用户转账一些ETH至此账户以便测试。</p><pre>address := common.BytesToAddress(crypto.Keccak256([]byte(PublicKey)[1:])[12:]).Hex()</pre><p><strong>C. 构造一笔以太坊交易</strong><br> 代码设置好转账金额，接收地址，GAS等。生成交易的RLPHash值，作为分布式签名sign接口的输入。</p><pre>tx := types.NewTransaction(<br>        0x00,                           <em>// nonce</em><br>        toAccDef.Address,               <em>// to address</em><br>        big.NewInt(123456789000000000), <em>// amount</em><br>        48000,                          <em>// gasLimit</em><br>        big.NewInt(41000000000),        <em>// gasPrice</em><br>        []byte(`Powered by FUSION DCRM: The world&#39;s first decentralized signature transaction. https://github.com/FUSIONFoundation/dcrm`))                 <em>// data</em></pre><pre>    chainID := big.NewInt(CHAIN_ID)<br>    signer  := types.NewEIP155Signer(chainID)</pre><pre>    fmt.Printf(&quot;\nTXRLPhash = %s\n&quot;, signer.Hash(tx).String())</pre><p><strong>D. 基于上述交易的RLPHash值生成分布式签名</strong><br>DCRM程序基于交易RLP编码后的Hash值生成分布式签名，返回签名结果（r, s, v），程序输出如下：</p><pre>--Info: User 0 calculate Commitment in round ONE</pre><pre>--Info: User 1 calculate Commitment in round ONE</pre><pre>--Info: User 2 calculate Commitment in round ONE</pre><pre>--Info: User 3 calculate Commitment in round ONE</pre><pre>--Info: User 0 calculate Zero-Knowledge in round TWO</pre><pre>--Info: User 1 calculate Zero-Knowledge in round TWO</pre><pre>--Info: User 2 calculate Zero-Knowledge in round TWO</pre><pre>--Info: User 3 calculate Zero-Knowledge in round TWO</pre><pre>--Info: Calculate the Encrypted Inner-Data u<br> u: 167882359539886460048672619095828037061329111643251414745211676555428948869232440666993336977554455944749312838261828269611379656662747270604335155510053737439694060600175435654617636403570309241082173612461012385412871482000968630329958949747092238963343539553972464230870111689727913939449238726449418403624095461570530731215530389374555841571129241692283069383096529494928462050236524655282283479738815745614056876328008527820339125620700724624295715039619903333868218155414893965716176564083809246867219944012760926266318004479811080636392068335287726957388592780877629676856719834808475838730841766110186047441502561711792459932145160777456548648462898370195989630954234978571371738985874822299588167695819261041508809865700472042096436851414380083964739632606368746160280493610841023504556898359908030182848043200363247450190212548224843198166212889465101734451385712493515867912739500885843691192416531433016410863483024184820255204692445426438925971829336332531506448000443974817920771646138893722435351052784089752197408232159855783922480181236131999029818676956056127785614058713557924713028456600255438479426572676251661606059111273440879922793674450519127333020764139110858182639803194122265515956079210346616503357996922</pre><pre>--Info: Calculate the Encrypted Inner-Data v<br> v: 43465092970691280177698029052618202245685056078947565258101642474160140120330407540175248109690298751814275288454451703773305398185741509852185753150306215984026194016795048194292317711716498211056640649812712851811583007983934212925522905825230004432919497004800896478391331349601388652338760855963317479893596047986417467512421107413879236844183678061499306134562947874452838302811993238059650516185893382623169866263586880164875796032537251995404050449676952957522230734182562856668281738120905795883140513149233553121946217324114869450657562640649071494968909608872146784625143501512145250847930664801143415684445192237834850321262634109554786191930174373507528166033406771214738179630188278351066612645106813192221127592374072217685221726914676421786289281702308836886410623077704304522860395353949085231176541619841708178598143120275005207320150415983577863011613509160587541722536363196385474690882347244294109285484239898306425471091538772546854713952181335787575480882625984694267881042494174010792578406096295045583314468029897776242938665057266633595931199265482356492137672931651515904604223498371308263284434895375425787587483487242768548342536093049416490701618826030117126617905118358594260198292678629414498346977607</pre><pre>--Info: User 0 calculate Commitment in round THREE</pre><pre>--Info: User 1 calculate Commitment in round THREE</pre><pre>--Info: User 2 calculate Commitment in round THREE</pre><pre>--Info: User 3 calculate Commitment in round THREE</pre><pre>--Info: User 0 calculate Zero-Knowledge in round FOUR</pre><pre>--Info: User 1 calculate Zero-Knowledge in round FOUR</pre><pre>--Info: User 2 calculate Zero-Knowledge in round FOUR</pre><pre>--Info: User 3 calculate Zero-Knowledge in round FOUR</pre><pre>--Info: Calculate the Encrypted Inner-Data w<br> w: 83591876179609340873284393652413787577577167385447697152280364830516779412455088062430761227327283437259436387545074973844930547615611299109190377905543063958627565061651648250749587460210544598115956580268139947669635934075861271746001310600688324767190444375813148912090836014443738013857915976485223368672559743127070788514735925763668141504958086921799969022899004948710278687797175451724780989955076012470449632980491259906269114678140596441717658184589490890327625841500912897878583581040590938340628018072475093196174438980348397122367115476691030480215429360943866482635921531318482228793190377125439768391249529511786123141798917101097679523311041632438281496991251745875755447150403039292069095002136343754428656340296166126548132344165211793798353374110488748694821584516513694683099062644952278575639611473134033919580998156082572307230433000457538426766787372044884086413551545050461141965194342408022557722658456921045064021802921500506055772163605132866276649315316478224428858277242890544963276346429078702709179841885083155300789764508519788457669265733403331033732365753561162022458795715460332097719193106353949250850520889967461271664966101030769199155060788492462427503919048384499601064062134834083423512259217</pre><pre>--Info: Calculate the Encrypted Inner-Data R<br> R: (84379c5b1d0d1fd295ddc42e5853d120c4e81f6b874ecec87d475a61a7b167bf,bdac131359a69dfd613c80a561244d58ab79d03b9159a390d4e012ffa14b4f89,a62229e25ad7ff2651d2191cf219cd29304f59c5808e5f8d340c85362c348ca2,0)</pre><pre>--Info: Calculate the ECDSA Signature in round FIVE<br>Real DCRM ECDSA Signature is (r,s,v):<br>(3647f23d3a6d8407862336e8536dcb8276facf7c5a69749b44dc65d2e467c2fe,64894b2469992357e3dbfcdc64ab5c31983a97531dbdb5a54787f49cb777ecb6,1)</pre><p>获得分布式签名结果后在交易程序中生成完整交易数据结构RawTransaction。</p><pre><em>//附加签名结果至交易数据结构</em><br>    message, merr := hex.DecodeString(signature)<br>    if merr != nil {<br>        fmt.Println(&quot;Decode signature error:&quot;)<br>        panic(merr)<br>    }<br>    sigTx, signErr := tx.WithSignature(signer, message)<br>    if signErr != nil {<br>        fmt.Println(&quot;signer with signature error:&quot;)<br>        panic(signErr)<br>    }</pre><pre>    <em>//恢复公钥</em><br>    recoverpkey, perr := crypto.Ecrecover(signer.Hash(tx).Bytes(), message)<br>    if perr != nil {<br>      fmt.Println(&quot;recover signature error:&quot;)<br>      panic(perr)<br>   }<br>   fmt.Printf(&quot;\nrecover publickey = %s\n&quot;, hex.EncodeToString(recoverpkey))</pre><pre>   <em>//恢复地址</em><br>   recoveraddress := common.BytesToAddress(crypto.Keccak256(recoverpkey[1:])[12:]).Hex()<br>   fmt.Printf(&quot;\nrecover address = %s\n&quot;, recoveraddress)</pre><pre>    <em>//生成完成交易数据结构RawTransaction</em><br>    txdata, txerr := rlp.EncodeToBytes(sigTx)<br>    if txerr != nil {<br>        panic(txerr)<br>    }<br>    fmt.Printf(&quot;\nRawTransaction = %+v\n\n&quot;, common.ToHex(txdata))</pre><p><strong>E. 发送交易至以太坊网络</strong><br>生成完成的分布式签名交易数据后，通过以太坊geth的JSON-RPC接口发送至以太坊网络，由矿工进行打包交易，交易发送成功后会返回交易的hashID供查询交易状态。</p><pre><em>// 本地运行geth连接ethereum网络发送交易: ./geth --rpc console</em><br>    client, err := ethclient.Dial(&quot;http://127.0.0.1:8545&quot;) <em>// 8545=geth RPC port</em><br>    if err != nil {<br>        fmt.Println(&quot;client connection error:&quot;)<br>        panic(err)<br>    }<br>    fmt.Println(&quot;\nHTTP-RPC client connected&quot;)<br>    fmt.Println()</pre><pre>    <em>//发送交易到网络</em><br>    ctx   := context.Background()<br>    txErr := client.SendTransaction(ctx, sigTx)<br>    if txErr != nil {<br>        fmt.Println(&quot;send tx error:&quot;)<br>        panic(txErr)<br>    }<br>    fmt.Printf(&quot;send success tx.hash = %s\n&quot;, sigTx.Hash().String())</pre><p>至此完成了一笔分布式签名交易，目前所有DCRM代码开源在github平台上，开发者可以随时测试或审查，FUSION应该非常欢迎开发者提交反馈和更新。最后建议开发者设置chainID=4在测试网络上进行分布式签名交易测试，避免不熟悉交易代码导致账户资金损失。</p><h3>3. 为什么说是第一笔</h3><p>FUSION的DCRM分布式签名技术继承比特币以加密算法解决去中心化信任问题的思路，基于最核心的密码算法，通过DKG技术生成分布式私钥，通过commitment算法防止恶意攻击，通过同态加密实现密文处理，通过零知识证明实现隐私验证，通过门限签名实现节点冗余，最终实现去中心化的分布式签名算法。该技术超越了目前常用的私钥签名和多重签名等技术，具有一定的创新性，FUSION基金会已经申请了PCT国际专利。</p><h3>未来</h3><p>完成了第一笔去中心化分布式签名交易意味着FUSION的DCRM技术实现了核心技术上的突破，但是这仅仅是个开始，未来FUSION主网上线后，DCRM将要在全世界成千上万个网络节点上迎接挑战形成共识，DCRM将链接所有区块链网络，迎接未来的价值互联网！</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af5e9e782d72" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[区块链分布式签名技术]]></title>
            <link>https://medium.com/@Zhaojun.sh/%E5%8C%BA%E5%9D%97%E9%93%BE%E5%88%86%E5%B8%83%E5%BC%8F%E7%AD%BE%E5%90%8D%E6%8A%80%E6%9C%AF-854d5b3d0071?source=rss-b53e4fa820f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/854d5b3d0071</guid>
            <category><![CDATA[fusion]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Zhaojun]]></dc:creator>
            <pubDate>Fri, 06 Jul 2018 03:56:17 GMT</pubDate>
            <atom:updated>2018-07-20T06:52:36.980Z</atom:updated>
            <content:encoded><![CDATA[<p>当前无论是区块链1.0的比特币，还是区块链2.0的以太坊，以及数以千计的竞争链，各个链如同局域网，相互之间无法连接，极大的限制了区块链的应用空间，无法形成真正的价值互联网。针对跨链问题，目前主流的跨链技术包括：公证人机制、哈希锁定、侧链中继技术，以及最新的分布式签名技术。</p><p>FUSION项目实现的分布式签名技术使得用户可以把拥有的数字资产跨链Lock-in至FUSION区块链平台，也可以随时跨链Lock-out至指定账户。首批支持的主流数字货币包括：BTC、ETH、USTD和ERC-20 Token，这几乎覆盖了目前主流币种的90%以上，这项首次被开发应用的技术将成为区块链发展史上的重要里程碑之一。</p><p>⽐特币⽀支持私钥签名和多重签名技术，分布式签名基于区块链最核⼼的密码相关技术，综合采用了分布式密钥生成、秘密共享、门限签名、承诺方案、同态加密和零知识证明等密码学算法。</p><p>以下表格对不同签名技术进行对比：</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0tB1hxpzcrQ3hga1bn9hqw.png" /><figcaption>签名技术对比图</figcaption></figure><p><strong>私钥签名</strong></p><p>公钥加密发明于20世纪70年代，它是计算机和信息安全的数学基础，也是比特币的基石。比特币的所有权是通过公私钥、地址和签名来确立的。公私钥实际上并不是存储在网络中，而是由用户生成并存储在一个钱包文件中。存储在用户钱包中的密钥完全独立于比特币网络，可以由用户的钱包软件生成并管理，而无需连接至区块链网络。公钥加密实现了比特币的诸多特性，包括去中心化信任、所有权认证和基于密码学证明的安全模型。</p><p>每笔比特币交易都需要一个有效的签名才会被存储在区块链中。只有对应的私钥才能够产生有效的数字签名，因此拥有比特币的私钥副本就拥有了该账户的比特币控制权。密钥是成对出现的，由一个私钥和一个公钥所组成。公钥就像银行的账号，而私钥就像账户的密码。在比特币系统中，公钥用于接收比特币，而私钥用于支付比特币时的交易签名。支付比特币时，比特币的当前所有者需要在交易中提交其公钥和签名，比特币网络中的所有人收到这笔交易后都可以通过所提交的公钥和签名进行验证，并确认该交易是否有效，也就是确认支付者在该时刻对所交易的比特币拥有所有权。</p><p><strong>多重签名</strong></p><p>2014年2月MT.Gox交易所被黑客盗窃损失了接近85万个比特币，约占比特币总量的7%，按当时汇率估计约值4.73亿美元。交易所被盗等安全问题频发，促使比特币多重签名技术快速发展，多重签名是比特币发展史上的一个里程碑。简单地说，比特币多重签名使得花费比特币时需要用多个私钥来签名验证后才会被比特币网络接受，这提升了比特币的安全性，黑客需要获得足够数量的私钥才能够将比特币转到自己的地址。</p><p>一般来说一个比特币地址对应一个私钥，动用这个地址中的比特币需要私钥的拥有者签名交易。而多重签名技术，就是交易比特币时需要多个私钥签名才有效。比如说，某个地址对应有3个私钥，而必须至少有其中任意2个私钥参与签名才能交易成功，只有1个私钥参与签名则是无效的。而这个2/3可以推广到任意的m/n，比如3/3、3/5、6/11等，比特币中n最大为15，目前使用最多的是2/3签名方案。</p><p><strong>分布式签名</strong></p><p>区块链最大的特点是没有中心化的节点可以控制整个网络，而目前主流的数字货币交易所却是由一个或多个共同利益方控制的。当用户持有BTC想兑换成ETH时，目前只能通过中心化交易所实现。快速发展的DEX去中心化交易所大部分是基于以太坊开发的，只能兑换ERC20代币。</p><p>FUSION分布式签名技术从最底层密码算法解决跨链去中心化信任问题。Lock-in后的数字资产是由FUSION网络分布在全球的成千上万个非中心化节点以分布式密钥算法进行管理，通过DKG技术生成分布式私钥，通过同态加密实现密文处理，通过零知识证明实现隐私通信，最终实现分布式签名算法。这些算法经过证明安全，就像比特币加密算法一样安全。Lock-in后的资产账本是公开记录在区块链上并且无法篡改的，用户可以放心的信任开源代码和加密算法。</p><p><strong>应用场景</strong></p><ol><li>去中心化跨链交易：分布式签名技术解决了跨链问题，可以实现透明、公平、安全的去中心化交易，而且不仅仅是ERC20代币，只要签名算法和比特币一致的都可以直接交易，也就是说目前绝大部分币种可以直接交易。</li><li>主网上线映射：拿近期的EOS映射举例，由于EOS缺少和以太坊的跨链交互能力，为数不少的用户在复杂的映射过程中丢失了私钥造成资产损失。分布式签名技术使得FUSION拥有巨大的优势。对于用户来说，映射过程极其简单，就像从ATM获取现金一样方便。用户只需要在支持FUSION的钱包进行一键操作：Lock-in代币后Lock-out获取主网原链代币。</li><li>资产上链：分布式签名技术基于公钥加密算法，这使得一切以私钥控制的数字资产Lock-in至FUSION平台并且代币化流通成为可能。不仅是数字货币，还包括传统金融资产，以及房产、汽车、酒店等传统资产，资产代币化流通使得许多新的商业模式得以实现。</li></ol><p><strong>未来展望</strong></p><p>区块链的兴起使人们看到了价值互联网的前景，但是现有区块链网络在互通性、安全性等方面还存在许多瓶颈，这使得现有加密数字资产很难实现跨链的价值转移。</p><p>FUISON的分布式签名技术以一种更加创新的方式让不同数字货币都能Lock-in到一条公有链上，从而可以使这些资产在同一条链上实现多币种智能合约，极大的提高了价值互联网的互通性，并成为加密金融的基础设施。它就像价值互联网上的“高速公路”，能够轻松实现各种数字资产之间的价值转移及面向加密金融服务的多币种智能合约，从而推动FUSION加密金融平台的发展，共建一个全新的生态系统。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=854d5b3d0071" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[区块链3.0 — 跨链技术]]></title>
            <link>https://medium.com/@Zhaojun.sh/%E5%8C%BA%E5%9D%97%E9%93%BE3-0-%E8%B7%A8%E9%93%BE%E6%8A%80%E6%9C%AF-8a0287b9232b?source=rss-b53e4fa820f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a0287b9232b</guid>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[crosschain]]></category>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[fusion]]></category>
            <dc:creator><![CDATA[Zhaojun]]></dc:creator>
            <pubDate>Sun, 17 Jun 2018 17:28:45 GMT</pubDate>
            <atom:updated>2018-07-06T02:47:43.191Z</atom:updated>
            <content:encoded><![CDATA[<p>在区块链所面临的诸多问题中，无论是区块链1.0的比特币，还是区块链2.0的以太坊，区块链之间互通性极大程度的限制了区块链的应用空间。不论对于公有链还是私有链来看，跨链技术就是实现价值互联网的关键，它是把区块链从分散的孤岛中拯救出来的良药，是区块链向外拓展和连接的桥梁。</p><p>目前主流的跨链技术包括：</p><p><strong>1、公证人机制（Notary schemes）</strong></p><p><strong>2、侧链/中继（Sidechains/relays）</strong></p><p><strong>3、哈希锁定（Hash-locking）</strong></p><p><strong>4、分布式私钥控制（Distributed private key control）</strong></p><p>列表进行了比较：</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zmqO0s5tBxXEYHWi" /></figure><p>上表列出了各种跨链技术的基本区别，早期跨链技术包括以瑞波和BTC Relay为代表，它们更多关注的是<strong>资产转移</strong>；现有跨链技术以Polkadot和Cosmos为代表更多关注的是<strong>跨链基础设施</strong>；<strong>FUSION实现主流区块链的跨链技术，支持跨链多币种智能合约，其上可以产生丰富的的跨链金融应用。</strong></p><ol><li><strong>公证技术：瑞波Interledger协议</strong></li></ol><p>早在2012年，瑞波实验室提出 Interledger协议旨在连接不同账本并实现它们之间的协同。Interledger协议适用于所有记账系统、能够包容所有记账系统的差异性，该协议的目标是要打造全球统一支付标准，创建统一的网络金融传输的协议。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/0*KfIod9ixf1w6Dn8O" /></figure><p><strong>Interledger协议使两个不同的记账系统可以通过第三方“连接器”或“验证器”互相自由地传输货币。</strong>记账系统无需信任“连接器”，因为该协议采用密码算法用连接器为这两个记账系统创建资金托管，当所有参与方对交易达成共识时，便可相互交易。该协议移除了交易参与者所需的信任，连接器不会丢失或窃取资金，这意味着，这种交易无需得到法律合同的保护和过多的审核，大大降低了门槛。同时，只有参与其中的记账系统才可以跟踪交易，交易的详情可隐藏起来，<strong>“验证器”是通过加密算法来运行，因此不会直接看到交易的详情。</strong>理论上，该协议可以兼容任何在线记账系统，而银行现有的记账系统只需小小的改变就能使用该协议。从而使银行之间可以无需中央对手方或代理银行就可直接交易。</p><p><strong>2. 侧链技术：BTC Relay</strong></p><p><strong>侧链是以锚定某种原链上的代币为基础的新型区块链，正如美金锚定到黄金。</strong>侧链是连接各种链，其它区块链则可以独立存在。但是，现在侧链很难做到在其上建立跨链智能合约，所以很难实现各种金融功能，这正是现有区块链在股票、债券、衍生品等领域尚未取得进展的原因。</p><p><strong>BTC Relay是在以太坊基金会支持之下诞生并成长起来的，它被认为是区块链上的第一个侧链。</strong>BTC Relay把以太坊网络与比特币网络通过使用以太坊的智能合约连接起来，可以使用户在以太坊上验证比特币交易。<strong>它通过以太坊智能合约创建一种小型版本的比特币区块链，但智能合约需要获取比特币网络数据，这还比较难实现去中心化。</strong>BTC Relay进行了跨区块链通信的有意义的尝试，打开了不同区块链交流的通道。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/0*aMJGNAblFN_49YU9" /></figure><p><strong>3. 中继技术：Polkadot和COSMOS</strong></p><p><strong>Polkadot</strong></p><p><strong>Polkadot是由原以太坊主要核心开发者推出的公有链。</strong>它旨在解决当今两大阻止区块链技术传播和接受的难题：即时拓展性和延伸性<strong>。Polkadot计划将私有链/联盟链融入到公有链的共识网络中，同时又能保有私有链/联盟链的原有的数据隐私和许可使用的特性。</strong>它可以将多个区块链互相连接。</p><p>在Polkadot看来，其它区块链都是平行链，Polkadot为通过中继链（relay-chain）技术能够将原有链上的代币转入类似多重签名控制的原链地址中，对其进行暂时锁定，在中继链上的交易结果将由这些签名人投票决定其是否生效。它还引入了钓鱼人角色对交易进行举报监督。通过Polkadot可以将比特币、以太币等都链接到Polkadot上，从而实现跨链通信。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*w-u4XvHZUKLGlJJZ" /></figure><p><strong>Polkadot目前还是以以太坊为主，实现其与私链的互连，并以其他公有链网络为升级目标，最终让以太坊直接与任何链进行通讯。</strong></p><p><strong>COSMOS</strong></p><p><strong>Cosmos是tendermint团队推出的一个支持跨链交互的异构网络。</strong>Cosmos采用的<strong>Tendermint共识算法</strong>，是一个类似实用拜占庭容错共识引擎，具有高性能、一致性等特点，而且在其严格的分叉责任制保证下，能够防止怀有恶意的参与者做出不当操作。</p><p>Cosmos上的第一个空间叫做”Cosmos Hub”。<strong>Cosmos Hub中心是一种多资产权益证明加密货币网络，它通过简单的管理机制来实现网络的改动与更新，还可以通过连接其他空间来实现扩展。</strong></p><p><strong>Cosmos 网络的中心及各个空间可以通过区块链间通信（IBC）协议进行沟通，这种协议是针对区块链网络的，类似UDP或TCP网络协议。</strong> 代币可以安全快速地从一个空间传递到另一个空间，两者之间无需体现汇兑流动性。相反，空间内部所有代币的转移都会通过Cosmos 中心，它会记录每个空间所持有的代币总量。这个中心会将每个空间与其他故障空间隔离开。因为每个人都可以将新空间连接到Cosmos中心，所以Cosmos也可以兼容未来新的区块链。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/0*-N88bjKexaUzZG8F" /></figure><p>这一架构解决了当今区块链领域面临的许多问题，包括<strong>应用程序互操作性、可扩展性、以及无缝更新性</strong>。比如，从 Bitcoind、Go-Ethereum、ZCash或其他区块链系统中衍生出来的空间，都可以接入Cosmos中心。这些空间允许Cosmos实现无限扩展，从而满足全球交易的需求。</p><p><strong>4. 哈希锁定技术：Lighting network</strong></p><p>Lightning network闪电网络提供了一个<strong>可扩展的bitcoin微支付通道网络</strong>，它极大提升了比特币网络链外的交易处理能力。交易双方若在区块链上预先设有支付通道，就可以多次、高频、双向地实现快速确认的微支付；双方若无直接的点对点支付通道，只要网络中存在一条连通双方的、由多个支付通道构成的支付路径，闪电网络也可以利用这条支付路径实现资金在双方之间的可靠转移。 <strong>闪电网络的关键技术是HTLC哈希锁定技术，</strong>基本原理如下：Alice和Bob可以达成这样一个协议：协议将锁定Alice的0.1 BTC，在时刻T到来之前（T以未来的某个区块链高度表述），如果Bob能够向Alice出示一个适当的R（称为秘密），使得R的哈希值等于事先约定的值H(R)，Bob就能获得这0.1 BTC；如果直到时刻T过去Bob仍然未能提供一个正确的R，这0.1 BTC将自动解冻并归还Alice。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/0*ge3ZP2T0jBTcu4up" /></figure><p>闪电网络并不试图解决单次支付的问题，其假设是单次支付的金额足够小，即使一方违约另一方的损失也非常小，风险可以承受。因此使用时必须注意“微支付”这个前提。</p><p><strong>5. 分布式私钥控制技术</strong></p><p><strong>WanChain</strong></p><p>WanChain万维链也支持主流公有链间的跨链交易，但首先需要完成在万维链上的注册，确保万维链能够对该链进行唯一识别。<strong>对于跨链交易，万维链利用多方计算和门限密钥共享方案。</strong>当一种未注册资产由原有链转移到万维链上时,万维链节点会使用一个基于协议的内置资产模板,根据跨链交易信息部署新的智能合约创建新的资产。当一种已注册资产由原有链转移到万维链上时,万维链节点会为用户在已有合约中发放相应等值代币,确保了原有链资产在万维链上仍然可以相互交易流通。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dT38ijAsCptvPZBW" /></figure><p><strong>万维链通过分布式的方式完成不同区块链账本的连接及价值交换</strong>。它采用通用的跨链协议以及记录跨链交易、链内交易的分布式账本，公有链、私有链还是联盟链，均能接入万维链，实现不同区块链账本的连接及资产的跨账本转移。</p><p>但是，实现各种链映射到一条链上只是完成了第一步，如果上面的智能合约还是像现在的仅为交易触发，智能合约没办法实现分布式运算和多触发机制，那多币种智能合约能实现仍然是相当有限的功能。</p><p><strong>FUSION</strong></p><p><strong>各种加密资产可以通过分布式私钥生成与控制技术被映射到FUSION公有链上。多种被映射的加密资产可以在其公有链上进行自由交互。</strong>实现和解除分布式控制权管理的操作称为：锁入（Lock-in）和解锁（Lock-out）。锁入是对所有通过密钥控制的数字资产实现分布式控制权管理和资产映射的过程。解锁是锁入的逆向操作，将数字资产的控制权交还给所有者。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bLI5XClRmYw8gl4C" /></figure><p>FUSION协议支持各种代币之间的价值转移的同时，设计了“Calling list”机制将各种触发条件与智能合约分开储备，记账节点只要加载触发条件的列表即可，被触发时才加载智能合约，这使各种交易触发、时间触发和事件触发（包括链外数据触发）可以写到触发列表里。通过多层共识机制和记账节点分组，实现了一定的并行计算。多层机制使合约计算与计算结果的记账分步完成，记账节点分组使不同的智能合约由不同的记账节点分组完成。FUSION在并行计算、链外数据和多触发机制方面进行创新，实现高效率的、面向多币种和多种触发机制的增强型智能合约。</p><p>各种资产映射到FUISON后，其原链上的功能被暂时锁定，在FUSION通过增强型智能合约形成丰富的加密金融应用实现其金融价值倍增。FUSION做的是价值互联网时代的加密金融。</p><p><strong>跨链技术的未来</strong></p><p>价值互联网如何能够称为“网”，就需要各种跨链技术，突破区块链2.0局域网的限制。<strong>针对一种链的跨链交易只是第一步，多链网络才是跨链的本质。</strong>跨链使各种原链上的代币可以自由流通，但是要实现完整的金融功能，还需要智能合约支持跨链，并使用并行计算提高效率，从而能够实现丰富的金融应用，这是跨链技术的未来方向。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a0287b9232b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>