Skip to content

Transaction Decoding / Input Formatting #45

@bejitono

Description

@bejitono
  • Transaction decoding (more detailed specs to follow)

  • Look up method byte signature and to retrieve method signature (e.g. through 4bytes)

  • Parse method parameter types

  • Decode tx based on parameter types to get tx input values

  • Further ideas from Metamask: https://twitter.com/gnidan/status/1471992703575539714?s=12

  • Input formatting (more detailed specs to follow)

  • Setup a separate repository (Hancock) that specifies string formats which the client can use to format the tx input

  • Format the tx inputs based on the string format

A full discussion on some of the above points can be found in the following Discord thread: https://discord.com/channels/922963239241928705/924671137420546058

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions