kos-rs is an open-source, cross-platform library designed to provide essential low-level functionality for blockchain wallet operations and transactions. Developed in Rust, it offers robust security and platform flexibility, making it an excellent choice for building secure and efficient blockchain applications.
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.
- Cross-platform compatibility.
- Low-level blockchain wallet features.
- Transaction handling.
- Robust security measures.
- Open-source and community-driven.
- Bitcoin (BTC)
- Ethereum (ETH)
- Tron (TRX)
- Klever (KLV)
- Polygon (Matic)
npm i @klever/kos
Follow these instructions to get started with kos-rs in your Rust project.
To add kos-rs to your Rust project, simply include it as a dependency in your Cargo.toml
:
[dependencies]
kos-rs = "0.1"
Makefile
: Main project build and automation configuration.demo/
: JavaScript demo page with instructions on how to use thekos-rs
library in web applications.
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.
Klever is on a quest for adept Rust developers to revamp its Rust-powered crypto wallet SDK, initially designed for WebAssembly (Wasm). The aim is to expand its compatibility for Kotlin (Android) and Swift (iOS) platforms. The ultimate objective is to streamline this transition, minimizing the manual coding interventions.
Bounty winners will be compensated with $KFI tokens. Here's the reward distribution:
- Web (Rust SDK binding): 10,000 KFI
- React Native (Rust SDK binding): 10,000 KFI
- Kotlin (Rust SDK binding): 10,000 KFI
- Swift (Rust SDK binding): 10,000 KFI
- Code Review PR Approval: 100 KFI
- Perform an in-depth review of the present SDK, focusing on its architecture, features, and Wasm-specific dependencies.
- Create essential bindings and exports to make Rust functions and types accessible from Wasm, Kotlin, and Swift.
- Probe the existing and newly-developed code for potential threats and make necessary patches.
- Conceptualize and establish an automatic adaptation system, preferably using Rust's attributes/macros. This should ensure the central Rust code remains universally applicable.
- Rigorously test the SDK for Kotlin and Swift platforms, ensuring uniformity.
- Integrate critical unit tests to validate performance.
- Deliver a detailed summary of the alterations and explain the workings of the automation tool.
- Detail the integration process for Kotlin and Swift projects.
- Produce provable test results for Kotlin and Swift platforms, including unit, integration, and other relevant test artifacts.
- Effortless SDK integration with Kotlin and Swift.
- Uniform SDK operations across Wasm, Kotlin, and Swift.
- Significant minimization of manual code changes due to the automation tool.
- Transparent and coherent documentation aiding seamless SDK integration for new developers.
- To genuinely grasp the SDK's intricacies, having access or a sample of the existing Rust SDK is crucial. This aids in a well-informed transition.
- The program should prioritize developers familiar with Rust FFI and Kotlin/Swift compatibility. This focus promises higher-quality, viable solutions.
We're eager to witness the pioneering solutions our community will present. Accomplishing this bounty's objectives will immensely boost our SDK's adaptability and appeal, enriching both developers and end-users.