The cardano-wallet
api documentation describes an endpoint which appears useful for minting native assets (https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/mintBurnAssets). Everything in the request seems pretty straightforward except for the way in which you would go about defining the monetary policy. For example, we want our policy to allow future minting by a specific wallet id, among other attributes.
The only field in this api call which appears related to monetary policy is the monetary_policy_index
field inside the mint_burn
list. This field takes a string, but as there is no example usage, it's unclear to me how to use that to define a complex monetary policy.
Does anyone have a concrete example of minting native assets using cardano-wallet
?