/wallet-core

Cross-platform, cross-blockchain wallet library.

Primary LanguageCMIT 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, Java for Android and JavaScript/TypeScript for Node.js).

iOS status Android status Linux status JavaScript status

Codacy Badge Codecov GitHub Maven Central Cocoapods Cocoapods platforms npm

Supported Blockchains

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

Usage

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

Android

Add this dependency to build.gradle:

dependencies {
    implementation 'com.trustwallet.walletcore:walletcore:0.12.1'
}

iOS

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

pod 'TrustWalletCore'

JavaScript

Type definititions are included in the package. To install the npm package, run

npm install trust-wallet-core

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.

License

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