{"id":13903009,"url":"https://github.com/consenlabs/token-core","last_synced_at":"2025-07-18T00:32:54.875Z","repository":{"id":36556867,"uuid":"187121676","full_name":"consenlabs/token-core","owner":"consenlabs","description":"move to https://github.com/consenlabs/token-core-monorepo","archived":true,"fork":false,"pushed_at":"2024-09-09T02:31:26.000Z","size":99863,"stargazers_count":286,"open_issues_count":26,"forks_count":117,"subscribers_count":36,"default_branch":"dev","last_synced_at":"2024-11-25T11:39:55.485Z","etag":null,"topics":["bitcoin-cash","blockchain","cross-platform","cryptocurrency","imtoken","litecoin"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/consenlabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-17T00:51:29.000Z","updated_at":"2024-11-22T10:02:22.000Z","dependencies_parsed_at":"2024-01-19T10:15:17.165Z","dependency_job_id":"6ffc3a27-0e58-4b31-9653-efdee09313d7","html_url":"https://github.com/consenlabs/token-core","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/consenlabs/token-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consenlabs%2Ftoken-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consenlabs%2Ftoken-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consenlabs%2Ftoken-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consenlabs%2Ftoken-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/consenlabs","download_url":"https://codeload.github.com/consenlabs/token-core/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/consenlabs%2Ftoken-core/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265685524,"owners_count":23811191,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin-cash","blockchain","cross-platform","cryptocurrency","imtoken","litecoin"],"created_at":"2024-08-06T22:01:33.512Z","updated_at":"2025-07-18T00:32:54.375Z","avatar_url":"https://github.com/consenlabs.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# TokenCoreX\n\n\u003e [!IMPORTANT]\n\u003e token-core moved to https://github.com/consenlabs/token-core-monorepo\n\nNext generation core inside imToken Wallet.\n\nA cross-platform library that implements crypto wallet functions for blockchains, exporting c interfaces in Protobuf\nprotocol. This library totally wrote in Rust, and now provides friendly interfaces for the mobile platform including\nReactNative, iOS, and Android.\n\nTokenCoreX welcomes contribution from everyone. See [CONTRIBUTING.md](./CONTRIBUTING.md) for help getting started. \nIn all communications and contributions, this project follows the [Code of Conduct](./CODE_OF_CONDUCT.md)\n\n## Goals\n* Abstration interfaces that provide crypto wallet common logic with multi blockchain support\n* Cross platform, on mobile, desktop, server side\n* Multi keystore support, with file, HSM, KMS, hardware-wallet\n\n## Packages\n* `tcx` wallet interface wrapper\n* `tcx-bch` | `tcx-btc-fork` | `tcx-tron` | `tcx-ckb` packages contain particular chain operations\n* `tcx-chain` keystore and signer interface\n* `tcx-proto` protobuf datastructure definition\n* `tcx-constants` blockchain spec definition\n* [`tcx-primitive` | `tcx-crypto`] low level component\n\n## Examples\nWe provide three example applications, \n\n* [ReactNative](examples/RN), full functions including all expose API, and e2e testing\n* [iOS](examples/iOSExample)\n* [Android](examples/android)\n\n## Test Coverage\nWe can use [tarpaulin](https://github.com/xd009642/tarpaulin) to know the coverage rate.\n\nThe easy way to run coverage test is using docker,\n\n```\ndocker run --security-opt seccomp=unconfined -v \"${PWD}:/volume\" xd009642/tarpaulin sh -c \"cargo tarpaulin --out Html\"\n```\n\nAfter couple minutes, it will generate html report of project root directory named `tarpaulin-report.html`. \n\n## Code Styles\nThis project is using pre-commit. Please run `cargo clean \u0026\u0026 cargo test` to install the git pre-commit hooks on you clone.\n\nEvery time you will try to commit, pre-commit will run checks on your files to make sure they follow our style standards\nand they aren't affected by some simple issues. If the checks fail, pre-commit won't let you commit.\n\n## Read More\n* [How to build project](docs/BUILD.md)\n* [Crypto keys abstraction design (Chinese)](docs/KEYS.zh.md)\n* [Architecture design (Chinese)](docs/TECH.zh.md)\n* [How to add more blockchain support](docs/INTEGRATION.md)\n* [Security](SECURITY.md) including the bug bounty program\n* [FAQ](docs/FAQ.md)\n\n## License\nApache Licence v2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsenlabs%2Ftoken-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconsenlabs%2Ftoken-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsenlabs%2Ftoken-core/lists"}