Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPC Sign method : Add a description to explain the purpose of signing transactions #216

Open
redDwarf03 opened this issue Jun 24, 2024 · 0 comments
Labels
feature New feature request good first issue Good for newcomers

Comments

@redDwarf03
Copy link
Member

Is your feature request related to a problem?

No response

Describe the solution you'd like

Add in the sign request object a description


{
  "serviceName": String,              // Service name to use to sign the tx
  "pathSuffix": String,               // Additional information to add to a service derivation path (optional)
  "description": String {             // Readable description to explain the purpose of signing transactions (locale + description)
    "en": "Readable description in English",
    "fr": "Description lisible en français",
  },
  "transactions": [
    {
      "type": String,                 // Type of transaction
      "version": Number,              // Version of the transaction (used for backward compatiblity)
      "data": Object                  // Transaction data zone (identity, keychain, smart contract, etc.)
    }
  ]
}

Additional context

archethic-foundation/archethic-wallet-client-dart#40

Epic

No response

@redDwarf03 redDwarf03 added feature New feature request good first issue Good for newcomers labels Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant