Submitting a tx to your own node with cardano-submit-api #13
Replies: 2 comments 2 replies
-
Thanks for providing this idea! Agree that BlockFrost is probably not the best solution for submitting transactions (hope they can solve this problem soon). Also, it is possible to implement a ChainContext with cardano-node/cardano-cli if we see values in the future. |
Beta Was this translation helpful? Give feedback.
-
Was thinking about this a bit too. I assume it would just be a lot of wrapping CLI commands and running them with subprocess. If there is ever a demand for it I could be willing to build this out, but I think for most people the most convenient method is probably just to use BlockFrost for everything but tx submissions. |
Beta Was this translation helpful? Give feedback.
-
Cardano Submit API is packaged within the Cardano Node repository and lets you submit transactions via a REST API endpoint.
I don't know if it makes sense to include this functionality in pycardano since Ogmios will cover most people's use-cases, but with all the network congestion going on I've been playing around with using BlockFrost for all queries but submitting via my own node.
It's pretty straightforward to submit a tx this way if you have
cardano-submit-api
already up and running, but I just wanted to document it here in case it might be useful for others.Submitting a
pycardano
transaction to a local node withcardano-submit-api
:Beta Was this translation helpful? Give feedback.
All reactions