1

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?

0

It is not possible to create complex monetary policies using the cardano-wallet. As far as I know, it is not even possible to create a time lock for the policy in it.

For example, we want our policy to allow future minting by a specific wallet id, among other attributes.

For such policy, you might need to use Plutus.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.