/wallet-core

Cross-platform, cross-blockchain wallet library.

Primary LanguageC++MIT LicenseMIT

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 for Android.

iOS CI Android CI Linux CI Docker CI Typescript CI

Gitpod Ready-to-Code Codacy Badge Codecov GitHub Maven Cocoapods Cocoapods platforms

Documentation

For comprehensive documentation, see developer.trustwallet.com.

Supported Blockchains

Wallet Core supports more than 50 blockchains: Bitcoin, Ethereum, Binance Chain, and most major blockchain platforms. The full list is here.

Building

For build instructions, see developer.trustwallet.com/wallet-core/building.

Using from your project

If you want to use wallet core in your project follow these instructions.

Android

Add this dependency to build.gradle:

dependencies {
    implementation 'com.trustwallet:wallet-core:x.y.z'
}

Replace x.y.z with a fresh version

iOS

We currently support only CocoaPods. Add this line to your Podfile and run pod install:

pod 'TrustWalletCore'

Projects

Projects using Trust Wallet Core. Add yours too!

Trust Wallet

Coinpaprika | IFWallet | crypto.com | Alice | Frontier

Contributing

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.

Thanks to all the people who contribute.

License

Trust Wallet Core is available under the MIT license. See the LICENSE file for more info.