Actually, you’ll need to remove both policy.script and policy.skey, which are only needed when minting or burning. You only need the payment signing key for the --tx-in. Evidently, the ledger rejects transactions that have superfluous witnesses.
I am getting a similar error after sumit a transaction with cardano-cli: [("tx",Object (fromList [("txid",String "txid: TxId {_unTxId = \"c25b72bec788c4689619197a37db2b2f8333ef83a6167bae6d5b6a113e33b20c\"}")])),("kind",String "TraceMempoolRejectedTx"),("mempoolSize",Object (fromList [("numTxs",Number 0.0),("bytes",Number 0.0)])),("err",Object (fromList [("kind",String "MissingScriptWitnessesUTXOW"),("missingScripts",Array [String "8c506607930699cd719dde56a6474928e8b0939ab2414935e9872755"])]))]
You might want to verify that the file policy/policy.script does indeed hash to 8c506607930699cd719dde56a6474928e8b0939ab2414935e9872755 and that the required-signature key hash inside that file does match the hash for policy/policy.vkey.
As you can se the first requirement you pointed up is ok, the second one I really don’t understand what exactly are you meaning hahah, what it is ‘required-signature key hash inside policy/policy.script’ ? the “keyHash” value? so it would have to match the hash for policy/policy.vkey? and how could I check that? what means “match the hash for policy/policy.vkey”, it means be equal to the value of “cborHex”?
I am sorry if my questions are too basic haha, I am just starting with cardano hahah
Thank you very much for your time and response @bwbush
It looks like you are using the wrong value for the policy ID in your transaction: instead of 8c506607930699cd719dde56a6474928e8b0939ab2414935e9872755, which is the hash of the verification key policy/policy.vkey, you need to compute the policy ID from the hash of policy/policy.script. The following command will compute the policy ID for that script:
If you replace 8c506607930699cd719dde56a6474928e8b0939ab2414935e9872755.melcoin in your transaction with 68295ef9586b6e278bbcbce58d981313322e4970a463a88cde0d94c7.melcoin, then the transaction should validate.
Hello all,
I’m very exciting with the cardano project!
I just received some test tokens from Faucet and wanted to send it back. However, when I attempt to submit the transaction I get error message.