'Bring User-Friendly Blockchain Experience to Millions' — Klaytn Orientation Highlights

2019-10-10 08:28:46 · 2808 views · 5 min read

Dapp.com Dev Community had a fantastic orientation session with our honored guests from Klaytn, the blockchain subsidiary of Korea’s largest mobile platform, Kakao — Eric Kim, Developer Evangelist, Joven Park, Senior Brand Marketing Manager. 


Eric and Joven spared some time with us in our Telegram group to answer all the questions from thousands of developers. Almost everything imaginable was covered from enterprise-grade, service-centric platform — Klaytn to $1M Prize Pool Klaytn Horizon competition, from building Klaytn BApp without smart contract to the future plans and beyond. We even talked about Klaytn vs. Ethererum. 


Below are the highlights of the online orientation, just in case you missed it. 


Klaytn Overview — Everything you need to know about this service-centric blockchain that focuses on empowering businesses and entrepreneurs

What is Klaytn? 

Joven: Klaytn is Kakao’s global public blockchain project, an enterprise-grade, service-centric platform that brings user-friendly blockchain experience to millions. 


Why you should choose Klaytn to build your next dapp on? 

1. High Performance

Klaytn mainnet Cypress can provide a high throughput of 4,000 transactions per second with a 1-second block generation interval. 


2. Secure Scalable Consensus Mechanism

Cypress achieves fast finality by adopting and improving Istanbul BFT Consensus Mechanism. It runs BFT on a chosen Committee to achieve fast, efficient consensus, and GC can securely scale without impacting throughput.


3. Ready for the mass adoption

We have members of the Governance Council that make the decision to keep our ecosystem more legit, compared to other platforms. Such as not promoting gambling BApps but more incentive programs for BApps that strengthen our ecosystem. 


4. Klaytn will pay your transaction fees

For those who want to submit a project for Klaytn Horizon, we have such a program / scheme called “Fee Delegation”, which means Klaytn will pay your transaction fees. Once you submit your project, we will send an email with a pair of fee delegation account address and its private key.


Make sure you use the fee delegation mechanism as explained in Klaytn Docs. For example, you can deploy contracts using fee delegation as described here


5. More incentive programs for developers: PoC and KIR

PoC (Proof of Contribution) and KIR ((Klaytn Improvement Reserve) basically our incentive programs for developers. 


PoC is designed to compensate all participants in the Klaytn token economy that makes meaningful contributions, and KIR proposals can be created by any participant in Klaytn’s ecosystem. 


6. Develop BApps without the smart contract 

Blockchain-based apps do not always require smart contracts. Remember the days we built applications on top of Bitcoin? Although it is significant that smart contracts enable us to create immutable programs, the real significance lies in the states maintained by contracts. That is, it is still possible to build BApps out of transactions where each transaction contains a segment of data that is meant to be stored permanently. 


For example, imagine you are building an application which is designed to aggregate events and record. You can store events in your local database. However, what if someone asks about the integrity of the data sitting on the database controlled by you? What if someone is curious about whether the data has been changed since? Recording events in a blockchain can alleviate those concerns but that can be very costly (depends on what events you are dealing with). Even storing hashes of events can cost you hundreds of dollars every day, if not every hour. If storing events can happen intermittently, you can build a Merkle tree out of events collected for N minutes. N can be 10 or 60 — that's up to you. Now we only care about 32-byte Merkle tree root because that is the only data that has to go in a blockchain to convince the others (plus some metadata if you want to make sure). Building an application like this does not require a smart contract. Having one definitely does not hurt, but it is not mandatory.


Note that this approach requires applications to equip a special mechanism to validate transactions and restore states.


More about the Cypress: Smart Contracts, Consensus Algorithm or VBM? 

Joven: Cypress is Klaytn mainnet's nickname. We have 3 independent networks: Aspen (private test), Baobab (public test), and Cypress (main). Cypress is our mainnet which was launched last June with improvements in stability and performance.


Eric: Testnet is maintained by Klaytn and you can obtain testnet KLAY for free from the KLAY faucet. It's equivalent to Ethereum testnet such as Kovan and Ropsten. Mainnet is literally the mainnet of Klaytn. CCOs run nodes to generate blocks by running a consensus among them.

For development purposes, we recommend using testnet since it's easier for you to get KLAY for testing purposes (and it's free).


The Ultimate Klaytn vs. Ethereum

Joven: The biggest difference between Klaytn and Ethereum is that Klaytn combines the best features of both public blockchains (decentralized data & control, distributed governance) and private blockchains (low latency, high scalability) via an efficient 'hybrid' design. 

Klaytn believes in order to achieve the mass-adoption of blockchain technology across industries, total decentralization isn’t always the best option.


How you resolve PBFT algorithm’s latency issue while the Internet is unsteady?

Joven: Since PBFT requires a synchronized network, it is important to keep all nodes connected. However, because the Internet is unreliable, such is extremely difficult to achieve, especially when there are many nodes.


