send signed payouts via graphql mutation
Closed this issue · 0 comments
jrwashburn commented
Once the payor key is funded, the transactions need to be broadcast on the network via the graphql mutation.
See Submitting a Signed Transaction here: https://minaprotocol.com/docs/advanced/operating-for-data
Two things to consider:
- this need to be a separate command that can be run after the main calculation
- this command is what should track that we actually made the payout - perhaps mark the files or move them in the short term to a "sent" directory?
- if we are okay running these on the node and signing with the hot bp key, then we could alternatively just generate mina client send-payment commands to replay -- get rid of the entire signing process, and instead just generate and run a send-payment script after the payor has been funded.