jrwashburn/mina-pool-payout

send signed payouts via graphql mutation

Closed this issue · 0 comments

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:

  1. this need to be a separate command that can be run after the main calculation
  2. 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?
  3. 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.