TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Dec 2017 |
SwiftSwift Version | 4.0 |
SPMSupports SPM | ✗ |
Maintained by Ben Koska.
EIP67 is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'EIP67'
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
Ben Koska, [email protected]
EIP67 is available under the MIT license. See the LICENSE file for more info.