Swiftpack.co - trustwallet/wallet-core as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by trustwallet.
trustwallet/wallet-core 3.1.12
Cross-platform, cross-blockchain wallet library.
โญ๏ธ 2,117
๐Ÿ•“ Yesterday
.package(url: "https://github.com/trustwallet/wallet-core.git", from: "3.1.12")

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 (Kotlin) for Android.

iOS CI Android CI Linux CI Wasm CI Docker CI

Gitpod Ready-to-Code GitHub GitHub release (latest by date) SPM Cocoapods


For comprehensive documentation, see developer.trustwallet.com.

Supported Blockchains

Wallet Core supports more than 60 blockchains: Bitcoin, Ethereum, BNB, Cosmos, Solana, and most major blockchain platforms. The full list is here.


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 releases are hosted on GitHub packages, you need to add GitHub access token to install it. Please checkout this installation guide or build.gradle from our android sample

Don't forget replacing the version in the code with latest: GitHub release (latest by date)


We currently support Swift Package Manager and CocoaPods (will discontinue in the future).


Download latest Package.swift from GitHub Releases and put it in a local WalletCore folder.

Add this line to the dependencies parameter in your Package.swift:

.package(name: "WalletCore", path: "../WalletCore"),

Or add remote url + master branch, it points to recent (not always latest) binary release.

.package(name: "WalletCore", url: "https://github.com/trustwallet/wallet-core", .branchItem("master")),

Then add libraries to target's dependencies:

.product(name: "WalletCore", package: "WalletCore"),
.product(name: "SwiftProtobuf", package: "WalletCore"),


Add this line to your Podfile and run pod install:

pod 'TrustWalletCore'

NPM (beta)

npm install @trustwallet/wallet-core

Go (beta)

Please check out the Go integration sample.


Projects using Trust Wallet Core. Add yours too!

Trust Wallet

Coinpaprika | IFWallet | crypto.com | Alice | Frontier | Tokenary | MemesWallet


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:


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.


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


Stars: 2117
Last commit: 3 hours ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes


What's Changed

Breaking Change

Elrond was renamed to MultiversX (change protobuf accordingly)

New features

  • ๐Ÿ“– ERC4337 Transactions support by @rsrbk


  • โšก ThorChain: change deposit function to depositWithExpiry by @Milerius


  • โšก ThorChain: fix overflow for big amount by @Milerius
  • โš’๏ธ Flux: Fix empty lock script data for Flux (zelcash) by @hewigovens


  • โœ๏ธ Codegen: Mark java class as final to avoid kt doc confusion by @Milerius
  • :electron: Rebranding: Code-wise rebranding of Elrond to MultiversX by @andreibancioiu
  • ๐Ÿ–Š๏ธ Misc: Update CODEOWNERS by @Milerius
  • ๐Ÿ“ฑ iOS: remove catalyst for fastlane by @Milerius
  • ๐Ÿ“ฑ iOS: Temporary disable mac build by @Milerius
  • ๐Ÿ‘จโ€๐Ÿ’ป Rust: Re-enable rust build for mac catalyst by @Milerius
  • ๐Ÿงน CleanUp: Some post-PR cleanups by @rsrbk

Full Changelog: https://github.com/trustwallet/wallet-core/compare/3.1.10...3.1.12

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics