Giter VIP home page Giter VIP logo

Comments (4)

Reecepbcups avatar Reecepbcups commented on July 17, 2024

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

from craft.

Reecepbcups avatar Reecepbcups commented on July 17, 2024

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

from craft.

faddat avatar faddat commented on July 17, 2024

This is now resolved, correct?

from craft.

Reecepbcups avatar Reecepbcups commented on July 17, 2024

Yes

from craft.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.