Developers Documentation

Guide complet pour développeurs Kalima

weight: 200 linkTitle: “Developers Guide”

BUILDER’S GUIDES

Here, you will discover many development tools and resources in the Kalima ecosystem. We are always adding new tools and frameworks as we learn about them so if you are working on something that should be included, please reach out to us on Twitter or Telegram. This section is divided into the following parts:

Development Guide

Tools & Resources

  • Tools - Maintained list of tools.

  • APIs – Application programming interface for developers

  • SDKs – System development kits for developers

  • Tutorials – Examples listed on GitHub

Grants

Grants - Information regarding grants and funding sources available in the Kalima ecosystem.

KSPs

Kalima Standards Proposals (KSPs) are standards for the Kalima ecosystem.

Hackathons

 

DEVELOPMENT GUIDE

BUILDERS STARTER’S GUIDE

Kalima has a goal of providing robust security for all connected PrivaChains, and allowing them to interact with each other, may they wish to do so.

This guide will walk you through the steps you can take today to get started building your vision with Kalima.

Kalima Ecosystem Networks

  • Mainnet:

  • Official testnets:

PrivaChains

  • Kalima PrivaChains are independent blockchains that can easily be created and owned by any business of any size wishing to expand their revenue streams, made possible through the multitude of innovative features they were designed with.

  • These PrivaChains are permissioned blockchains. In other words, a PrivaChain is independent and possesses its own governance, meaning its privacy and rules are entirely designed and chosen by its owner, or owners, in case it is owned by a group of companies rather than a single entity.

Some examples of features you can have on a PrivaChain

  • Custom fee structure (for example, pay a flat fee for transactions or pay per byte).

  • Custom monetary policy for the native token and local economy.

  • Treasury to be funded through transitions in your state function.

  • A governance mechanism that could manage a DAO that is responsible for allocating your on-chain treasury.

Kalima has multichain capabilities with Tezos and Bitcoin (through the Lightning network) and soon Ethereum and Cosmos to offer a hybrid private/public blockchain solution. These multichain features are of paramount importance for bringing value to PrivaChains, as increased interoperability can be translated as extra opportunities for generating revenue.

 

PRIVACHAIN DEVELOPMENT

This guide will cover the motivation to build a PrivaChain or dApp, the tools available to facilitate this, the steps to test, and finally, how to launch your PrivaChain on Kalima.

Why Create a PrivaChain?

Kalima PrivaChains are unique in nature and offer a wide array of utility for any business of any size. A business, or a group of business may choose to own a PrivaChain for the following reasons:

  • Develop new business models, or expand and improve existing ones

  • Kalima enables companies and developers to create applications including the possibility to monetize the collected data. Kalima will allow to deploy your own custom token to monetize your business models converting physical data into a liquid token tradable in the community.

  • Kalima’s functionalities allow businesses and developers to develop dApps, for a multitude of use cases based on the integrity of data transmission and the immutability of data storage.

  • PrivaChain owners can also stake their KLX tokens to obtain passive rewards in KLX.

 

Some examples of PrivaChains could be:

  • DeFi (Decentralized Finance) Applications

  • Digital Wallets

  • IoT (Internet of Things) Applications

  • Gaming

  • Web 3.0 Infrastructure

and more.

  • Absolute freedom, full flexibility, and independent governance

  • As previously mentioned, PrivaChain owners have complete control over what goes on their PrivaChains. Whether it is about the PrivaChain rules or if other PrivaChains get to interact with it or not, (who gets to share or purchase data from them) it is entirely in the owner(s) hands.

  • Furthermore, the particularity of the Kalima technology is that it allows to bring smart contracts to the edge (at the source), i.e., directly into connected objects such as mobile phones, vehicles, and buildings, meaning smart contracts can interact with data as soon as it is collected. This assures the processed data is authentic and genuine and opens a multitude of possibilities for IoT blockchain applications.

 

  • Fast, Low cost, low energy consumption, and limitless scalability

  • Each transaction carried out on the Kalima network will generate gas fees. These fees remain very low within the Kalima ecosystem and have an essential role of compensating network validators, as well as preventing network spam by introducing a real cost.

  • For this purpose, a gas fee system is set up on the Kalima blockchain which will be applied to each transaction at a price of 0,00025 €/kb. The latency for such transactions is lower than a second, making transactions extremely fast and efficient.

  • Kalima Blockchain offers a unique Delegated Proof of Stake consensus mechanism. This unique and energy-saving solution gives Kalima the potential to save computation cycles, scale efficiently, and respond to the multitude of enterprise use case requirements by providing a secure, robust model for identity, auditability, and privacy.

  • Finally, Kalima PrivaChains are limitlessly scalable in nature and can withstand global demand in terms of transactions per second. As a matter of fact, each PrivaChain can process 1000 transactions per second, with no limits on the amount of PrivaChains created, which can quickly reach astronomical amounts of transactions per second.

  • In other words, Kalima has the potential to host a PrivaChain for as many small businesses and large industrial players as it wants with no risk of congestion or network slowdowns which is a must for a scalable future.

 

  • Rewards for early adopters, in KLX

