/wallet-core

Primary LanguageC++MIT LicenseMIT

Trust Wallet Core is a cross-platform library that implements low-level cryptographic wallet functionality for all supported blockchains. Most of the code is C++ with a set of strict exported C interfaces. The library provides idiomatic interfaces for all supported languages (currently Swift for iOS and Java for Android).

iOS CI Android CI Linux CI Docker CI Typescript CI

Documentation

For more complete documentation, see developer.trustwallet.com.

Supported Blockchains

We support Bitcoin, Ethereum, Binance Chain and 50+ blockchains, you can see the full list here.

Building

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

WalletConsole Utility

Our project comes with an interactive command-line utility called WalletConsole, for accessing key and address management functionality of the library. It can be started using:

$ ./build/walletconsole/walletconsole 
Type 'help' for list of commands.
> help

Further details: developer.trustwallet.com/wallet-core/walletconsole.

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.x.x'
}

Replace with version

iOS

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

pod 'AITrustWalletCore'