Celer Network MVP: The Most Advanced State Channel Full-Stack Solution

Celer Network
May 26, 2018 · 6 min read

After the initial release of our technical blog posts, we have received overwhelmingly positive responses. Lots of blockchain engineers are asking us about how and when they can build cApps to scale their blockchain application’s user base to millions.

Today, we are excited to release Celer Network’s full-stack MVP demo on Ethereum as an initial response to that question.

A Trust-free Off-chain Mobile Board Game

To demonstrate a wide range of features, we choose to showcase our first scalable off-chain mobile cApp: cGomoku, a Gomoku duel game.

Gomoku is traditionally played with Go pieces on a Go board. Players alternate turns placing a stone of their color on an empty intersection. The winner is the first player to form an unbroken chain of five stones horizontally, vertically, or diagonally. Gomoku has been played for thousands of years. — Wikipedia

Image for post
Image for post
“Tea and Duel” by Defu Hu

Traditionally, Gomoku duel game was like this: two players meet with a trusted elder (witness) in a village, and each puts down an equal stake escrowed by the witness. Then the two players make their moves in front of the witness who can check the validity of each move. At the end of the game, this witness rewards the winner with all the stake put down by the loser.

Inspired by this thousand-year-old Gomoku duel, we re-invent the model as cGomoku on Celer Network with a few new features:

You may immediately ask: “Wait, these two things can be done using just an on-chain smart contract, how is this unique to Celer?

Well, it is true that one could trivially build a smart contract that receives deposits and executes game logic for the two parties. But man, that is super expensive and dead slow because every deposit and every move on the game board requires a global consensus among 10000+ nodes. No one would want to play a $0.5-stake Gomoku while spending $150 for transaction fees and 3 hours for transaction confirmations.

Therefore, to make it actually practical and achieve mass adoption, we need to realize the above two features in a user-friendly, highly scalable and low-cost way. Celer Network is here to get that job done.

Image for post
Image for post
End users connecting to each other via a network of Celer Nodes

In Celer Network, end users are connected to a decentralized and trust-free network of Celer Nodes via cChannel that fulfills generalized state channel functionality. Among Celer Nodes, cRoute is used to route generalized states (e.g., conditional payments) optimally and trust-freely between end users. For users, connecting to Celer Network is like connecting to the Internet, where you can interact with Google, Facebook or whatever. Once connected to Celer Network, all cApps built on cOS will become available for users to install and use at large scale and low cost. cGomoku is such a cApp built with cOS API.

Though this is Celer Network’s first demo, we believe it showcases the most advanced full-stack off-chain operating network ever with a coherent set of features:

Enough words, let’s get to the VIDEO DEMO! 😁 😺

Demo Time!

What does it take to build a cAPP?

“Wow, this cGomoku must be super complex to build! Do I have to learn a different language or something?” You might think.

Worry no more! Almost all the complexities are handled for you transparently by cOS. In fact, if you have an on-chain Gomoku smart contract already built, the core “off-chain” portion of the smart contract is minimally incremental. Off-chain logic is also simple to implement with simple APIs. Celer Network brings the true power of abstraction and simplifies the development of off-chain cApps to the level of on-chain decentralized apps.

We will share our project roadmap and open source timeline in a few weeks.

Follow Us

Can’t wait to try it? 😄 We know.

For developers who are eager to get early access, the initial alpha release of cChannel and cOS will be made available soon. More technical deep-dive blogs on how to transform your on-chain dApps to off-chain cApps are coming as well.

To stay updated, follow us via:

Website: https://www.celer.network/

Telegram: https://t.me/celernetwork

Github: https://github.com/celer-network

Twitter: https://twitter.com/CelerNetwork

Celer Network

The Most Advanced Layer-2 Scaling Platform

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store