shapeshift / rFOX

rFOX - RUNE rewards for FOX stakers
MIT License
0 stars 0 forks source link

CLI hot wallet - rune transaction and final data pinning #71

Closed 0xean closed 2 months ago

0xean commented 3 months ago

see https://github.com/shapeshift/rFOX/issues/58 for context

AC

  1. get account number from unchained endpoint for hot wallet address
  2. prompt user for IPFS hash they want to process
  3. confirm with user the epoch of that IPFS data
  4. pull down IPFS data / json to process into RUNE transactions
  5. sign all transactions and output to temp file in case of errors. (We can always retry transactions from this file, nonces can enforce the transactions that are already successfully executed so no risk in re-running all of them as long no shenanigans with the wallet - RETRY NOT IN SCOPE)
  6. broadcast RUNE transactions.
  7. If errors occur, prompt users to re-run from saved temp file of signed transactions. (re running not in scope, just let the user know)
  8. persist tx hashes to IPFS and output ipfs hash (prompt user to post final hash to forum)
kaladinlight commented 3 months ago

Broke out further IPFS work into separate issue: https://github.com/shapeshift/rFOX/issues/75