Skip to content

Next generation core inside imToken Wallet.

License

Notifications You must be signed in to change notification settings

luofj8/token-core

Repository files navigation

TokenCoreX

Build status Gitter chat

Next generation core inside imToken Wallet.

WARNING: not production ready yet.

Goals

  • Unify interface for wallet common logic with multi blockchain support
  • Cross platform, on mobile, desktop, server side
  • Multi keystore support, with file, HSM, KMS, hardware-wallet

Layout

  • tcx wallet interface wrapper
  • tcx-bch | tcx-btc-fork | tcx-tron packages contain particular chain logic(address & signer)
  • tcx-chain common interface
  • [tcx-primitive | tcx-crypto] low level component

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.

Read More

License

Apache Licence v2.0

About

Next generation core inside imToken Wallet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 97.3%
  • Shell 1.8%
  • Other 0.9%