Service in python to mint NFTs on tesnet using the standard CIP-0025
- Creates every time a new policyId based on the current slot.
- Receives two parameters:
- name: name of the nft
- address: address to which the nft is sent
- Additional to the nft, it also pays 2 ADA as minUtxo to the received address
- Run a cardano-node
- Create a
payment
folder and store your key files:payment.addr
payment.svkey
- Create a
policy
folder and store your policy files:policy.skey
In my case, I'm using a virtual environment with python: 3.6.9
source <path-to-virtual-env>/bin/activate
gunicorn --bind 0.0.0.0:5000 --timeout=300 -k gevent mint-nft:api --reload