Klaytn solves this problem from two different perspectives: (1) only a subset of the network is required to run consensus using PBFT, and (2) establish a well-connected network among Core Cells.


The former has already been addressed in our position paper. Simply put, for each block, the Klaytn blockchain chooses a relatively small random subset to decide a block. This way, we do not need to synchronize the entire network; only those who get selected need to be connected. This is, indeed, relatively easier to achieve.


Failing to achieve network connection will lead to degradation of blockchain quality and users may experience delayed responses due to block round failures. As we value UX, we make our best effort to avoid such. One of the reasons we invite large enterprises as Core Cell Operators (a.k.a. CCO) is to establish a well connected, stable network. We expect their resources and experiences in the tech industry to add value to Klaytn. In the meantime, we recommend our CCO's to run their nodes on Amazon Web Service (AWS) for the time being as AWS provides solid infrastructure. We are currently running Cypress with 23 nodes where nodes are deployed to different regions, and the result shows we can handle 4,000 TPS while maintaining a 1-second block interval.


How does the VRF function work and how does Klaytn scale?

Joven: Verifiable Random Function works quite similarly as asymmetric cryptography. Given a private key, one can generate a random value by running VRF that can be verified by a matching public key. Since providing details about how VRF works is beyond the scope of this session, here's a link to a VRF implementation provided by CONIKS group.


Get started now with Klaytn SDK

Eric: Currently, Klaytn provides 2 SDKs: caver-js, caver-java. If you are familiar with Javascript programming or Web3 (which is great), you are good to go. Please follow the instruction and documents here


About the Klaytn Horizon Competition and $1 Million Prize

More than the money that motivates you to participate in Klaytn Horizon

Joven: Klaytn Horizon is the blockchain application competition, held by Klaytn officially. We want to make our ecosystem stronger and seeks potential BApps (blockchain apps) running on our platform. Your project submission ends on Oct. 31st. For more details please check here.


My project is not using a smart contract. How can my project be evaluated? 

Joven: Your project does not necessarily have to use smart contracts to be qualified as a contestant for Klaytn Horizon. Simply using KLAY as a means of value transfer or payment alone qualifies projects as candidate BApps for Klaytn Horizon.

About Klaytn’s Future and Beyond

Will Klaytn be going to decentralize its currently centralized enterprise proxy?

Joven: An Enterprise Proxy (EP) instance is centralized because it serves whoever running the proxy. The job of the EP is to help traditional businesses adopt blockchain. It functions as a layer in between legacy systems and blockchain technology. Thus, by nature, an EP instance belongs to and serves a single service (e.g. a game studio). It's helpful to understand if you imagine SalesForce builds an EP instance to deliver data points from their existing CRM solutions to Klaytn.


One feature that EP planned to provide is fee delegation, which is now a part of Klaytn protocol and therefore completely decentralized. Anyone can pay fees on behalf of the other by signing his or her transaction provided that the transaction indicates the correct type.


Will Klaytn develop add-on like Metamask or any Android / iOS wallet for users to use in the future?

Joven: Yes, we will. In fact, we are actively developing them now.


What is your plan for UX for mass adoption, especially for those non-crypto users?

Joven: In my opinion, mass adoption of technology can happen if that technology is (1) easy to use and (2) provides clear utility. Blockchain's immutability and transparency can add value to many applications. Though we haven't seen a killer application so far (other than 'money'), I hope we can see a tangible application that can attract non-crypto users soon. I personally think this is not a problem that a platform can solve. That is why we have partnered with over 50 BApp providers globally and launch campaigns like Klaytn Horizon. I would love to invite developers and communities to onboard Klaytn to build a killer BApp.


The ease of use, on the other hand, is something Klaytn can tackle. For a starter, we plan to ship our own wallet — Klip — to 50M KakaoTalk messenger users, seamlessly introducing crypto wallets to non-crypto users.


What are your future plans? 

Joven: Klaytn wants to bring blockchain technology closer to our daily lives. So far, blockchain is only known by very limited numbers of people, especially in end-users’ perspectives. We expect widespread of this technology across various industries rather than just a technology behind cryptocurrency. KlaytnPhone could be the very first step in bringing blockchain tech. into our daily lives.


In terms of growing our ecosystem, Klaytn already has 51 service partners from 15 different countries. Klaytn seeks for a legit / top business partner all over the world. Expect more services providers (partners) join our ecosystem and make it stronger. Visit our official website (partners page) for details.



You may reach out to all the folks from Klaytn by tagging them in our telegram channel — @w3kim | Eric Kim and @jovpk09 | Joven Park. Also, here’re the Klaytn’s Telegram channel.


If you’d like to participate in our future campaigns, AMA and all the dev’s latest news with thousands of Dapp developers, you’re more than welcome to join Dapp.com Dev Community Discord and Dapp.com Dev Community Telegram.

Comments Write Comment
Currently there are no comments for this article. Would you like to be the first to write one?