Skip to content
This repository has been archived by the owner on May 22, 2022. It is now read-only.

pascalbros/IotaKit

Repository files navigation

IotaKit

DEPRECATED. Please use the new library IOTA wallet binding

The IOTA Swift API Library

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

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

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'

Class Reference

The class reference 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.

About

IotaKit: The IOTA Swift API Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages