pokt-network / pocket-ios-sdk

An iOS SDK to connect to the Pocket Network
MIT License
6 stars 3 forks source link

Update Transaction model #8

Closed luyzdeleon closed 6 years ago

luyzdeleon commented 6 years ago

Create TransactionData which extends from [AnyHashable: Any].

Transaction model needs to have the following properties:

public var nonce = "" public var data:TransactionData? public var signed = "" public var wallet:Wallet?

And the following functions

func isSigned() -> Bool; func sign() throws -> Void;