ravidsrk / wallet-core

Cross-platform, cross-blockchain wallet library.

Home Page:https://developer.trustwallet.com/wallet-core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Codacy Badge Codecov GitHub Maven Cocoapods Cocoapods platforms

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 'TrustWalletCore'

Add your project below

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.

About

Cross-platform, cross-blockchain wallet library.

https://developer.trustwallet.com/wallet-core

License:MIT License


Languages

Language:C++ 53.9%Language:C 29.4%Language:Swift 7.5%Language:Kotlin 3.9%Language:HTML 1.5%Language:Ruby 1.2%Language:CMake 1.1%Language:Python 0.8%Language:Shell 0.5%Language:Java 0.1%Language:Objective-C 0.1%Language:Dockerfile 0.0%Language:Nix 0.0%