楊霖演講實錄∣從模組化架構到跨鏈生態,NULS這一年下了一盤怎麼樣的棋
9月11日,NULS韓國大型交流會在首爾CONRAD酒店隆重舉行,NULS核心團隊CEO Liesa Huang、NULS核心程式碼貢獻者楊霖、NULS社群運營負責人冉小波、NULS韓國地區代表Isaac Kim,以及NULS韓國顧問Andy Chae出席了會議。此次交流會由韓國電視臺KBS知名主持人Kim Ji Hyo主持,會議內容包括了主題為【“造鏈專家”——NULS的跨鏈與價值流通解決方案】的分享,以及HENA、JYA、VICS和PRISM等計劃搭建在NULS生態上的專案的介紹。此外,NULS生態專案Superlinks也派代表出席了本次會議。
下面是NUL核心程式碼貢獻者楊霖9月11日在NULS韓國交流會的演講實錄。 NULS Core Developer Yang Lin’s speech at NULS Korea Conference on Sept 11th.
大家好,我是NULS核心開發楊霖。很高興今天有機會和大家分享一些NULS的技術想法。我今天要分享的主題是“造鏈專家”————NULS的跨鏈與價值流通解決方案。 Hello everyone. I am Yang Lin, the core developer of NULS. I am very glad to have the opportunity to share some of the technical ideas of NULS. The topic that I want to share today is “chain-building expert: NULS’s solution for cross-chain and value circulation”.
NULS是一個從去年9月建立的全球開源專案,主網於今年7月正式上線,目前已經上線了20多家交易所,也會在今年登陸韓國交易所。目前NULS也有多家合作伙伴,包括今天與我們聯合主辦的HENA、JYA、VICS。我們正在構建一個全球化的運營體系,核心團隊已經有全球5大地區和國家的50位小夥伴加入,其中程式設計師開發小夥伴有超過25位。 NULS is a global open-source project established in September, 2017. The main-net was officially launched in July, 2018. NULS has already been listed on more than 20 exchanges and will also be listed on a Korean Exchange this year. At the present, NULS also has a number of partners, including HERA, JYA, and VICS who are jointly sponsoring with us today. We are building a global operating system. The core team has had 50 members in five different countries, and there are more than 25 programmers in it.
進入分享主題NULS————“造鏈專家”。說起造鏈,先分析一下我們的現狀。在過去的一年多時間裡,有超過30家企業和個人找到我們,要求我們為其開發一條他們自己的鏈,當然基本上都被我們拒絕了,因為我們清楚的認識到,鏈的需求增長將迎來爆發式的增長,我們力求於解決更多人的需求。當前的企業要擁有一條自己的區塊鏈,其路徑是組建一支技術團隊,自己開發或者二次開發一套區塊鏈底層系統,或者尋求專業的區塊鏈團隊進行技術外包。無疑會面臨區塊鏈人才難招、成本高昂、週期長、開發的底層有漏洞導致風險巨大的困境;我們NULS團隊提出的解決方案是,底層直接使用專業的區塊鏈公司開發的組建,企業專注於開發自己應用層的業務邏輯。因為企業基本都有自己的技術團隊,其技術團隊不需要關注區塊鏈底層的實現邏輯,全身心的投入區塊鏈上層應用的創新。 Let’s start to talk about NULS, the chain-building expert. Speaking of chain building, let’s first analyze our current situation. In the past year or so, more than 30 companies and individuals reached us and asked if we can develop a blockchain of their own. We refused almost all of them, because we clearly understand that the growth of demand for the blockchain will usher in explosive growth, and we strive to solve the needs of more people. To have its own blockchain, the current enterprise has to form a technical team to develop or redevelop a blockchain underlying system, or seek a professional blockchain team for technology outsourcing. Undoubtedly, it will face difficulties in hiring blockchain talents, high cost, long cycle, and the underlying vulnerability of the development, which leads to huge risks. The solution proposed by our NULS team is that the base layer is directly developed by the professional blockchain company, and the enterprise focuses on developing the business logic of its own application layer. The enterprise certainly has its own technical team, and it doesn’t need to pay close attention to the implementation logic of the base-layer blockchain but fully contributes to the innovation of the upper layer of the blockchain application.
我認為,隨著區塊鏈行業的逐漸成熟與細分,分工方式將進入區塊鏈領域的垂直分工階段。何謂區塊鏈領域的垂直分工,我們回顧一下,最初的軟體和網際網路產品是一個怎麼樣的開發流程;在ASP時代,一個程式設計師承擔了資料庫設計,網站後臺開發,網頁前端開發等所有角色,後來進化到了網際網路的垂直分工時代,產生了DBA、後端開發、前端開發、測試、產品、UI設計等崗位。同樣的,進入區塊鏈垂直分工時代時,會產生加密演算法、共識演算法、分散式儲存、P2P網路等區塊鏈底層專業崗位,區塊鏈之上會產生區塊鏈產品經理、DAPP業務開發等應用層的專業崗位。NULS的模組化架構,將推動區塊鏈行業提前進入垂直分工時代。 I believe that with the gradual maturity and subdivision of the blockchain industry, we will enter the vertical division of labor in the blockchain field. What is the vertical division of labor in blockchain? Let’s review how the original software and Internet products were developed. In the ASP era, a programmer undertook all the roles of database design, website back-end development, web front-end development, etc. Later in the vertical division of labor in the Internet, DBA, back-end developer, front-end developer, tester, product manager, UI designer and other positions are generated. Similarly, when entering the era of vertical division of labor in the blockchain, it will generate the base-level professional positions in areas such encryption algorithms, consensus algorithms, distributed storage, and P2P networks. Above the base-level blockchain, there will be professional positions in the application layer such as blockchain product manager and DAPP business developer. The modular architecture of NULS will push the blockchain industry into the era of vertical division of labor in advance.
可能大家對NULS印象最深的就是NULS的模組化架構。的確模組是NULS整個生態中最基礎的部分。我們的目標是建立一個涵蓋80%區塊鏈底層技術的區塊鏈模組倉庫,方便開發者直接利用模組倉庫開發更多創新的功能。目前NULS團隊正在構建一個全新的NULS架構,新的架構將使NULS的模組能獨立執行,模組之間低耦合的利用標準定義的介面進行互動。屆時開發者將不再受限於區塊鏈系統本身所使用的開發語言,任何開發者,只需遵守NULS模組的標準,既可使用自己擅長的開發語言,開發自己所需的功能模組,為NULS的模組倉庫提供更多的基礎模組和業務模組。 According to many, perhaps the most impressive thing about NULS is the modular architecture. Indeed, modules are the most fundamental part of the entire NULS ecology. Our goal is to create a blockchain module repository that covers 80% of technologies in the blockchain field, making it easy for developers to develop more innovative features. The NULS team is currently building a new NULS architecture that will allow NULS modules to run independently, with low-coupling among modules interacting with defined standard interfaces. Developers will no longer be limited by the programming language used by the blockchain system itself. Any developer who follows the standards of NULS modules can develop his/her own functional module by using language he/she is most familiar with, which will provide more basic modules and business modules for NULS module repository.
基於模組倉庫,NULS會在今年推出一款殺手級的造鏈產品“鏈工廠”。如果開發者很清楚自己開發的鏈的引數,比如共識機制、代幣總量等配置,我們希望做到4個步驟,可以讓一個對區塊鏈底層不甚瞭解的開發者,幾分鐘內擁有一條自己的公鏈(當然開發聯盟鏈和私鏈也是可以的)。第一步選擇自己所需要的模組,第二步配置系統引數,第三步下載系統完整的執行包,第四步部署系統。開發者只需要在模組倉庫中選擇自己需要的模組,進行引數配置後就可以構架一條初始的區塊鏈。我們也會提供執行初始節點的服務供開發者選擇,極大的剪短了目前公鏈開發少則半年多則1年的耗時。 Based on the module repository, NULS will launch the flagship product of “Chain Factory” this year. If the developer fully understands the parameters of the chain he is developing, such as the consensus mechanism and the total amount of tokens, we hope by these four steps such developer with little knowledge of base-layer blockchain can have his own public chain in a few minutes (of course, it is possible to develop a consortium chain or a private chain). The first step is to select the modules needed; the second step is to configure the system parameters; the third step is to download the complete operation package of the system; the fourth step is to deploy the system. Developers only need to select the modules they need in the module repository and build the initial blockchain after parameter configuration. We will also provide services to operate initial node for the developers, which will greatly shorten the current development life cycle on public chain for half a year to one year.
NULS“鏈工廠”四步搭鏈 選擇所需模組>配置系統引數>獲得系統完整的執行包>部署系統
並且使用鏈工廠開發的鏈是高度可定製的,可以選擇自己的加密演算法,共識模組,儲存機制等。我們也會鼓勵技術社群和合作夥伴貢獻更多基礎模組和行業標準業務模組加入模組倉庫,極大減少行業的資源浪費。因為使用鏈工廠開發的鏈的基礎就是NULS這條鏈,NULS網路的任何迭代更新都會被鏈工廠同步,這樣鏈的資產安全,系統安全風險也大大降低了。 Also, the chain developed by the Chain Factory is quite customized. You can choose your own encryption algorithm, consensus module, storage method, etc. We also encourage technical community and partners to contribute more basic modules and industry-standard business modules to the module repository, thus greatly reducing the waste of resources in the industry. Chains developed by the Chain Factory is based on the NULS main chain. All the iterative updates of the NULS network are synchronized by the Chain Factory, so that the chain’s asset security and system security risks are greatly reduced.
在使用鏈工廠搭建區塊鏈的時候,每條鏈都可以選擇跨鏈模組。因為所有配搭跨鏈模組的鏈,只要在NULS生態下的衛星鏈中登記,就可以在NULS生態下任一配搭跨鏈模組的鏈進行資產互動流通,形成一個真正的資產流通的強相關的大生態。 When building a blockchain using Chain Factory, each chain can choose a cross-chain module. As long as they are registered in the satellite-chain of NULS, all the chains can execute asset exchange and circulation activities with any chain deploying cross-chain module under the NULS ecology, thus forming a powerful ecological relationship with strong asset circulation.
模組>模組倉庫>鏈工廠>跨鏈生態
NULS跨鏈解決方案的核心在於衛星鏈,顧名思義,衛星充當的是通訊連線訊號中轉的作用,衛星鏈充當類似的角色,連線各個鏈和價值中轉的橋樑;利用NULS鏈工廠搭建的鏈,配合跨鏈模組即可實現與衛星鏈連線,價值在任意鏈中流轉;同時NULS也會和比特幣,BCH,以太坊利用跨鏈協議轉換器進行跨鏈互動,讓NULS生態,從技術上形成海納百川的開放生態基礎。 The core of the NULS cross-chain solution lies in the satellite-chain. As the name implies, the satellite is a relay for communication connection signals. The satellite-chain acts a similar role, connecting various chains and bridges for value exchange; chains built by the NULS Chain Factory can be connected to the satellite-chain using the cross-chain module, and the value flows in any chain; at the same time, NULS will also interact with Bitcoin, BCH and Ethereum using cross-chain protocol converters to technologically make the NULS ecology form an open ecological foundation.
從2017年9月提出的模組化構架,到今天和大家分享的跨鏈價值流通生態的想法,NULS這一年來始終始終堅持初心,不管這個行業如何嘈雜,始終堅持探索一條幫助更多人最簡單使用區塊鏈的道路。正是小夥伴一直在突破各個難點,才有了從模組到模組倉庫,從模組倉庫到鏈工廠這樣的產品推進。正是我們一直堅持生態的開放性,所以才會有跨鏈價值流通生態的解決方案。雖然我是一名開發,但是我一直認為區塊鏈就是一個價值主導的世界。你堅持的是什麼,你的技術解決方案都會透露出你的堅持。我從2016年開始就選擇在區塊鏈這樣行業深耕,因為我相信世界需要區塊鏈,我們核心團隊的小夥伴也都堅信一個和區塊鏈高度結合的世界是一個更美好的世界,如果我們所做的能讓世界更瞭解區塊鏈,我覺得我們所有通宵熬夜寫的程式碼都是值得的。非常感謝大家,感謝Isaac組織了這麼好的大會。感謝HENA JYA VICS PRISM SUPERLINKS選擇在NULS上搭建自己的區塊鏈專案。我為自己是NULS的一員感到驕傲。 From the modular architecture proposed in September 2017 to the idea of cross-chain value circulation ecology that I shared with you today, NULS has always insisted on its original vision. No matter how dissonant the industry has become, NULS always sticks to a path that helps more people use blockchain in the easiest way. The team members have been breaking through the difficulties, and have made the progress from single module to module repository, and from module repository to Chain Factory. We have always adhered to the openness of the ecology, so we have proposed a solution for the cross-chain value circulation ecology. Although I am a developer, I always think that the blockchain is a world led by the value. Your technical solution will reveal what you insist on. I have chosen to work in the blockchain industry since 2016, because I believe the world needs blockchain. Our core team members are also convinced that a world that is highly integrated with the blockchain will be a better world. If what we do makes the world understand the blockchain a little more, I think all our efforts to work overnight are worthwhile. Thank you very much. Thank you, Isaac, for organizing such a wonderful conference. Thank HINA, JYA, VICS, PRISM and SUPERLINKS for choosing to build your own blockchain project on NULS. I am proud of being a member of NULS.
楊霖對大家最關心的兩個問題進行了詳細解答
Q1:為什麼NULS要全力做好鏈工廠? Why does NULS want to develop Chain Factory with all its strength?
楊霖:這個要從NULS最初的願景說起,NULS的願景就是讓區塊鏈更簡單,所以要實現這個願景,NULS提出了模組化和多鏈並行這兩個概念。模組化解決的是需求問題,多鏈並行解決的是實用性的問題。細化的說就是,通過模組化架構,豐富去中心化的功能和應用場景,讓更多有需要的人能夠直接使用成熟的區塊鏈底層功能,在有需要的時候能夠直接獲取而不是自己從頭開發;多鏈並行解決的是區塊鏈不能商用的效率問題,通過多鏈把多個應用拆分成多條獨立的鏈執行,甚至把一個應用下的多個業務場景拆分成多條鏈同時執行,以達到真正能夠商用的目的。基於這兩個核心概念之上,就衍生出了進一步的需求,多個模組形成一個功能非常豐富的模組倉庫,最終面向廣大使用者的時候,怎麼產品化讓使用者使用起來更方便;多條鏈相互之間的互動,形成了跨鏈協議的需求;總結起來就是,NULS要全力做好鏈工廠,其原因是秉承NULS初心,讓區塊鏈更簡單,讓區塊鏈儘早地進入人們的生活之中,這是我們一直堅持的方向;我相信這是對的方向,我們每一天的努力,都朝著這個方向在邁進。
Yang: We need to go back to NULS’s initial vision, which is to make blockchain simpler. In order to achieve this vision, NULS has came up with the concepts of modularization and multi-chain mechanism. Modularization solves the problems of requirements while multi-chain mechanism focuses on things more pratical. More precisely, modular design enriches the functions and application scenarios of decentralization, allowing people with demands to access mature base-level blockchain technology and utilize it directly instead of developing from scratch. Multi-chain mechanism solves the problem of blockchain’s low degree of commercialization. Using multi-chain to disassemble applications to multiple independently operating chains or even dissect business scenerios in one application to chains which operate independently, the blockchain technology is finally able to commercialize. Based on these two core concepts, further requirements emerge. We build a module repository with modules that have different functions, but we still need to make our product easy and convenient for users. Also, there will be interactions among multiple chains, thus creating the demand for cross-chain protocols. In all, NULS needs to develop Chain Factory in its full strength. This is because we stick to our initial vision to make blockchain simpler. We want blockchain to become part of people’s daily life. It has been our goal this whole time and I have faith in it. Every day, we work hard toward that direction.
Q2:NULS跨鏈最大的特色是什麼? What are the most special features of NULS cross-chain solution?
NULS的跨鏈是基於兩個層面的,第一層面是NULS生態內部的跨鏈,第二層面是NULS生態與外部生態的跨鏈; 那麼就從分兩個層面來分析,第一層面最大的特點就是,NULS定義好了跨鏈標準之後,NULS生態下的所有鏈就通過跨鏈協議天然打通了;一條全新的通過NULS鏈工廠生成的鏈,不再需要關注跨鏈方面的技術點,選擇跨鏈模組之後就能與其它所有的鏈互通;另外NULS跨鏈協議之中,還包含了鏈與鏈之間的業務互動協議,這就使得在設計一個應用的時候,能夠從架構上把一個龐大的應用拆分成不同的業務,使用不同的鏈來承載業務,並且通過業務互動介面進行互動; 第二個層面,NULS生態與外部生態的跨鏈,我們與BCH等其它專案有跨鏈技術交流與合作,我們希望通過成功的跨鏈案例,來對區塊鏈行業的跨鏈進行標準定義,甚至NULS生態的跨鏈解決方案可能反推行業建立跨鏈標準。 最後站在技術角度,NULS的跨鏈方案,秉承了利用密碼學來保證資產安全的行業慣例,資產的每一筆跨鏈流通都在衛星鏈中有記載,這樣不管目標鏈是否是一條惡意的鏈,都能保證資產的安全。
Yang: NULS cross-chain solution includes two levels of contents: one is cross-chain within the NULS ecosystem, the other is cross-chain between the NULS ecosystem and the external environment. Let’s analyse based on that. About the first one: once NULS has defined cross-chain protocols, all blockchains in the NULS ecosystem are naturally “connected” through the protocols. A new blockchain created by NULS Chain Factory no longer needs to work on technical details. By simply choosing the cross-chain module, it is able to make connections with other chains. Besides, business interaction protocol is also included in the NULS cross-chain protocols. When developing an application, this design makes it possible to dissect huge apps from the architecture to small business operations and have multiple chains operate on them respectively. The second level: cross-chain between NULS ecosystem and the external environment. We have been communicating and collaborating with BCH and other projects with the cross-chain technology. We hope that by setting up successful cross-chain use cases, the blockchain industry standards in cross-chain can be defined. Possibly, the NULS cross-chain solution in the ecosystem will reversely push the industry to establish a cross-chain standard. At last, technologically NULS cross-chain solution is in accordance with the standard industry practice to use cryptography to secure the assets safety. Every cross-chain transaction is recorded by the satellite-chain so that the assets are secure even if the object-chain turns out to be mischievous.