Last active
October 11, 2018 14:00
-
-
Save fortmarek/ebf761d7f43796ee4587bc89203c1340 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let testContractAddress = try! Address(describing: "0xb8f016F3529b198b4a06574f3E9BDc04948ad852") | |
query.helloContract(at: testContractAddress).testString(greetString: "Greetings!").send(using: key, amount: Wei(10)).startWithResult { result in | |
switch result { | |
case .success(let hash): | |
print(hash) | |
print("Test greetings succeeded!") | |
case .failure(let error): | |
print(error) | |
print("Test greetings failed.") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment