• Stars
    star
    286
  • Rank 141,506 (Top 3 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created about 5 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Next generation core inside imToken Wallet.

TokenCoreX

Build status Gitter chat

Next generation core inside imToken Wallet.

A cross-platform library that implements crypto wallet functions for blockchains, exporting c interfaces in Protobuf protocol. This library totally wrote in Rust, and now provides friendly interfaces for the mobile platform including ReactNative, iOS, and Android.

TokenCoreX welcomes contribution from everyone. See CONTRIBUTING.md for help getting started. In all communications and contributions, this project follows the Code of Conduct

Goals

  • Abstration interfaces that provide crypto wallet common logic with multi blockchain support
  • Cross platform, on mobile, desktop, server side
  • Multi keystore support, with file, HSM, KMS, hardware-wallet

Packages

  • tcx wallet interface wrapper
  • tcx-bch | tcx-btc-fork | tcx-tron | tcx-ckb packages contain particular chain operations
  • tcx-chain keystore and signer interface
  • tcx-proto protobuf datastructure definition
  • tcx-constants blockchain spec definition
  • [tcx-primitive | tcx-crypto] low level component

Examples

We provide three example applications,

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

More Repositories

1

token-core-ios

a blockchain private key management library on iOS
Swift
879
star
2

token-profile

Blockchain coin and token profile collection
TypeScript
816
star
3

token-core-android

a blockchain private key management library on android
Java
648
star
4

tokenlon-contracts

Tokenlon is a decentralized exchange and payment settlement protocol based on blockchain technology. Visit https://tokenlon.im/
Solidity
77
star
5

eos-stake-vote-dapp

EOS stake vote dapp developed by imToken Dev Team
JavaScript
55
star
6

tokenlon-sdk

The Gateway to Decentralized Exchange
TypeScript
54
star
7

tokenlon-mmsk

Tokenlon Market Maker Service Kit
TypeScript
41
star
8

eos-bp-profile

EOS block producer profile collection
JavaScript
34
star
9

carbonvote

CSS
29
star
10

ethtaipei2023-aa-workshop

Account abstraction workshop @ ETHTaipei 2023
Solidity
14
star
11

imkey-core

Next generation core inside imKey Wallet.
C
14
star
12

imkey-manager

Using the imKey on your PC or Mac
JavaScript
13
star
13

tokenlon-jssdk

Please move to new repo https://github.com/consenlabs/tokenlon-v5-sdk
TypeScript
9
star
14

webview

WebView utils for imToken application v2.
TypeScript
9
star
15

tokenlon-v5-subgraph

define how to index tokenlon exchange data on thegraph protocol
TypeScript
8
star
16

evm-box

use EVM Compatible Network with ease.
TypeScript
7
star
17

imkey-web3-provider

TypeScript
6
star
18

cosmos-staking-dapp

Dapp for staking and vote on Cosmos Network
TypeScript
5
star
19

polkadot-staking-dapp

Polkadot & Kusama Dapp for staking & voting
TypeScript
5
star
20

token-getting-started

Getting started for imToken Applicatoin.
TypeScript
4
star
21

tokenlon-utils

helper functions for tokenlon
TypeScript
4
star
22

tokenlon-contracts-lib-js

Common utility functions (e.g., signing order, encoding data) to interact with Tokenlon contracts.
TypeScript
3
star
23

dapp-url-generator

DApp Url generator in imToken App
TypeScript
2
star
24

tokenlon-dapp-template

A tokenlon dapp template
JavaScript
2
star
25

lotus

Go
2
star
26

imkey-connectjs

The JS SDK of imKey
TypeScript
2
star
27

memory-cache

key-value pair cache in memory.
TypeScript
2
star
28

tezos_index

Go
1
star
29

tokenlon-security

1
star
30

pingpp-react-native

Java
1
star
31

catch-error

a decorator that replace try catch
TypeScript
1
star
32

token-core-monorepo

Monorepo which contains token-core and imkey-core
C
1
star