Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

javascript cosmos transaction signing #3

Closed
faddat opened this issue Dec 20, 2021 · 4 comments
Closed

javascript cosmos transaction signing #3

faddat opened this issue Dec 20, 2021 · 4 comments

Comments

@faddat
Copy link
Contributor

faddat commented Dec 20, 2021

No description provided.

@faddat faddat changed the title Java cosmos transaction signing javascript cosmos transaction signing Dec 20, 2021
@Reecepbcups
Copy link
Contributor

Reecepbcups commented Dec 20, 2021

My idea on signing TX flow:
DONE

  • Transactions are generated offline by the MC server and saved to a private Redis server instance
  • Format tx_<from_craft_address>_<TxID> (TxID is just an abstract ID, all handled with integration)
  • send user link to app.crafteconomy.com/sign?craft123456789...

TO-DO

  • when link is opened, it shows "Pending Transaction(s)" section they need to sign JSON Tx's from.
  • Grab these Tx's with redis-cli keys tx_<craft_address_passed_via_link>_* for each Transaction that needs to be signed
  • They click "sign" button on each to sign & broadcast with keplr,
  • Upon successful signing & broadcasting: the webapp connects to that private Redis instance, sets the key signed_<TxID>
    (Where TxID is given within the original key tx_craftAddress_TxID, so just split("_")[2] )

image

Visual:
https://www.canva.com/design/DAE0DWNnCQc/N5WkcNnmgAAF5JxmJuckAg/view?website#2

@Reecepbcups
Copy link
Contributor

@faddat Updated needs for webapp & simplified + image example. Let me know anywhere I need to clarify [Paired visual at bottom should help too]

@faddat
Copy link
Contributor Author

faddat commented Feb 16, 2022

This is now resolved, correct?

@Reecepbcups
Copy link
Contributor

Yes

faddat pushed a commit that referenced this issue Feb 18, 2022
Added Keplr wallet verification & moved connect button to separate class
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants