Latest 0.7.1
Homepage https://github.com/pascalbros/IotaKit
License MIT (Copyright (c) 2018 Pasquale Ambrosini)
Platforms ios 8.0, osx 10.10, requires ARC
Authors

The IOTA Swift API Library

Please, be careful, it’s a work-in-progress project

  • [x] Full support for address generation (with Keccak written in C)
  • [x] Basic commands to a full-node
  • [x] One-func account retrieval
  • [x] Automatic node selector
  • [x] Local PoW
  • [x] Attach to tangle (0i tx)
  • [x] Replay Bundle
  • [x] Transfer (>0i tx)
  • [x] Promote
  • [x] Multisignature Support

Compatibility

IotaKit is compatible with all architectures, tested on iOS/MacOS/Ubuntu.

Dependencies

Foundation

Dispatch

Compile

MacOS

Compile it directly from Xcode project or follow the Ubuntu instructions

Ubuntu

cd IotaKit

swift build

Install

CocoaPods

pod 'IotaKit', '~> 0.7.1'

Class Reference

The class reference (Work in Progress) is available here

Example

The usage should be straightforward, it is very similar to the official JS lib

let iota = Iota(node: "http://localhost", port: 14265)

iota.nodeInfo({ (result) in
    print(result)
}) { (error) in
    print(error)
}

Author

IotaKit is maintained by Pasquale Ambrosini

You can follow me on Twitter at @PascalAmbro.

Thanks

Iota Foundation for Entangled C code for Proof-of-Work.

License

IotaKit is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Latest podspec

{
    "name": "IotaKit",
    "swift_version": "4.1",
    "version": "0.7.1",
    "summary": "The IOTA Swift API Library",
    "description": "The IOTA Swift API Library.nIotaKit is compatible with all architectures, tested on iOS/MacOS/Ubuntu.",
    "homepage": "https://github.com/pascalbros/IotaKit",
    "license": "MIT (Copyright (c) 2018 Pasquale Ambrosini)",
    "source": {
        "git": "https://github.com/pascalbros/IotaKit.git",
        "tag": "v0.7.1"
    },
    "authors": {
        "Pasquale Ambrosini": "[email protected]"
    },
    "platforms": {
        "ios": "8.0",
        "osx": "10.10"
    },
    "requires_arc": true,
    "module_map": "IotaKit.modulemap",
    "source_files": "Sources/**/*.{swift,c,h}",
    "pod_target_xcconfig": {
        "SWIFT_INCLUDE_PATHS": "$(PODS_TARGET_SRCROOT)/Sources/sha3/** $(PODS_TARGET_SRCROOT)/Sources/cpow",
        "LIBRARY_SEARCH_PATHS": "$(PODS_TARGET_SRCROOT)/Sources/",
        "SWIFT_VERSION": "4.0"
    },
    "exclude_files": "Sources/IotaKit/Utils/Crypto.swift",
    "preserve_paths": [
        "Sources/sha3/include/module.modulemap",
        "Sources/cpow/include/module.modulemap"
    ]
}

Pin It on Pinterest

Share This