/kos-rs

kos-rs is an open-source library created by Klever to deliver fundamental low-level crypto wallet features for cross blockchains. Used for constructing secure and high-performing blockchain applications for Bitcoin, Ethereum, Solana, Klever and much More.

Primary LanguageRustApache License 2.0Apache-2.0

Klever OS Library for Rust (kos-rs)

Klever kos-rs is an open-source library crafted to deliver fundamental low-level crypto-wallet capabilities for blockchain actions and transactions. Built with Rust, it ensures top-tier security and versatile platform adaptability, positioning it as a premier choice for constructing secure and high-performing blockchain solutions.

KleverOS, which stands for Klever Wallet Ops Security, is a robust library meticulously crafted in Rust to guarantee the utmost security in private key generation while ensuring unparalleled auditability.

Features

  • Cross-platform compatibility.
  • Low-level blockchain wallet features.
  • Transaction handling.
  • Robust security measures.
  • Open-source and community-driven.

Initially, kos-rs offers support for the following blockchain networks and its sub tokens:

  • Bitcoin (BTC)
  • Ethereum (ETH)
  • Tron (TRX)
  • Klever (KLV)
  • Polygon (Matic)

Getting Started with Javascript and Node.js

npm i @klever/kos

Getting Started with Rust

Follow these instructions to get started with kos-rs in your Rust project.

Prerequisites

Installation

To add kos-rs to your Rust project, simply include it as a dependency in your Cargo.toml:

[dependencies]
kos-rs = "0.1"

Project Directory Structure

  • Makefile: Main project build and automation configuration.
  • demo/: JavaScript demo page with instructions on how to use the kos-rs library in web applications.

Packages (Monorepo)

  • packages/kos/: Contains tools and utilities for exporting WebAssembly, designed for use in WebAssembly operations.
  • packages/kos-crypto/: Cryptographic package with support for crypto curves for transaction signing, including asymmetric and symmetric cryptography.
  • packages/kos-proto/: Library for building protocol messages.
  • packages/kos-sdk/: Package for blockchain integration, wallet management, transaction construction, and signing implementations.
  • packages/kos-types/: Package containing complex data types and helpful utilities.
  • packages/kos-utils/: Package with utility libraries for various purposes.