Practical overview
When it fits
Use it when building an iOS app in Swift that needs the account and transaction utility functions shown in the project README.
Who it is for
- Swift developers building iOS applications that need Ethereum and Geth account utilities.
- Teams adding transaction encoding or signing building blocks to an application.
Documented uses
- Create or import an account and manage a Geth-based account keystore.
- Create and encode an Ethereum transaction function, such as a token transfer call.
- Sign encoded transaction function data using supplied transaction parameters.
Requirements & limits
The project is published as a public GitHub repository under the MIT license.
- The README lists iOS 9.0+, Xcode 9.2+ and Swift 4.0.0 as requirements.
- The documented dependency setup uses CocoaPods and the repository's master branch.
- Geth's lack of bitcode support means the README instructs developers to turn bitcode off.
- The README identifies complete documentation as unfinished and additional features as work in progress.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Add Web3.Swift to an iOS project with CocoaPods
Declare the library as a CocoaPods dependency and install it in an Xcode project.
Before you start
- iOS target set to 9.0 or later
- Xcode 9.2 or later
- Swift 4.0.0
- CocoaPods; the README specifies CocoaPods 1.1+ for building web3swift 4.0+
Steps
Add the documented CocoaPods source and iOS platform declaration to the Podfile.
Within the target block, enable frameworks and declare web3swift from the MercuryProtocol Git repository on the master branch.
Run pod install.
Expected outcome
The README's documented dependency setup for integrating web3swift into an Xcode project is in place.
Guide limitations
- The README says bitcode support must be disabled because Geth does not support bitcode.
- For iOS simulator compilation, the README notes that arm7 may need to be removed from valid architectures.
- The README marks complete documentation as unfinished.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 October 2026
- Original website title
- MercuryProtocol/web3.swift · Official homepage title · retained in its source language