As a mean of bootstrapping the Kalima network, the first 1000 Privachains will benefit from obtainable rewards once deployed.

For this, 10 reward levels have been put in place, rewarding further earlier PrivaChains, and will work in the following way:

  • The first 10 Privachains deployed on Kalima blockchain can obtain a reward of 200 million KLX for each PrivaChain. Rewards will continue for until the 1000th PrivaChain, with rewards being reduced at every level, greatly rewarding earlier PrivaChain owners.

  • Conditions and rewards for the following levels are described on the Kalima whitepaper.

 

APIs

API are open source to warranty the openness of the project. Core of Kalima technology source code is available only to “Consortium Members” as a way to protect against uncontrolled forks which could complexify the governance and create security Issues, but its governance, “Kalima Blockchain Consortium”, could change this in the future.

In addition, APIs are designed to be extremely usable, so that a relatively unskilled developer can write code on top of Kalima Blockchain without trouble.

Available APIs on Kalima ecosystem:

  • Android

  • Java

  • C

  • C#

  • REST

  • Kalima Tezos

  • Kalima Lightning Network

 

Kalima SDKs

Kalima SDK uses standard languages and is compatible with Linux, Windows, Android, iOS and Mac OS. An easy-to-use, flexible API is one of the cornerstones of Kalima Blockchain. Well-defined APIs are essential for Kalima Blockchain to support the many use cases that users can develop.

Smart Contracts

Smart contracts are a core for any decentralized application development. The Kalima Smart contracts are really easy to develop and are executed on the client side.

Kalima blockchain enforces business logic through smart contract code, which is constructed as a pure function that either accepts or rejects a transaction, and which can be composed from simpler, reusable functions. The functions interpret transactions as taking states as inputs and producing output states through the application of (smart contract) commands and accept the transaction if the proposed actions are valid.

Contracts define part of the business logic of the ledger: nodes will run contracts inside a sandbox.

Learn how to develop a smart contract node

Learn how to deploy a smart contract node

Tutorials

You can Dive into tutorials here to help you get started and take a more detailed look at Kalima Blokchain. These tutorials will walk you through code examples to translate Kalima concepts into practice.

Start Practicing now

Decentralized Storage

Oracles

(Polkadot info) In the blockchain context, an oracle is a way to bring real-world data onto the blockchain so that it can be used by a decentralized application.

Oracles serve many purposes for application builders. For example:

  • Most stable designs use an oracle to bring in data of the exchange rate of assets, in order to peg their value to a real world currency.

  • Synthetic assets use oracles as price feeds in order to determine if the underlying cryptocurrency sufficiently collateralizes the debt position.

  • Prediction markets use oracles to decide the outcome of real world events and determine the payout of the prediction shares.

  • Decentralized insurance markets use oracles to bring in information about whether a claim is valid or not.

When using an oracle in your application you should be aware of the benefits and risks that are baked into its specific model. As the Kalima ecosystem develops and oracle parachains begin to appear, this article will be updated with a comparison of the different solutions and the benefits and drawbacks that each provide.

Wallets

Supported Wallets: name, development state (live or not), description


INTEGRATION GUIDE

Kalima Integration Guide

Kalima Protocol

Integrating Assets

Node Management

Node Interaction

Transaction Construction

TOOLS

Tools Index

Open-Source Stack

RESOURCES