For eth:

Create smart contract minter

Deploy that contract into the blockchain

Make API calls on that deployed contract thru your website

Client will click mint button -> API mint interaction to smart contract

As for cardano this is seemingly complex, this is my understanding so far (are they correct?)

Cardano node must be running on your machine

Interact with node using cardano cli, start minting at this point

Get all minted token and start distributing it to people

With this I am the one minting all of the tokens and distribute it to people, is there a way to do it like in eth?

1 Answer 1


You don't need to run your own node, if you don't want to. You can always use an API service like Blockfrost to interact with the blockchain instead. This is also how light wallets like MetaMask, Nami wallet etc. read on-chain data and submit transactions. You can use such a service on your own backend, too.

As for minting and distributing there are many ways you can go about. Cardano is special in that you don't even need smart contracts for minting, which makes it much easier.

You also don't need to pre-mint; you can mint on-demand. So without using smart contracts, but with your own backend service running, a setup could look like this:

When the buyer hits the buy button:

Within that single transaction you can have:

  • User mint NFT into their own wallet
  • User pays you amount x for the NFT
  • User pays for network fee

(You can of course also use smart contracts for minting / distributin of your NFTs; the articles in this answer might help you get started: https://cardano.stackexchange.com/a/4426/4627)

  • It seems that blockfrost doesn't have any apis for minting. cardano.stackexchange.com/questions/3726/…
    – renzCNFT
    Commented Jun 5, 2022 at 9:04
  • You mint a token by submitting a „minting transaction“ through the tx submit endpoint. That transaction needs to be created either in the browser or in your backend beforehand.
    – sean
    Commented Jun 5, 2022 at 9:07
  • I am not sure, why you need the NFT creation to be signed by your backend. The NFT belongs to the person who is minting and hence being signed by him should be enough or not ? Or else we are centralising the whole thing and adds extra unnecessary work. Pls correct me ... with arguments.
    – LKBH Pools
    Commented Jun 9, 2022 at 23:02
  • The question is about an "nft collection" owned by the op, and such a collection usually shares the same minting policy, so you can verify authenticity (check which nft really belongs to this original collection). This policy would usually restrict who can mint nfts that belong to this collection and hence you'd likely have a central authority providing this signature (the key for this should be kept safely on the backend). Technically though you're right in that you can mint nfts also in the wild without any such measure.
    – sean
    Commented Jun 10, 2022 at 5:55
  • But is imposible to add random characters image with this right? since user can see tha transaction that they are signing... unless using some source of randomless... wich i currently do not know any... Commented Jul 6, 2022 at 1:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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