consenlabs / imkey-core

Next generation core inside imKey Wallet.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImKeyCore

Next generation core inside imKey Wallet.

WARNING: not production ready yet.

Goals

  • Unify interface for wallet common logic with multi blockchain support
  • Cross platform, on mobile, desktop, server side

Layout

  • api wallet interface wrapper
  • wallet packages contain particular chain logic(address & signer)
  • common | transport common interface
  • common imKey management function
  • mobile-sdk mobile sdk

Test Coverage

We can use tarpaulin to know the coverage rate.

The easy way to run coverage test is using docker,

docker run --security-opt seccomp=unconfined -v "${PWD}:/volume" xd009642/tarpaulin sh -c "cargo tarpaulin --out Html"

After couple minutes, it will generate html report of project root directory named tarpaulin-report.html.

Code Styles

This project is using pre-commit. Please run cargo clean && cargo test to install the git pre-commit hooks on you clone.

Every time you will try to commit, pre-commit will run checks on your files to make sure they follow our style standards and they aren't affected by some simple issues. If the checks fail, pre-commit won't let you commit.

Mobile-SDK

Mobile-SDK is built to provide an easy interface to the native imkey-core libraries on both iOS and Andoird.

Mobile-SDK

Read More

License

Apache Licence v2.0

About

Next generation core inside imKey Wallet.

License:Apache License 2.0


Languages

Language:C 80.0%Language:Rust 9.3%Language:Swift 5.6%Language:Java 4.7%Language:Shell 0.2%Language:Ruby 0.1%Language:Objective-C 0.1%Language:Makefile 0.0%