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

Firing external event when minting process is finished #4090

Open
Neurone opened this issue Aug 28, 2024 · 1 comment
Open

Firing external event when minting process is finished #4090

Neurone opened this issue Aug 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Neurone
Copy link
Contributor

Neurone commented Aug 28, 2024

Problem description

I need to trigger the execution of an application after the minting process is completed, and the application must be aware of the last Hedera transaction that has been executed.

The current list of external events does include a token minted event, but that is fired actually at the start of the minting process, and after every 10 tokens batch is minted, but not at the end.

external-events.token_minted: {
  tokenId: '0.0.4678707',
  tokenValue: 135,
  memo: '1724875475.946623551'
}

I currently receive a notification on the UI when the miniting process is finished but that notification contains just a generic message (Mint completed: All XXX tokens have been minted) and I cannot use that programmatically in any case.

Requirements

  • Add another external event when the minting process is completed (i.e. external-events.token_minting_process_completed)
  • Include in the event payload, among other details like tokenID, minted tokens, etc, the consensus timestamp of the last mint transaction

Definition of done

  • Applications can subscribe to the broker and receive information about the end of the minting process.
@Neurone Neurone added the enhancement New feature or request label Aug 28, 2024
@jteixeira-tymlez
Copy link

Just commenting to say that this would be super useful for us at Noviq as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants