BTC
ETH
HTX
SOL
BNB
View Market
简中
繁中
English
日本語
한국어
ภาษาไทย
Tiếng Việt

Chaohua Community Issue 046 | Chromia teaches you how to build a DApp with "one-click" foolishly

王也
读者
2020-05-30 01:34
This article is about 4748 words, reading the full article takes about 7 minutes
Good news for DApp developers.
AI Summary
Expand
Good news for DApp developers.

At the end of 2017, the birth of "Crypto Kitties" brought about a big explosion of DApps. Since then, participants in the blockchain world have begun to study the prospects of decentralized applications in an explosive way——decentralized games, decentralized With the development of decentralized finance and decentralized exchanges, many concepts are emerging.

However, today, three years later, although the concept of decentralized applications is familiar to everyone, looking at the entire blockchain world, there are still only a handful of DApps that participants can name. Ethereum has embarked on the road of DeFi, but black swan incidents frequently occur. EOS and Tron were once called "spinach chains". Other vertical public chains that want to show their glory in a certain field mostly exist in name only.

Even so, crypto geeks have not stopped exploring decentralized applications, and many of the world's top developers and investors are still actively looking forward to and promoting the birth of new things.

Recently, Henrik Hjelte, co-founder and CEO of Israeli DApp development platform Chromia, and Malcolm Lerider, VP of the Chinese market, visited Odaily's "Chaohua Community" and shared how to help DApp developers quickly and easily build DApps. The following is the essence of AMA, enjoy~

Odaily:First of all, can you briefly introduce the Chromia project? And what was the original intention of creating Chromia? What industry pain points do you want to solve?

Henrik Hjelte:Chromia is a public chain platform that connects traditional databases, relational databases and blockchain security together. Chromia features Turing-complete smart contracts, which help DApp developers code faster and easier. Developers can use a new programming language that is easier to learn to write code, which combines the powerful functions of SQL (Structured Query Language) and common computer languages, making the underlying blockchain network more secure and stable.

The goal of Chromia is to combine relational databases that exist in various organizations with blockchain. We want to provide a platform for users to develop decentralized applications safely.

Odaily:In your opinion, for DApp developers, what difficulties do they often encounter when developing DApps? How does Chromia help developers solve these difficulties?

Henrik Hjelte:Compared with ordinary DApp development platforms, we can allow developers to expand the development content wider and deeper, and we will give them more development freedom, such as setting their own fee structure in DApp, and blockchain data and application state are stored in a relational database, which allows developers to query and index information in a more efficient manner.

DApps on Chromia are written in the RELL language, a new general-purpose language we developed similar to SQL. RELL is closely connected with relational databases, but it has been improved by static type checking and more concise syntax. Developers can learn RELL in less than a week, and it is easier and faster to write complex decentralized applications.

Odaily:Can you introduce the architecture of Postchain? What role does it play in Chromia?

