Elegant Web3js functionality in Swift. Native ABI parsing and smart contract interactions on Ethereum network.
Web3swift requires Swift 4.2 and deploys to macOS 10.10
, iOS 9
, watchOS 2
and tvOS 9
and linux
.
Don't forget to set the iOS version in a Podfile, otherwise you get an error if the deployment target is less than the latest SDK.
Swift Package Manager:
Although the Package Manager is still in its infancy, web3swift provides full support for it.
Add this to the dependency section of your Package.swift
manifest:
.package(url: "https://github.com/BANKEX/web3swift.git", from: "2.1.0")
CocoaPods: Put this in your Podfile
:
pod 'web3swift.pod'
Carthage: Put this in your Cartfile
:
github "BANKEX/web3swift" ~> 2.1
Hi. We spend a lot of time working on documentation. If you have some questions after reading it just open an issue or ask in our discord channel. We would be happy to help you.
Most of the classes are documented and have some examples on how to use it.
For the latest version, please check develop branch.
Changes made to this branch will be merged into the master branch at some point.
develop
branch.