Thats neat so does that require two Keygens or something like this to make a second hash ?
Yes, would need that. And as it only really makes sense, when there are several people involved, the Y and Z people should do their keygens on their machines, store the skeys safely and securely, and send the vkeys to X, who then derives the hashes and puts them in the policy.
Hi I am building some more tests to run tonight as my minting practise for the official mint later tonight or tomorrow morning.
I may go through a few more steps with you if thats ok, I am using Deadalus as the node btw
So Transaction building are you saying use this syntax or similer ?
cardano-cli transaction build \
–testnet-magic 1097911063 \
–tx-in $txhash#$txix \
–tx-out $targetaddr+$output+$amount\ $policyid.$tokenbase16 \
–mint $amount\ $policyid.$tokenbase16 \
–minting-script-file policy.script \
–witness-override 2 \
– invalid-hereafter 47981293
Also what about this string $tokenbase16 is that invalid on Deadalus too ? So replace with $tokenname ?
Yes, replace with
So –change-address which address does that relate to again please is it recipient ?
Talking of which I would like at least 8 wallets recipients each with different amounts of tokens I gather this will save just one transaction fee for the data. How is the syntax for multiple wallets each with a different amount of the same token is it + or something in the mint ?
Also is metadata for the token officially supported
See like this token
Change address is the address, where the change goes to – everything that is not cosumed by other
--tx-outs or the fee. I would take the minting payment address, so that you have funds for the next minting or sending in there.
--tx-outs, one for each address, will all need some minimal lovelace to go with them (after the first
+, in the example the variable
$output, as always the variables are a shell thing, you can also give the value directly in the command parameter). The number of tokens for each of the 8 outputs goes after the second
+, the variable
$amount in the example, just before the token designation
$policyid.$tokenname. The numbers in sum should be the same amount you minted. No need to change anything in the
Ah ok so its in the transaction build command can I check ?
Then also I was looking up to make sure the token support decimal values where is that done ?
You can use the asset fingerprint to navigate to their minting transaction and its metadata on Cardanoscan:
Their you can see that they just put the logo in
"image" and in
Like this ?
+$targetaddr8+$output8+$amount8 \ $policyid.$tokenname\
No, it’s multiple
–tx-out $targetaddr1+$output1+$amount1\ $policyid.$tokenname \ –tx-out $targetaddr2+$output2+$amount2\ $policyid.$tokenname \ –tx-out $targetaddr3+$output3+$amount3\ $policyid.$tokenname \ –tx-out $targetaddr4+$output4+$amount4\ $policyid.$tokenname \ –tx-out $targetaddr5+$output5+$amount5\ $policyid.$tokenname \ –tx-out $targetaddr6+$output6+$amount6\ $policyid.$tokenname \ –tx-out $targetaddr7+$output7+$amount7\ $policyid.$tokenname \ –tx-out $targetaddr8+$output8+$amount8\ $policyid.$tokenname \
Also note that the backslash at the end of each line is just a shell thing. You could also put everything in one big line, but if and only if you want to input a command over several lines to not lose track each line but the final one has to end with a backslash. Has nothing to do with Cardano.
Thanks I get that, I need a refresh on metadata.json and the steps to generate what is 721 ? This is how my test meta data starts
I dont remember how I that number is made from policy ?
“721” is just a constant telling software looking at it – pool.pm, wallet apps, … – that it’s metadata for a token and not something else – a Catalyst registration, a pool delegation, whatever.
Didn’t we have the metadata topic in another thread? There’s CIPs/CIP-0025 at master · cardano-foundation/CIPs · GitHub that should basically tell you everything.
Hi yes we did have a thread I cannot find it only this topic and the node sync .
So I can essentially hand code it with the policy number inserted, or do you usually do that with an echo?
I think I’ll simplify the --tx-out to four wallets I need only to do the output amount once like you said ?
So reset this variable in between with minimal amount ?
I would never do this
echo, but always use an editor.
Don’t know if it’s a good choice for the tutorial. Makes getting the zillion variables into that file easier, but copying the values in place is what I would do.
Ok thanks I am seeing the process better now
Do you make a dir called “tokens/testnet” or “yourtokensname/testnet” Wondering how to keep it tidy between test and mainnet or can i use the same folder ?
I have just realised my mistake with this and it opens up a whole new thread so I will create a new topic. So it appears decimals is not part of the minting its part of the registry and I am not sure these commands exist for token registry metadata creation within Deadalus ?