Skip to content

Sending EIP-712 Transactions #171

@fabiooshiro

Description

@fabiooshiro

Hey everyone,

We’re considering how to structure a command for sending EIP-712 transactions and would love some input.

The process includes:

  1. Retrieving the nonce (/nonce endpoint).
  2. Building the EIP-712 message.
  3. Signing the transaction.
  4. Submitting the transaction (/submit endpoint).

This applies to both Espresso and Paio + Avail, which follow the same API structure.

Possible Approaches:

  • cartesi send A general send command with an option to specify EIP-712 format.
  • cartesi <context> send A subcommand that provides additional context before sending, such as cartesi l2 send.
  • Other suggestions?

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