Practical overview
When it fits
Use it when a Swift application needs Solana transaction signing or program interaction and the project can meet the documented Swift and platform requirements.
Who it is for
- Swift developers building iOS, macOS, tvOS or watchOS applications that interact with Solana.
- Teams implementing wallet signing and account handling within a Swift application.
Documented uses
- Add Solana transaction signing and sending to a Swift app.
- Configure RPC connections to devnet, testnet, mainnet or a custom endpoint.
- Create or recover mnemonic-based accounts, or provide a custom implementation of the Signer protocol.
- Make Solana RPC calls from a Swift project.
Requirements & limits
The repository identifies the library as open source under the MIT license.
- Requires Swift 5.3 or later; documented minimums include iOS 11.0, macOS 10.12, tvOS 11.0 and watchOS 3.0.
- The app must configure an RPC endpoint through NetworkingRouter for network interaction.
- The Signer protocol leaves secret-key handling to the app’s implementation. The included HotAccount exposes a secretKey held in a variable, which the README says may not be suitable for secure permanent storage.
- The README reports 53% test coverage.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Add Solana.Swift to an Xcode project
Include the Solana library as a Swift Package Manager dependency.
Before you start
- Xcode project
- Swift 5.3 or later
- iOS 11.0+, macOS 10.12+, tvOS 11.0+ or watchOS 3.0+
Steps
In Xcode, open File > Swift Packages > Add Package Dependency.
Enter https://github.com/metaplex-foundation/Solana.Swift.
Select the master branch and the Solana product.
Expected outcome
The project has the Solana package available as a dependency.
Guide limitations
- This covers package addition only; it does not configure an RPC endpoint or implement transaction signing.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 October 2026
- Original website title
- metaplex-foundation/Solana.Swift · Official homepage title · retained in its source language

