I want to use the "Submit a transaction" method in Blockfrost but it needs an already serialized transaction. Does anybody know how to serialize a transaction in python? (I don't wanna use CLI or anything like that)
1 Answer
Good news, there is a python implementation available! https://github.com/cffls/pycardano
I haven't used it myself but the Readme claims this library is able to build and sign transactions. It even comes with an example for exactly this purpose: https://github.com/cffls/pycardano#transaction-creation-and-signing
-
-
Can it compile Plutus. I looked at the docs but I am too new to this whole thing to even be able to tell. I just want to programmatically generate simple scripts. Commented Apr 29, 2022 at 5:02
cardano-cli
. Quickly searching for a python wrapper I've found github.com/creativequotient/automint