卡达诺的侧链和状态通道

在区块链技术的世界里,“侧链 “是指你将一个区块链网络以父子关系连接到另一个区块链网络。被指定为 “孩子 “的区块链是侧链。父方通常被称为 “主链”、“第一层 “或 “基础链”。侧链可以提供主链所不具备的功能,如更快的速度,潜在的更便宜或免费的交易,或运行最初为其他区块链网络制作的DApps。这就像你16岁的孩子被指定处理家里所有的电脑东西,因为爸爸妈妈无法跟上不断变化的技术和界面。

在比特币网络中,有一个流行的侧链,叫做Liquid。液体为比特币交易提供强大的安全性和更快的处理。所有的液体比特币都与比特币主网的实际比特币挂钩,但液体比特币可以在侧链上移动,换手很多很多次,而不必与速度较慢的比特币主网互动。 在Liquid上,这些交易不仅更快,而且更便宜。当用户准备好了,他们可以在主网上将液体比特币转换回普通比特币。在向你的朋友发送50美元的时候,不需要Liquid侧链,但对于进行持续、大量交易的交易者来说,它非常有用。

DC Spark的好人们正在建立一个名为Milkomeda的侧链。当推出时,Milkomeda将允许以太坊智能合约与Cardano互动,而无需重写以太坊的代码。大多数侧链使用自己的分类账和代币系统;Milkomeda正在做一些不同的事情。由于他们正在建立专门与Cardano链接的功能,Milkomeda将使用Cardano的ADA作为支付费用的货币。这很新颖,也很酷!

侧链允许开发者扩展区块链网络能做的事情,但创建一个区块链网络不是小事!这就像创建你自己的小东西。这就像创造你自己的小区块链一样,需要所有的软件开发和服务器访问来完成这项工作。 为了使这些类型的项目更容易和更容易获得,Cardano用户将有机会使用一个新的工具,称为状态通道。它们的功能类似于侧链,即交易将在一组较小的服务器之间进行,而不是在主要的Cardano服务器网络中进行。因此,翻译将快得多。这些状态通道将能够每秒处理1000笔交易(TPS),而Cardano主网只能做大约300TPS。

状态通道目前还不能使用,但当它们出现时,其概念是,当两方或多方简单地同意 “形成一个 “时,它们可以被创建。然后,Cardano将在两方之间建立一个直接的连接,这些部分可以设置任何他们想设置的交易费用,甚至可以免费。一旦连接起来,通道中的各方就可以开始相互交流。在这一过程中,Cardano将保证没有钱会丢失,你不能凭空创造额外的钱。 在任何时候,其中一方都可以选择退出该通道。当这种情况发生时,Cardano将打破通道,并将所有的交易细节转移到主链上。如果这些通道运行了很长时间,Cardano也会定期创建快照并将其保存到主链上。

与Milkomeda、Liquid和目前存在的几乎所有其他侧链不同,你不必编写新代码来使用Cardano状态通道。你可以在创建交易时简单地选择进入一个。这就是为什么Cardano “轻侧链 “的全称是。“Hydra: Fast Isomorphic State Channels”。计算机科学中的同构编程是指你可以采取相同的代码,并在两个不同的背景下运行,而这些背景是相互挂钩的。这是如此强大,以至于Cardano本身可能会建立一些 “永远在线 “的状态通道,并使用它们来处理某些类型的一般转换,以保持整个网络的嗡嗡声。

Cardano上的侧链将是整个区块链行业中最灵活、最强大、最安全的一些。 在Cardano寻求公司、城市和国家的采用时,这将是非常重要的!通常情况下,当公众被引入新的技术时,它伴随着一些采用的痛苦,笨重和瓶颈。 Cardano的定位是防止这种情况,因此,作为日常用户,我们将在区块链上获得我们的数据的好处、安全和自我监护,而不必失去头发,或折磨我们16岁的孩子。

在您的收件箱中获得更多类似的文章

Was the article useful?

Or leave comment
Share
Commenter avatar

Very well said and I for one now feel smarter knowing what isomorphic said:-) but seriously this will be a game changing moment for us and it doesnt seem that far away

avatar
You can use Markdown
Commenter avatar

So will the side chains be built on top of the Hydra nodes? Side chains alone would aim to do what Hydra currently aims to do, am I right? Obviously side chains would also allow for the Ethereum D-apps to flow smoothly, but as far as native cardano D-apps I think the side chains would be better built on Hydra nodes. Thoughts?

Darlington Kofa avatar
Darlington Kofa

So will the side chains be built on top of the Hydra nodes?
They can be but not required. One big thematic difference with the Cardano technology is that things are not homogeneously top-down. When it comes to side chains, Cardano will support a very wide mix of “side” technologies. Hydra is just one technology that is going make it easy for creating side chains that only cares about fast and sometimes free transactions. For example game developers can use it for in game trades that are almost free and only settling on the main Cardano network once a day, or once or week or something like that. Thanks to Hydra as a game developer building on Cardano, you won’t have to start from scratch and can just use Hydra. But if speed and almost free transaction is not the problem you’re trying to solve, Hydra would not be able to help you with that.

DC Spark M1 side chain for example is a complete different stack that will let developers port over their Ethereum D-apps to Cardano.

IOG themselves is planning to release a side-chain powered by IELA that will let you build D-apps using general purpose programming languages (like typescript, Java, C#, etc).

Great question, thanks for posting!

avatar
You can use Markdown
avatar
You can use Markdown
close

Playlist

  • EP2: epoch_length

    Authored by: Darlington Kofa

    3分钟24秒
    Darlington Kofa
  • EP1: 'd' parameter

    Authored by: Darlington Kofa

    4分钟3秒
    Darlington Kofa
  • EP3: key_deposit

    Authored by: Darlington Kofa

    3分钟48秒
    Darlington Kofa
  • EP4: epoch_no

    Authored by: Darlington Kofa

    2分钟16秒
    Darlington Kofa
  • EP5: max_block_size

    Authored by: Darlington Kofa

    3分钟14秒
    Darlington Kofa
  • EP6: pool_deposit

    Authored by: Darlington Kofa

    3分钟19秒
    Darlington Kofa
  • EP7: max_tx_size

    Authored by: Darlington Kofa

    4分钟59秒
    Darlington Kofa
0:00
/
~0:00