Skip to content

Create Transaction Workflow #23

Description

@K-Ho
  • "Create Transaction" is a button in nodeControls (in Controls.js)
    When clicked, The button becomes disabled, and the simulation is paused.

  • The simulation is dimmed (slightly greyed out), and a large bar shows up at the top of the screen that says "Select who you want to send the transaction to" (or an X button in top right to cancel transaction)

  • Then a popup shows up saying "how much would you like to spend?" with a slider sort of option to select amount sent - anywhere from 0 to node.balance.

  • At the bottom of the popup there is a checkmark that lets you select "sneaky mode" or "attempt overspend". If the checkmark is selected, there is no longer a cap on the amount you can select with the slider

-[ ] Optional: Then, there is a query - Do you wish to attempt to spend someone else's money? Then you can have another "Select who you want the transaction to be from"

-[ ] Then there's a button to "sign and send" that you just click

-[ ] Transaction is "generated" as an image in nodecontrols:
screen shot 2018-10-18 at 4 45 07 pm and animates into a node, then the transaction is sent out as colored circles as normal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions