Skip to content

Add configurable network ID and include it in transaction data binaries when signing #750

Open

Description

@d-velev

The network ID is appended to the transaction data that is being signed, meaning that transactions made in one network aren't going to be valid in another. It should be "ae_mainnet" by default

Activity

  1. Artur64 commented on Nov 12, 2018

    @Artur64
    Contributor

    @d-velev Could you provide a link to get more information about this?

  2. d-velev commented on Nov 12, 2018

    @d-velev
    ContributorAuthor

    @Artur64 I'm not sure where their signing is happening but this is how they transform their transaction binaries https://github.com/aeternity/epoch/blob/master/apps/aecore/src/aec_governance.erl#L217. So we must sign "ae_mainnet" <> serialized_tx and verify the same way

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions