Release Polkadot Compatible Crypto Primitive

Kogarashi Network
Coinmonks
2 min readJun 7, 2023

--

We released Polkadot compatible zkSNARKs library and related crypto primitives. These libraries improve Polkadot ecosystem blockchain infrastructure. These libraries are in charge of solutions for blockchain privacy and scaling. Native runtime-compatible libraries allow developers to have flexible development, efficient process, and various functionalities.

TLDR

We released confidential transfer pallets and zkSNARKs relevant cryptography primitive libraries. This allows Polkadot developers to implement cryptographic schemes more flexibly and efficiently, and users can use privacy transfer functionalities.

Motivation

It’s hard for traditional blockchains to upgrade runtime storage and execution environment. Recently, cryptography progresses and it resolves blockchain privacy and scaling problems. However, traditional blockchains are inefficient to process these cryptographic schemes. That’s the tradeoff between functionalities and efficiency.

But in the Polkadot ecosystem, we can build a blockchain from scratch because of the pallets system. We can balance functionalities and efficiency by replacing blockchain infrastructure overall.

Direction

In the Polkadot ecosystem, we already have a wonderful Dapp platform. We are supposed to provide our functionalities for completely new users. We especially, focus on resolving blockchain missing pieces of privacy, scaling, and off-chain oracle problems.

Pallets and Libraries

We released the following libraries. Pallets are functionalities and consist of libraries. Every library is implemented from scratch.

Pallets

  • Encrypted Balance

Encrypted users balance storage by additive homomorphic encryption. This allows performing addition by hiding the actual amount on the blockchain.

  • Confidential Transfer

Confidential transfer pallet prover and verifier. This allows transfer transactions by hiding the actual amount and checking the validity of arithmetic.

  • Plonk

Plonk prover and verifier functionalities. This allows the usage of the plonk scheme on the blockchain.

Libraries

  • Crypto Primitive

Basic cryptography primitives library. Abstract algebra, zero knowledge polynomial operation, and curve implementation.

  • Jubjub

Twisted Edwards curve Jubjub implementation. The arithmetic domain of zero knowledge circuit.

  • Bls12 381

Pairing-friendly curve bls12 381 implementation. The arithmetic domain of zero knowledge polynomial.

  • ElGamal

Additive homomorphic encryption based on the Jubjub curve. Used for confidential transfer encryption scheme.

  • Pairing

Elliptic curve multiplicative homomorphic operation. Used for zero-knowledge proof verification.

You can check our Github.

Next Step

We are going to support the following functionalities.

  • Auditable Privacy Transfer
  • Scaling by zkRollup
  • Trustless Oracle

You can check more details in our roadmap.

What’s Kogarashi?

We are a modern design blockchain libraries factory. We are geared toward updating Polkadot ecosystem cryptography infrastructure and extending functionalities by implementing the latest cryptography libraries and schemes and inventing a completely new cryptography scheme.

Follow Us

Website | Twitter | Discord | Github

--

--

Kogarashi Network
Coinmonks

Kogarashi is a Real Wold Hybrid Smart Contract on Crypto-Centric Scalable and Private Blockchain