Skip to content

SIP describing Stacks message signing #90

Description

@kyranjamie

No SIP exists describing how arbitrary messages are signed.

Specifics such as what the prefix is, and what encoding is used should be described. EIP-712, for example, has an arbitrary message section.

The current prefix follows the same format as EIP-712, with Stacks in place of Ethereum.

"\x17Stacks Signed Message:\n" ‖ len(message) ‖ message

The need for this SIP comes from issues that've arisen migrating to a single prefix: See stx-labs/stacks.js#1328.

In migrating to a new prefix, some apps have seen breaking changes. Were this described in a SIP, a more structured, community-driven approach to changes would've been required.

cc/ @friedger @markmhx @MarvinJanssen @pradel @Hero-Gamer

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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