# wallet-core **Repository Path**: tzthomas/wallet-core ## Basic Information - **Project Name**: wallet-core - **Description**: wallet-core - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-05-23 - **Last Updated**: 2023-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 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](https://trustwallet.com), 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. ![iOS CI](https://github.com/trustwallet/wallet-core/workflows/iOS%20CI/badge.svg) ![Android CI](https://github.com/trustwallet/wallet-core/workflows/Android%20CI/badge.svg) ![Linux CI](https://github.com/trustwallet/wallet-core/workflows/Linux%20CI/badge.svg) ![Wasm CI](https://github.com/trustwallet/wallet-core/workflows/Wasm%20CI/badge.svg) ![Docker CI](https://github.com/trustwallet/wallet-core/workflows/Docker%20CI/badge.svg) [![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/trustwallet/wallet-core) ![GitHub](https://img.shields.io/github/license/TrustWallet/wallet-core.svg) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/trustwallet/wallet-core) ![SPM](https://img.shields.io/badge/SPM-ready-blue) ![Cocoapods](https://img.shields.io/cocoapods/v/TrustWalletCore.svg) # Documentation For comprehensive documentation, see [developer.trustwallet.com](https://developer.trustwallet.com/wallet-core). # Supported Blockchains Wallet Core supports more than **60** blockchains: Bitcoin, Ethereum, BNB, Cosmos, Solana, and most major blockchain platforms. The full list is [here](docs/registry.md). # Building For build instructions, see [developer.trustwallet.com/wallet-core/building](https://developer.trustwallet.com/wallet-core/building). # Using from your project If you want to use wallet core in your project follow these instructions. ## Android Android releases are hosted on [GitHub packages](https://github.com/trustwallet/wallet-core/packages/700258), please checkout [this installation guide](https://docs.github.com/en/packages/guides/configuring-gradle-for-use-with-github-packages#installing-a-package), you need to add GitHub access token to install it. Add this dependency to build.gradle and run `gradle install` ```groovy plugins { id 'maven' } dependencies { implementation 'com.trustwallet:wallet-core:x.y.z' } ``` Replace x.y.z with latest version: ![GitHub release (latest by date)](https://img.shields.io/github/v/release/trustwallet/wallet-core) ## iOS We currently support Swift Package Manager and CocoaPods (will discontinue in the future). ### SPM Download latest `Package.swift` from [GitHub Releases](https://github.com/trustwallet/wallet-core/releases) and put it in a local `WalletCore` folder. Add this line to the `dependencies` parameter in your `Package.swift`: ```swift .package(name: "WalletCore", path: "../WalletCore"), ``` Or add remote url + `master` branch, it points to recent (not always latest) binary release. ```swift .package(name: "WalletCore", url: "https://github.com/trustwallet/wallet-core", .branchItem("master")), ``` Then add libraries to target's `dependencies`: ```swift .product(name: "WalletCore", package: "WalletCore"), .product(name: "SwiftProtobuf", package: "WalletCore"), ``` ### CocoaPods Add this line to your Podfile and run `pod install`: ```ruby pod 'TrustWalletCore' ``` ## NPM (beta) ```js npm install @trustwallet/wallet-core ``` ## Go (beta) Please check out the [Go integration sample](https://github.com/trustwallet/wallet-core/tree/master/samples/go). # Projects Projects using Trust Wallet Core. Add yours too! [Trust Wallet](https://trustwallet.com) [Coinpaprika](https://coinpaprika.com/) | [IFWallet](https://www.ifwallet.com/) | [crypto.com](https://crypto.com) | [Alice](https://www.alicedapp.com/) | [Frontier](https://frontier.xyz/) | [Tokenary](https://tokenary.io/) # Community 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: - Flutter binding https://github.com/weishirongzhen/flutter_trust_wallet_core - Python binding https://github.com/phuang/wallet-core-python - Wallet Core on Windows https://github.com/kaetemi/wallet-core-windows # Contributing The best way to submit feedback and report bugs is to [open a GitHub issue](https://github.com/trustwallet/wallet-core/issues/new). If you want to contribute code please see [Contributing](https://developer.trustwallet.com/wallet-core/contributing). If you want to add support for a new blockchain also see [Adding Support for a New Blockchain](https://developer.trustwallet.com/wallet-core/newblockchain), make sure you have read the [requirements](https://developer.trustwallet.com/wallet-core/newblockchain#requirements) section. Thanks to all the people who contribute. # License Trust Wallet Core is available under the MIT license. See the [LICENSE](LICENSE) file for more info.