OpenViSTAI · Agents · Blockchain · Crypto
Menu
Developer Tools

Solana.swift

Solana.Swift is an open-source Swift library for signing and sending transactions and interacting with programs on the Solana network. It provides RPC configuration, account and key-pair utilities, mnemonic support, sockets, asynchronous support and Swift Package Manager integration.

Independent OpenViST project profile, based on linked sources.

Solana.swift — OpenViST project profile in Developer Tools.
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. In Xcode, open File > Swift Packages > Add Package Dependency.

  2. Enter https://github.com/metaplex-foundation/Solana.Swift.

  3. 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.
Evidence and transparency

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