user4427: i have 2 wallet in my node, each one hold different Asset and ADA.
i want to sign a transaction with "cardano-cli transaction sign" command, using 2 times the "--signing-key-file " option for the 2 different wallets .., and i want to send all this tokens and ada to an unknown wallet.
is it possible?
example,
wallet_1 = holds 10 ADA
wallet_2 = holds 100 Tokens
            cardano-cli transaction sign \
                --signing-key-file $paymentSignKeyPath_A \
                --signing-key-file $paymentSignKeyPath_B \
                --tx-body-file ${txraw} \
                --out-file ${txsigned} \
                --mainnet >> $log

is that possible=? and also is it possible this one to be sent to an unknown 3rd wallet?
thank you,
TTS17

user4302: Yes it is possible, as long as the raw transaction is properly built.
If you wish to consolidate all UTXOs in the two wallets into a single one on the third wallet, you'd use all the UTXOs as --tx-in, and have a single --tx-out. Also, make sure that when estimated the fee, indicate that there will be two witnesses.

4427: <p>i have 2 wallet in my node, each one hold different Asset and ADA.
i want to sign a transaction with &quot;cardano-cli transaction sign&quot; command, using 2 times the &quot;--signing-key-file &quot; option for the 2 different wallets .., and i want to send all this tokens and ada to an unknown wallet.</p>
<p>is it possible?</p>
<p>example,
wallet_1 = holds 10 ADA
wallet_2 = holds 100 Tokens</p>
<pre><code>            cardano-cli transaction sign \
                --signing-key-file $paymentSignKeyPath_A \
                --signing-key-file $paymentSignKeyPath_B \
                --tx-body-file ${txraw} \
                --out-file ${txsigned} \
                --mainnet &gt;&gt; $log
</code></pre>
<p>is that possible=? and also is it possible this one to be sent to an unknown 3rd wallet?</p>
<p>thank you,
TTS17</p>
 4302: <p>Yes it is possible, as long as the raw transaction is properly built.</p>
<p>If you wish to consolidate all UTXOs in the two wallets into a single one on the third wallet, you'd use all the UTXOs as <code>--tx-in</code>, and have a single <code>--tx-out</code>. Also, make sure that when estimated the fee, indicate that there will be two witnesses.</p>
