Trust Wallet Core is an open source, cross-platform, mobile-focused library implementing low-level cryptographic wallet functionality for a high number of blockchains. It is a core part of the popular Trust Wallet, and some other projects. Most of the code is C++ with a set of strict C interfaces, and idiomatic interfaces for supported languages: Swift for iOS and Java (Kotlin) for Android.
For comprehensive documentation, see developer.trustwallet.com.
Wallet Core supports more than 60 blockchains: Bitcoin, Ethereum, BNB, Cosmos, Solana, and most major blockchain platforms. The full list is here.
For build instructions, see developer.trustwallet.com/wallet-core/building.
If you want to use wallet core in your project follow these instructions.
Don't forget replacing the version in the code with latest:
We currently support Swift Package Manager and CocoaPods (will discontinue in the future).
Package.swift from GitHub Releases and put it in a local
Add this line to the
dependencies parameter in your
.package(name: "WalletCore", path: "../WalletCore"),
Or add remote url +
master branch, it points to recent (not always latest) binary release.
.package(name: "WalletCore", url: "https://github.com/trustwallet/wallet-core", .branchItem("master")),
Then add libraries to target's
.product(name: "WalletCore", package: "WalletCore"), .product(name: "SwiftProtobuf", package: "WalletCore"),
Add this line to your Podfile and run
npm install @trustwallet/wallet-core
Please check out the Go integration sample.
Projects using Trust Wallet Core. Add yours too!
There are a few community-maintained projects that extend Wallet Core to some additional platforms and languages. Note this is not an endorsement, please do your own research before using them:
The best way to submit feedback and report bugs is to open a GitHub issue. If you want to contribute code please see Contributing. If you want to add support for a new blockchain also see Adding Support for a New Blockchain, make sure you have read the requirements section.
Trust Wallet Core is available under the MIT license. See the LICENSE file for more info.
|Last commit: 4 hours ago|
Full Changelog: https://github.com/trustwallet/wallet-core/compare/3.0.3...3.0.4