Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Add multisignature account registration (POST) #172

Closed
Tracked by #44
sridharmeganathan opened this issue Nov 2, 2020 · 0 comments · Fixed by #859
Closed
Tracked by #44

Add multisignature account registration (POST) #172

sridharmeganathan opened this issue Nov 2, 2020 · 0 comments · Fixed by #859
Assignees
Milestone

Comments

@sridharmeganathan
Copy link
Contributor

sridharmeganathan commented Nov 2, 2020

Description

Add support for multisignature registration transactions.

At this point there is no validation performed, the microservice accepts all payloads within the defined schema.

Motivation

Multisignature account registration is required as minimal functionality is available to the end-user.

Acceptance Criteria

  • Multisignature registration transactions are received by the proper endpoints
  • Transaction validation is applied
  • Integration tests are written for the most common scenarios

Additional Information

{
  "nonce": <String>, // optional, LS takes it from the network
  "senderPublicKey": <String>,
  "moduleAssetId": <Number>,
  "asset": {
    "mandatoryKeys": [<String>],
    "optionalKeys": [<String>],
    "numberOfSignatures": <Number>,
  },
  "fee": <String>,
  "expires": <Number>, // UNIX Timestamp
  "signatures": [
    {
      "publicKey": <String>, // or address
      "signature": <String>,
    }
  ]
}

Response

{
  "data": [{
    "serviceId": <String>, // LS internal transaction ID (UUID)
    "nonce": <String>,
    "senderPublicKey": <String>,
    "asset": { ... },
    "moduleAssetId": <Number>,
    "fee": <String>,
    "expires": <Number>, // UNIX Timestamp
    "signatures": [
      {
        "publicKey": <String>,
        "address": <String>,
        "signature": <String>,
        "accountRole": <String> // mandatory/optional/owner
      }
    ]
  }],
  "meta": {
      "count": <Number>, "offset": <Number>, "total": <Number>,
  }
}
@MichalTuleja MichalTuleja changed the title Add multisignature account registration Add multisignature account registration (POST) Jul 2, 2021
@sameersubudhi sameersubudhi added this to the Sprint 41 milestone Nov 4, 2021
MichalTuleja pushed a commit that referenced this issue Nov 9, 2021
…gistration-post

Add multisignature account registration (POST) - Closes #172 #173
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants