-
Exercise 1: Following the skeleton
-
Generate a new Wallet A and print its balance
-
Make a transfer:
-
Subscribing to transfers events and when event trigger print result and resolve
-
And then, send 1 unit from master to Wallet A
-
-
Print Wallet A balance
-
-
Exercise 2: Following the skeleton
-
Deploy the smart contract from the Master Wallet
-
Get smart contract ABI from base URL
-
Register the smart contract in Hancock
-
Subscribe to smart contract transactions and when event trigger call to smart contract 'balanceOf' method to get balance of Wallet A, print it and resolve
-
Invoke smart contract 'transfer' method from Master Wallet to Wallet A to transfer 1 token
-
-
Exercise 3: Following the skeleton, do the same as in the previous exercise but with the token API.
-
Notifications
You must be signed in to change notification settings - Fork 0
juansferrer/hancock-first-long-onigiri
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published