上周在币乎闲逛的时候,看到这么一篇讲超苦逼(注:代指CKB)的文章,里面提到一个点:为什么要用CKB?
Last week, when I was hanging around with the coins, I saw an article about the CKB, which mentioned a point: Why use the CKB?
作者是这么说的:
That's what the author says:
可以自定义密码学算法
Can customise cryptography algorithms
可自定义资产解锁逻辑
Customized asset unlocking logic
面向长远的设计
Long-term design
这个说法我相信大家或多或少地听说过,但对于大多数人来说,仍旧对此一知半解,到底啥是密码学算法?啥是自定义资产解锁逻辑?面向长远有多远?
I'm sure you've heard of it more or less, but for most people it's still half-crypt. What is the cryptography algorithm? What is the self-defined asset unlocking logic? How far is it?
秉着拯救世界的原则,我找到了Williams,在一番长达半小时的热情友好的交流下,我预计用两篇文章的篇幅,来跟大家唠唠超苦逼何德何能让我们看好。
In keeping with the principle of saving the world, I have found Williams, and, with a half-hour of warm and friendly exchanges, I expect to use two pages to talk to everyone about what we can see.
本篇先讲前两点,不是我不懂嗷,只是我忙,大家懂得都懂。
It's not that I don't understand the first two points, but I'm busy and everyone understands.
?
01
众所周知,不同的公链,诸如大饼,大姨太,它们的解锁需要用什么签名算法和哈希来验证是锁死的,除非硬分叉,不然是没办法支持新的。
It is well known that different public chains, such as pies, aunties, and what signature algorithms and Hash are required to unlock them to verify that they are locked to death, can't support new ones unless they are hard fork.
怎么理解“锁死”呢?
What do you mean, "lock to death"?
很简单,比方说,你的老公想要一个男孩,而你生出来一个女孩,当你生下来这个女孩的那一刻起,就意味着,性别是“锁死的”,那么实在是想要男孩,该怎么办呢?我这边提供两个方案,一是重新生一个,也就是重新做一条你想要的解锁方法的公链,二就是将这个女孩子变性,也就是硬分叉。
It's simple, for example, that your husband wants a boy, and you give birth to a girl, and when you give birth to a girl, it means that sex is locked to death. So what do you really want a boy to do? I'll give you two options, one of which is to recreate a public chain that you want to unlock, and the other of which is to transform the girl, which is hard fork.
而超苦逼就不一样了,nervos上地址的验证规则和要使用什么密码学原语都可以验证通过,本质上是一个智能合约。
And it's not the same thing if the address on the Nervos is authenticated by the code-based rules and the code-based language to be used. It's essentially an intelligent contract.
怎么理解呢?
How do you understand that?
很简单,你的孩子给ta穿上裙子就是女孩子,给ta穿上大裤衩人字拖就是男孩子,随你所想,更随你所需。
It's simple that your child is a girl in a dress, and a boy in a pair of pants, whatever you want.
?
这就是自定义密码学算法。
This is the custom cryptography algorithm.
自定义资产解锁逻辑,通俗易懂的来说,就是钥匙的区别。
Customally defined asset unlocking logic, in general, is the difference between a key.
比方说,大饼就是靠钥匙解锁,大姨太就是用密码锁,而这些东西,是与生俱来的,当他们被造出来的时候,就意味着不能更改锁的种类,只能更改密码或者锁芯。
For example, the big cakes are unlocked by the key, the great aunts are locked by a code, and these things are innate, and when they are made, they mean that the type of lock cannot be changed, and only the password or the lock core can be changed.
这就导致了一个问题的出现,更高程度的安全性就需要更加复杂的锁,但是更加复杂的锁就意味着你使用起来越麻烦。
This leads to a problem where a higher degree of security requires a more sophisticated lock, but a more sophisticated lock means you're having trouble using it.
反之也是成立的,安全性和便利性就需要我们去取舍。
On the other hand, safety and convenience require a trade-off.
但是对于如大饼,大姨太来说,他们的取舍是不可逆的。在需要快捷简便地使用一条公链的时候,可能遇上麻烦的解锁方式,而需要高安全性来保护一条公链上的资产的时候,又可能太过于简单以致于安全性得不到保障。简单来说,就是好的不便宜,便宜的又不够好。
But their trade-offs are unreversible in the case of pies. When a public chain is needed quickly and easily, it may be difficult to unlock, and when a high level of security is needed to protect the assets in a public chain, it may be too simple to be safe. In short, good is not cheap and cheap is not good enough.
超苦逼就提供了一个很好的解决方案,甚至能不断改进。简单讲,超苦逼能由用户来决定用什么样子的锁,并可以视使用场景来选择。比如你的保险箱里存着重要的存折房本等,就需要更高级更安全的解锁方式,甚至舍弃一部分便捷性;但对于家里的阳台门来讲,为了出入方便,锁还是尽量选择能容易打开的。
Overcrowding provides a good solution, and it can even be improved. Simply put, the overcrowding is left to the user to decide what kind of locks to use, and it can be selected by using the scene. For example, having important folders in your safe will require a more advanced and safer way of unlocking, or even some of them easily; but for the balcony door in the house, the lock will be as easy to open as possible for ease of access.
到了这个地方,大多数科普解释应该就可以收尾了,但是我就不一样了,毕竟有一个问来问去不要钱的Williams,在我头脑风暴下,我想出了一系列奇奇怪怪的问题,在这也作为合情推理,给大家讲讲长远(其实不远)能做什么。
When we get to this place, most Cope explains that it should be over, but I'm not the same. After all, there's a Williams asking for no money, and in a storm of my mind, I've come up with a series of strange and strange questions, and in this case, it's a reason to tell you what can be done in the long run.
02
验证解锁听起来高大上,但究其根本,实际上就是确认身份的过程。你是不是你?你可以用身份证,可以用医保卡,可以用户口本来证明,就这么简单。
Verifying the unlocks sounds big, but basically it's actually the identification process. Are you? You can use an ID card, a health card, a user's mouth, that's it.
推而广之,一切可行的合乎逻辑的验证方式,都能用于超苦逼的验证解锁。而日常生活中,就拿陪伴我们最久的手机来说,手机能如何确认我们的身份呢?Face ID,指纹都可以。而这些也能用于超苦逼的解锁,demo据说已经有了。
By extension, any logical means of verification that is feasible can be used to verify the locks. In everyday life, how can a mobile phone identify us with our longest-standing cell phone? Face ID, fingerprints. These can also be used to unlock the locks of the dogs, and Demo is said to have them.
更值得期待的是,多重验证解锁也能实现,就像你在交易所提币的时候,它通常要求你短信验证码加邮件验证码的方式来确认交易。而且在超苦逼上面,是由你来自主定义的解锁方式。
What is even more promising is that multiple authentication unlocks can be achieved, just as when you deal with the currency you usually ask you to confirm the transaction by text code plus mail code. And on top of that, it's the way you're unlocked from the main definition.
再举个栗子,每个人的电子护照无论在哪个国家读取,机器能够快速识别的你国籍。这和我们有什么关系呢?其实关系还挺大的,比方说,coinlist。如果你参加过coinlist上面的项目,你就知道,大多数的项目都对kyc合规有着近乎严苛的要求,根据不知道从哪里来的法律规定了一部分国家的公民不能参与该项目,以致于在币圈里面,coinlist 的kyc验证已经成为了一条产业链。
If you've been on a coinlist project, you know that most of the projects have almost stringent requirements for compliance with kyc, so that citizens of a part of the country are unable to participate in the project under laws that don't know where they come from, so that in the currency circle, the coinlist's kyc certification has become an industrial chain.
我们大胆的设想一下,通过多元的验证方式,在超苦逼上确认了你的身份,然后来参加coinlist上面的项目,这比原本的全英文填表,手持身份证拍照,上传,焦虑地等待,是不是方便了几个数量级?
How many orders of magnitude would it be easier for us to think that, through a multiplicity of verifications, you'd be identified on an over-crowded basis and then take part in the coinlist project, which is more than the original English-language forms, hand-held IDs, uploading, anxiously waiting?
不仅如此,对于很多小项目来说,他们本身是希望合法合规的,但是由于没有资源和经费,这时候如果技术支持链上合规,那么很多小型微创项目能够受惠。
Moreover, for many small projects, they themselves wished to comply legally, but in the absence of resources and funding, many small microprojects could benefit from compliance in the technical support chain at that time.
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论