user4057: I followed the NFT minting docs on https://developers.cardano.org/docs/native-tokens/minting-nfts which works very well for the first transaction.
I'm currently stuck trying to mint a second NFT. It's not clear to me, what kind of data has to be regenerated and what needs to be kept for the cli commands their parameters.
for the second transaction I've tried with and without regenerating policy keys and policyID. I adjusted the txhash and funds values, as those have changed after the first transaction. nothing really works.
here is the error I'm getting:
Command failed: transaction submit  Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (UtxoFailure (ValueNotConservedUTxO (Value 999813423 (fromList [(PolicyID {policyID = ScriptHash "b5c707bc10063ae8ab04c2f7b99c3ed1f0bdd82266369367a7bef050"},fromList [("NFT1",1)]),(PolicyID {policyID = ScriptHash "fcd60019e5c25602201d5a28f73b7749e85efab6a31dbb7aa461132b"},fromList [("NFT1",1)])])) (Value 999813423 (fromList [(PolicyID {policyID = ScriptHash "b5c707bc10063ae8ab04c2f7b99c3ed1f0bdd82266369367a7bef050"},fromList [("NFT1",1)])])))))])

I hope someone can give me advice what kind of parameters need to change after the first transaction is done.
best

user4057: Sorry for not providing more context and code / scripts in the original question. however, I found the solution to my problem and want to share it in case anyone else has a similar issue.
for the very first transaction from/to a given address, the --tx-out param looked something like this:
--tx-out addr_test1vqjf8aak5fn3u2la4dgwyda98s2py3f9pqcmnhfq93ugq0qkctw7v+0+1 "90fa8ff2fb851f92fd239574334a37762bc22dcdf0595a269ad300c8.NFT1"
which is basically $address+$fees+"$tokenamount $policyID.$tokenname"
for the second transaction I just tried to replace $fees, $tokenamount, $policyID and $tokennamewith values from another NFT. what I didn't know is that $tokenamount, $policyID and $tokenname of the first transaction (or from all previous transactions) also have to be appended to the new value for the --tx-out param. so it would look like this:
--tx-out addr_test1vqjf8aak5fn3u2la4dgwyda98s2py3f9pqcmnhfq93ugq0qkctw7v+0+1 "90fa8ff2fb851f92fd239574334a37762bc22dcdf0595a269ad300c8+NFT1" "1 9bb49c25ea28964c96d119ecb3a9425d39a390e6c34974f2637c750e.NFT2
best

user1045: You should wait until transaction is finished and UTxO's are updated in your wallet.
A way to do it is to create a script that will query UTxO's for your wallet and once UTxO's are changed you run next transaction.
You can query it either directly from CLI and parse the results, or you can query it via cardano-graphql or Blockfrost.io API.

4057: <p>I followed the NFT minting docs on <a href="https://developers.cardano.org/docs/native-tokens/minting-nfts" rel="nofollow noreferrer">https://developers.cardano.org/docs/native-tokens/minting-nfts</a> which works very well for the first transaction.</p>
<p>I'm currently stuck trying to mint a second NFT. It's not clear to me, what kind of data has to be regenerated and what needs to be kept for the cli commands their parameters.</p>
<p>for the second transaction I've tried with and without regenerating policy keys and policyID. I adjusted the <code>txhash</code> and <code>funds</code> values, as those have changed after the first transaction. nothing really works.</p>
<p>here is the error I'm getting:</p>
<pre><code>Command failed: transaction submit  Error: Error while submitting tx: ShelleyTxValidationError ShelleyBasedEraAlonzo (ApplyTxError [UtxowFailure (WrappedShelleyEraFailure (UtxoFailure (ValueNotConservedUTxO (Value 999813423 (fromList [(PolicyID {policyID = ScriptHash &quot;b5c707bc10063ae8ab04c2f7b99c3ed1f0bdd82266369367a7bef050&quot;},fromList [(&quot;NFT1&quot;,1)]),(PolicyID {policyID = ScriptHash &quot;fcd60019e5c25602201d5a28f73b7749e85efab6a31dbb7aa461132b&quot;},fromList [(&quot;NFT1&quot;,1)])])) (Value 999813423 (fromList [(PolicyID {policyID = ScriptHash &quot;b5c707bc10063ae8ab04c2f7b99c3ed1f0bdd82266369367a7bef050&quot;},fromList [(&quot;NFT1&quot;,1)])])))))])
</code></pre>
<p>I hope someone can give me advice what kind of parameters need to change after the first transaction is done.</p>
<p>best</p>
 4057: <p>Sorry for not providing more context and code / scripts in the original question. however, I found the solution to my problem and want to share it in case anyone else has a similar issue.</p>
<p>for the very first transaction from/to a given address, the <code>--tx-out</code> param looked something like this:</p>
<p><code>--tx-out addr_test1vqjf8aak5fn3u2la4dgwyda98s2py3f9pqcmnhfq93ugq0qkctw7v+0+1 &quot;90fa8ff2fb851f92fd239574334a37762bc22dcdf0595a269ad300c8.NFT1&quot;</code></p>
<p>which is basically <code>$address+$fees+&quot;$tokenamount $policyID.$tokenname&quot;</code></p>
<p>for the second transaction I just tried to replace <code>$fees</code>, <code>$tokenamount</code>, <code>$policyID</code> and <code>$tokenname</code>with values from another NFT. what I didn't know is that <code>$tokenamount</code>, <code>$policyID</code> and <code>$tokenname</code> of the first transaction (or from all previous transactions) also have to be appended to the new value for the <code>--tx-out</code> param. so it would look like this:</p>
<p><code>--tx-out addr_test1vqjf8aak5fn3u2la4dgwyda98s2py3f9pqcmnhfq93ugq0qkctw7v+0+1 &quot;90fa8ff2fb851f92fd239574334a37762bc22dcdf0595a269ad300c8+NFT1&quot; &quot;1 9bb49c25ea28964c96d119ecb3a9425d39a390e6c34974f2637c750e.NFT2</code></p>
<p>best</p>
 1045: <p>You should wait until transaction is finished and UTxO's are updated in your wallet.</p>
<p>A way to do it is to create a script that will query UTxO's for your wallet and once UTxO's are changed you run next transaction.</p>
<p>You can query it either directly from CLI and parse the results, or you can query it via <a href="https://github.com/input-output-hk/cardano-graphql" rel="nofollow noreferrer">cardano-graphql</a> or <a href="https://blockfrost.io/" rel="nofollow noreferrer">Blockfrost.io</a> API.</p>
