How to use the JSON Ledger JSON to issue asset tokens?

Hello,
How to use the Ledger JSON API to issue token ? any clear docs to do that ?
Thanks in advance,

When you say, “token” are you referring to a JWT? Or an asset token?

I mean an Asset token

Asset tokens are Daml contracts – likely with an issuer, holder, and value.

You would need to first define a Daml template from which you can create contracts. The Amulet Daml template is an example of such a template.

You will want your token to support the Token Standard. This requires that your Daml template implement a Daml interface. It also requires that you provide some JSON API endpoints to support your token.

Then using the JSON Ledger API you can submit a create command. Search for submit-and-wait and CreateCommand here.

That’s the high-level, at least.


In case you missed it, the Canton Network Utilities supports the full tokenization workflow.

1 Like

Thanks for reply, I will check the provided links

@wshbair Since it looks like you’re new to Canton, but probably have prior experience with Ethereum, you might want to read the following article that aims to aid developers with EVM experience to get started with Daml.

1 Like