Hi,
i am newbie here. i want to send metadata transacation untuk cardano-cli. I followed the instruction here How to create a metadata transaction using cardano-cli | Cardano Developer Portal. when i perform this command : cardano-cli transaction submit --tx-file tx.signed --testnet-magic 1097911063
the error occured was like this :
cardano-cli: HandshakeError (Refused NodeToClientV_15 “version data mismatch: NodeToClientVersionData {networkMagic = NetworkMagic {unNetworkMagic = 2}, query = False} /= NodeToClientVersionData {networkMagic = NetworkMagic {unNetworkMagic = 1097911063}, query = False}”)
i try to resove by learn from many resource it seems the version of cardano node didnt match. i have no idea about this. i want to submit the metatrasaction using cardano-cli, i thought i can learn alot if i start from cardano-cli rather than API like python API etc. Anybody have a clue about this problem?
Well, the testnet with the magic number 1097911063 was discontinued some time ago. We now have Preprod with magic number 1 and Preview with magic number 2.
The error indicates that your cardano-node is a Preview one.
Do you have any guidance about transisition form testnet to mainnet. I already finished my app using cardano blockchain but still in preview mode. So i need to take further step taht is migration to mainnet. Any guide or tip ? my app only based on this guide : Running the node and connecting to a network | cardano course. I need more information reagrding migration from testnet to mainnet. Thanks in advanced.