Closed sokunthaneth-nbc closed 1 year ago
Apologies for lacking documentation Here's how it's supposed to look like:
asset_id = asset.Id("time#wonderland", "alice@wonderland")
destination = Expression(Value.Id(Id.AssetId(asset_id)))
amount = Expression(Value.U32(42))
mint_amount = Mint(amount, destination)
cl.submit_isi(mint_amount)
I trust @6r1d will update documentation accordingly.
I have also just pushed a new commit to iroha2-edge
branch that should've smoothed out possible inconsistencies in schema which I would advise to pull.
I'm closing the issue for now, please feel free to re-open if you encounter any further problems.
The snippet to mint asset in the documentation doesn't work. Please revise.
The error