Skip to content

Latest commit

 

History

History
75 lines (49 loc) · 3.37 KB

README.md

File metadata and controls

75 lines (49 loc) · 3.37 KB
Sublab logo

Maven Central Kotlin Telegram channel GitHub License

Sublab's Scale Codec Kotlin library

This is a Kotlin repository which implements Parity's SCALE codec in a designated way.

This repository aims to provide easy to use interface similar to other serialization implementations such as JSON in multiple variants.

It attemps to use Kotlin's reflection to minimize developer's customization in order to make particular data object to be ready for SCALE codec serialization.

Unfortunately, Kotlin is not almighty even with its reflection, and it misses fixed size arrays comparing to Java, so we try to use annotations and other small hacks to overcome these issues.

Sublab

At Sublab we're making mobile-first libraries for developers in Substrate ecosystem. However, we seek our libraries to be available not only for mobile Apple OS or Android OS, but compatible with any Swift/Kotlin environment: web servers, desktop apps, and whatnot.

Our mission is to to develop fully native open-source libraries for mobile platforms in Polkadot and Kusama ecosystems, covering everything with reliable unit-tests and providing rich documentation to the developers community.

Our goal is to have more developers to come into the world of development of client applications in Substrate ecosystem, as we find this as most promising and intelligent blockchain project we ever seen. Thus, we as mobile development gurus trying to create enormously professional libraries which might be very complicated under the hood, but very simple and convenient for final developers.

Installation

This library is available at Maven Central. Feel free to copy and paste code blocks below to integrate it to your application.

build.gradle

repositories {
    mavenCentral()
}

Maven

<dependency>
    <groupId>dev.sublab</groupId>
    <artifactId>scale-codec-kotlin</artifactId>
    <version>1.0.0</version>
</dependency>

Gradle

implementation 'dev.sublab:scale-codec-kotlin:1.0.0'

Documentation

Contributing

Please look into our contribution guide and code of conduct prior to contributing.

Contacts