Henrik Hjelte:Postchain is a product developed by ChromaWay (https://chromaway.com) for enterprise customers and is also the core technology of Chromia.

Postchain is a replicable blockchain and database that provides highly resilient distributed database management in a decentralized manner. Postchain is currently the only ACID feature on the market that combines blockchain consensus and database management systems (Odaily Note: ACID refers to the four characteristics of things in database management systems: atomicity, consistency, isolation, and persistence)The product. Postchain allows users to share information between companies or individuals in a secure and transparent manner.

Odaily:For developers, security is the primary consideration. How does Chromia ensure the security of the underlying system?

Malcolm Lerider:On Chromia, each DApp runs independently on its own sidechain, which makes it very expensive for an attacker, and the RELL language makes code review easier and avoids other development platforms of many defects.

Odaily:Can you introduce the underlying blockchain network performance that Chromia provides for DApp developers? (such as transaction confirmation time, TPS per second, and performance such as IO capacity)

Malcolm Lerider:At present, the transaction confirmation time is less than one second, and the TPS on the side chain running on the DApp is between 300/S and 500/S, and the transaction rate of the entire system is not limited.

The biggest advantage is the IO capacity, and the IO throughput per second of each DApp is greater than 100,000. Even if you have to update multiple accounts at the same time, such as in financial or gaming DApps, Chromia makes these performances possible.

Odaily:What is the Rell language? What did you design the Rell language for? What are the features of the Rell language?

Malcolm Lerider:RELL is a new general-purpose language similar to SQL and closely tied to relational databases, but with improved static type checking and a cleaner syntax. Master RELL in less than a week.

The RELL language increases developer productivity and ensures application consistency with the ability to update code over time. At the same time, the RELL language is safer than the SQL language, which can ensure that the types returned by the query match the types used in the procedural code. In general, the RELL language has the following characteristics:

  • It is similar to SQL language in terms of relational data modeling and query functions, and those who are familiar with SQL language can get started quickly;

  • Conventional programming constructs: variables, loops, functions, collections, etc.;

  • Constructs specifically for application backends, especially blockchain-style programming (including request routing, authorization, etc.);

  • The goal of RELL is to make programming as convenient and simple as possible. It reduces boilerplate and repetition. At the same time, as a static type retrieval system, it can detect and prevent various bugs before running;

  • Safe, arithmetic operations are safe out of the box, programmers don't need to worry about data overload;

  • Concise and expressive, many developers dislike the SQL language because it is very verbose. RELL will not bother developers with automatically generated tedious details. As a data definition language, RELL is 7 times more concise than SQL;

  • Metaprogramming can be achieved, we don't want application developers to implement the foundation from scratch for each DApp, RELL will allow functionality to be packaged as templates. Programmers can use relational programming terms they are already familiar with, however, they don't have to express it expressly through relational algebra: RELL can seamlessly merge relational structures with procedural programming;

  • The RELL language is intentionally similar to modern programming languages, such as JavaScript and Kotlin. Familiar languages ​​are easier to adapt, and our internal grayscale tests show that programmers can master and become proficient in the RELL language within a few days.

Odaily:So far, how many developers are already using the Chromia platform? Are there any Chinese developers among them? Where do most developers come from? Can you cite a few successful cases to share?

Henrik Hjelte:So far, we don't have a separate team for Chinese developers, but if any Chinese developers are interested, please contact me or Malcolm directly after the AMA (his Chinese speech ability is better), maybe we need to create a team for Chinese developers A separate team for Chinese developers.

We currently have over a hundred developers using the Chromia platform in a variety of ways.

Odaily:It is understood that Chromia has established a good cooperative relationship with many companies and governments. According to public information, Chromia and LHV Bank issued a stable currency based on the euro on the Bitcoin blockchain, and cooperated with the Swedish Land Registry Department to transfer land ownership The transfer process is digitized, and here can you give some details about the partners that are currently working with Chromia?

Henrik Hjelte:Here today, I will introduce our recent cooperation with Green Assets Wallet (GAW). Co-founded by leading capital market players, green finance experts and technology innovators, GAW leverages Chromia's blockchain to build a trusted and transparent information platform for green investment opportunities. It directs capital towards green investment opportunities by: 1) reducing issuance and reporting costs for issuers; and 2) providing a means for investors to discover and monitor green investments.

In addition, GAW is also a sustainable financial technology innovation center - Stockholm green digital finance, climate research institution CICERO, Nordic financial services group SEB, asset management company Ohman, the world's largest asset management company BlackRock, real estate developer Vasakronan, asset owners A project co-funded by Mistra, geographic data provider GIB, the German Ministry for International Cooperation and Development (GIZ) and the China Energy Conservation and Environmental Protection Group (CECEP).

Blockchain technology is a key innovation of the GAW project. GAW's trust structure provides investors with real-time and direct access to issuer information and impact reports, which provides technical support for the green bond market to increase investment, Achieving the Paris Climate Agreement, the Sustainable Development Goals (SDGs) and the recently announced European Green Deal.

Odaily:Can you introduce Chromia's token economic model? And how does Chromia maintain the value of the token? How to bind Chromia's token model with the interests of DApp developers?

Malcolm Lerider:Chromia’s token, called CHR, can be used to pay for DApp hosting and other services on the Chromia network, and can also be used to reward providers who follow the rules and punish those who try to cheat to protect network consensus. It can be used as currency within applications and transfer value between applications.

On the Chromia platform, the generated fees are paid by DApps developers, but DApps developers can in turn charge users. Chromia provides mechanisms to balance the interests of developers and users. DApp tokens can be automatically backed with Chromia, providing liquidity and value independent of DApp investments. Investors in DApps can be compensated by Chromia through profit-sharing contracts. For developers, Chromia offers the opportunity to generate income from DApps. This encourages the creation and maintenance of high-quality DApps, as better DApps generate more revenue and create more demand for tokens owned by developers.

We designed this economic model to support a sustainable circular economy that fosters mutually beneficial relationships between developers, users, and investors.

Odaily:How do you plan to attract developers to the Chromia platform early on? Have you designed some incentives for developers?

Malcolm Lerider:Currently Chromia has designed the following six strategies to attract developers:

  • We have established our own Chromia blockchain incubator and welcome more developers to develop in Chromia;

  • Host blockchain gaming conferences, workshops and conferences to attract potential users;

  • Provide online and face-to-face guidance for DApp developers;

  • Engaging blockchain developers through direct and indirect means through dedicated platforms and communities;

  • Develop our relationships with existing and former enterprise clients, and their network of collaborations, to participate in their blockchain ventures;

  • Chromia has also created the Promo Fund to provide token rewards to DApp developers.

Odaily:Finally, can you introduce the roadmap of Chromia? And the key development plan for the next step?

Henrik Hjelte:Last year, we released the new programming language RELL, along with supporting tools (online development environment, downloadable IDE, documentation). We released the first testnet and the first version of the mainnet - Bootstrap Net in December, and 4irelabs became the first DApp to run on our mainnet.

Next, let’s talk about our plan for 2020. The first is to release a series of successful DApp cases while continuing to develop Chromia. Soon we will update the next version of the mainnet, called Mainnet MVP.

There are also some DApps that we have participated in the development of, for example, Chromunity, a decentralized social network that is now released to the testnet. This DApp is really cool, users can vote for moderators, and in the future users can even manage the entire app, how to update it.

We released our first game Mines of Dalarnia (official website: https://minesofdalarnia.com) to TestNet users, as well as Chromunity, a decentralized social network developed entirely on the Chromia blockchain by external developers (https: //testnet.chromunity.com). Mines of Dalarnia is developed in collaboration with Chromia & Workinman Interactive, a multi-platform game developer who has worked with well-known companies such as Disney and Atari. Mines of Dalarnia is a free blockchain action-adventure platform mining game with a unique blockchain real estate market where players control characters and guide them through levels (plots).

DApp
Welcome to Join Odaily Official Community