Kukai Core Swift is a native Swift library for interacting with the Tezos blockchain and other applications in the Tezos ecosystem, such as the Tezos Node RPC, the indexer TzKT, the smart contract explorer Better Call Dev, the API from the NFT marketplace OBJKT.com etc.
The purpose of this SDK is not to provide a complete feature set for every aspect of Tezos, instead it is the base building block for the Kukai iOS mobile app, that we open source and make avaialble for anyone looking for similar functionality. We are open to accepting PR's and discussing changes/features. However if its not related to the kuaki mobile app, such work is likely better suited in a standalone package, with this as a dependency.
Feature set includes:
taquito-local-forging-vanilla.zip
. e.g. hereKukai Core Swift supports the Swift Package Manager. Either use the Xcode editor to add to your project by clicking File
-> Swift Packages
-> Add Package Dependency
, search for the git repo https://github.com/kukai-wallet/kukai-core-swift.git
and choose from version x.x.x
(see tags for latest).
Or add it to your Package.swift
dependencies like so:
dependencies: [
.package(url: "https://github.com/kukai-wallet/kukai-core-swift", from: "x.x.x")
]
Wallets are created using dedicated classes for each type, conforming to the Wallet
protocol. Wallets are created using Mnemonic
objects, see Kukai Crypto Swift for more details on those
Mnemonic
, an optional passphrase, and optionally specify the EllipticalCurve
you want (ed25519
for TZ1..., secp256k1
for TZ2...)Mnemonic
, an optional passphrase, and an optional BIP 44 derivation pathThe main functionality centres around client classes and a factory:
For working example, see the kukai mobile ios app here
Compiled Swift Doc's can be found here
link |
Stars: 10 |
Last commit: 2 days ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics