自从区块链这一技术出现之后,其在市场上被追捧的火热程度可想而知,这也导致市场上出现了大量的区块链企业,更是出现了大量不同的链。今天,小编就要来说说其中一种称之为跨链技术。
Since the advent of the technology of block chains, the extent of the heat that they have received in the market can be imagined. This has also led to the emergence of a large number of block chain enterprises, and, more importantly, a large number of different chains. Today, the editor-in-chief is going to say that one of them is called cross-chain technology.
跨链,顾名思义,就是通过技术手段,能让价值跨过链与链之间的障碍,进行直接的流通。跨链本质上和货币兑换是一样的。跨链并没有改变每个区块链上的价值总额,只是不同的持有人之间进行了一个兑换。
Cross-chains, by definition, allow value to flow directly through barriers between chains and chains by technical means. Cross-chains are essentially the same as currency exchange. Cross-chains do not change the total value in each block chain, but only one exchange between different holders.
跨链,简单来说就是信息从一条链到另一条链。
Cross-links, simply speaking, are information from one chain to the other.
跨链是一个复杂的过程,需要链对链外的信息的获取与验证,需要节点有单独的验证能力等等。
Cross-linking is a complex process that requires access to and validation of information outside the chain, separate authentication capabilities at nodes, etc.
1、不同链上的资产交换,即原子交易。例如多中心的交易所,就因为无法跨链交易而体验差、速度慢,但中心化的交易所又无法达成不作恶的监督。
1 Exchanges of assets in different chains, i.e., atom trading. For example, multi-centre exchanges, which are not able to cross the chain, experience poor and slow, but central exchanges are not able to achieve non-viable surveillance.
2、多个场景打通的token互兑,部署在一条链上的应用需要支持来自其他链的token。打一个比方,如若网易系的应用上链,这些应用都在同一个链上,彼此积分可以互相兑换,网易音乐积分可用来在网易考拉电商上兑换商品,网易游戏的积分可以兑换网易阅读的图书等等。但是这些积分无法去兑换阿里系的商品与服务。
Token exchanges between multiple scenes and applications that are deployed in a chain support totoken from other chains. For example, if web-friendly applications are connected to the upper chain, these applications are all in the same chain and each other's scores can be exchanged, the Internet-friendly music credits can be used to exchange goods on the Internet-Icoola electric company, the Internet-friendly games credits can be converted into web-friendly books, and so on.
3、跨越多个区块链网络达成的智能合约。
3. Smart contracts across multi-block chain networks.
4、一条链上资产被抵押或者锁定,能否用于抵押另一条链上的商品与服务,这需要实现链之间的通信与确认。
4. Whether assets in one chain are encumbered or locked, and whether they can be used to encumber goods and services in another chain, requires communication and recognition between chains.
跨链技术主要有四种实现模式:公证人模式、侧链/中继、哈希锁定和分布式私钥控制等。
Cross-chain technologies have four main modes of realization: notary mode, side chain/relay, Hash locking and distributed private key control, etc.
& nbsp;
一、公证人模式
公证人模式(Notary schemes)是链与链之互相操作最简单的使用方法,由某个或某组受信任的团体来声明A链对B链上发生了某件事情。公证人模式中较为出名的应用是瑞波Interledger协议。
Interledger协议是在2012年由瑞波实验室提出的,通过第三方“连接器”或“验证器”将两个不同的区块链(记账系统)连接起来,使它们能够自由地兑换货币。在这个过程中,记账系统无需信任“连接器”,因为协议采用密码算法为这两个记账系统创建资金托管,当所有参与方对交易达成共识时,才可相互交易。
The Notary Schemes is the simplest way in which the chain interacts with each other, with a group of trusted groups declaring that the A chain has occurred on the B chain. The more famous application in the Notary Model is the Ribo Interledger protocol.
Interledger protocol, which was proposed by the Ribo Laboratory in 2012, created by a third party & ldquao; connector & & rdquao; or & & & ldquao; authenticator & & rdquao; connecting two different blocks (accounts system) to enable them to freely exchange currency. In this process, the bookkeeping system does not need to trust & ldquao; connector & & rdquao; because the agreement creates a financial trust for the two accounting systems by cryptographic algorithms, which can be traded with each other when all participants agree on the transaction.
二、侧链/中继
侧链也是一个区块链,它能够验证来自其它区块链的数据,能够实现比特币和其它资产在区块链之间互相转移,形成了一个全新开放的开发平台。前段时间很火的项目以太坊雷电网络就是采用的侧链技术。使用雷电网络的的参与者在互相转账时,不需要通过以太坊主链交易确认,而是通过参与者之间创建微支付通道在主链下完成。侧链的主要应用有:RSK、BTC Relay等。
Side chains are also block chains that validate data from other block chains, allow for the transfer of bitcoin and other assets between block chains, and form a completely new and open development platform. The active project in the previous period was the side-chain technology used by Taimin Thundernets. Participants using thunder power networks do not need to be identified through the main chain transaction, but rather through the creation of micro-payment channels between participants under the main chain. The main applications of the side chain are RSK, BTC Relay, etc.
前面我们已经谈到过侧链技术,想要了解更多的小伙伴,可以戳这里回顾。
We have already talked about the technology of the side chain, and we can look back here if we want to know more about the small partners.
三、哈希锁定
哈希锁定(Hash-locking)最早起源于闪电网络的HTLC(Hashed TimeLock Contract)。它是通过形成智能合约来保障任意两个人之间的转账都可以通过一条“支付”通道来实现,完成“中介”的角色。交易的双方通过智能合约,先冻结部分钱,并提供一个Hsah值。谁能在合约设置时间内匹配上Hash值,那么这部分冻结的钱就归谁了。
Hash-locking is the first HTLC (Hashed TimeLock Contracting) that originated in the lightning network. It is a smart contract that guarantees that transfers between two people can be made through an “ payment & & rdquo; access to complete & ldquo; intermediary & & rdquo; role. The parties to the transaction, through smart contracts, freeze part of the money and provide a Hsah value.
哈希锁定虽然实现了跨链资产的交换,大部分场景能够支持资产的抵押,但是没有实现跨链资产的转移,更不能实现跨链合约,所以它的应用场景相对受限。
While Hashi locked in the exchange of cross-chain assets and most of the scenes supported the encumbrance of assets, it did not achieve the transfer of cross-chain assets, much less the trans-chain contract, and its application was relatively limited.
四、分布式私钥控制
分布式私钥控制(Distributed private key control)是利用一个基于协议的内置资产模板,根据跨链交易信息部署新的智能合约创建新的资产。当一种已注册资产由原有链转移到跨链时,跨链节点会为用户在已有的合约中发放相应等值的代币。
Distributed private key control (distributed private key key control) is a protocol-based built-in asset template to deploy new smart contracts based on cross-chain transaction information. When a registered asset is transferred from the original chain to cross-chain, the cross-chain node issues the corresponding equivalent in the existing contract.
实现和解除分布式控制权管理的操作称为:锁入(Lock-in)和解锁(Lock-out)。锁入是对所有通过密钥控制的数字资产实现分布式控制权管理和资产映射的过程。这时需要委托去中心化的网络掌管用户的私钥,用户自己掌握跨链上那部分代理资产的私钥。当解锁时再将数字资产的控制权交还给所有者。分布式私钥控制主要的应用有:WanChain、FUSION等。
The operation of realization and release of distributed control management is called Lock-in and Lock-out. Locking is the process of distributional control management and asset mapping for all digital assets controlled by key. This requires a decentralized network to control the user’s private key, and the user owns the private key to that portion of the agent’s assets across the chain.
以上就是跨链是什么意思? 一文看懂什么是跨链技术的详细内容,更多关于跨链技术知识分享的资料请关注脚本之家其它相关文章!
What do you mean, cross-links?
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论