EIP67 1.1.1

EIP67 1.1.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Dec 2017
SwiftSwift Version 4.0
SPMSupports SPM

Maintained by Ben Koska.



EIP67 1.1.1

  • By
  • DeveloperBen

EIP67

CI Status
Version
License
Platform

Installation

EIP67 is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'EIP67'

Features

  • EIP67 QR Code Decoding
  • EIP67 QR Code Generator

Usage

QR Code Decoding

let resp = EIP67Response(data: dataFromQRCode)
print("Address: \(resp.address)")
print("Amount: \(resp.amount)")
print("Gas: \(resp.amount)")

QR Code Generation

let qrcode = EIP67QRCode(address: "0x0000000000000000000000000000000000000000", value: 1.0, gas: 21000)
qrimageview.image = UIImage(CIImage: qrcode.image())

This will generate a QRCode using the EIP67 Standard that will transfer 1 ether to the address 0x0000000000000000000000000000000000000000 with a 21000 gas limit

Author

Ben Koska, [email protected]

License

EIP67 is available under the MIT license. See the LICENSE file for more info.