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

Support recipients in token minting transaction #1175

Closed
3 tasks done
samuelmanzanera opened this issue Jul 12, 2023 · 0 comments
Closed
3 tasks done

Support recipients in token minting transaction #1175

samuelmanzanera opened this issue Jul 12, 2023 · 0 comments
Assignees
Labels
AEIP feature New feature request mining Involve transaction validation and mining
Milestone

Comments

@samuelmanzanera
Copy link
Member

samuelmanzanera commented Jul 12, 2023

Is your feature request related to a problem?

Sometimes when we mint a token, we want to send at the same time some tokens to a predefined recipient list.
Since the AEIP19 we introduce a specification to support it.

Describe the solution you'd like

To implement this feature, we have to:

  • Adapt the JSON schema to support the recipients fields in the token's transaction specification
  • During the transaction's validation, the miners will mint the tokens and reduce from the UTXO the list of tokens associated to the list of recipients, and include them in the transaction's movements of the validation stamp
  • During the transaction's fee estimation, we have to include the calculation about the number of recipients to deliver the tokens to (may or may not require Review of the fee calculation rule for multi recipients #1041)

Additional context

No response

Epic

No response

@samuelmanzanera samuelmanzanera added feature New feature request mining Involve transaction validation and mining AEIP labels Jul 12, 2023
@bchamagne bchamagne self-assigned this Aug 1, 2023
@bchamagne bchamagne added this to the 1.3.0 milestone Aug 29, 2023
@Neylix Neylix closed this as completed Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AEIP feature New feature request mining Involve transaction validation and mining
Projects
Status: Done 🍻
Development

No branches or pull requests

3 participants