A helper function to make Transactions with controlled accounts in WalletContext.
Particularly, the wallet needs to own gas objects for transactions.
However, if this function is called multiple times without any “sync” actions
on gas object management, txns may fail and objects may be locked.
Pre-requisite: publish_nfts_package
must be called before this function. Executes a
transaction to create an NFT and returns the sender address, the object id of the NFT, and the
digest of the transaction.
Executes a transaction to delete the given NFT.
Executes a transaction that generates a new random u128 using Random and emits it as an event.
Executes a transaction to increment a counter object.
Must be called after calling publish_basics_package_and_make_counter
.
Executes a transaction to publish the basics
package and returns the package object ref.
Executes a transaction to publish the basics
package and another one to create a counter.
Returns the package object ref and the counter object ref.
Executes a transaction to publish the nfts
package and returns the package id, id of the gas
object used, and the digest of the transaction.