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

Token Transfer History #293

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ItsJackAnton
Copy link

I extended the Token's blueprint to support storing every transaction made (transfers, mints, and burns).

This is crucial as users need to know a token's transaction to protect themself from bad actors by verifying everything that goes on in the transactions.

I extended the Token's blueprint to support storing every transaction made (transfers, mints, and burns).

This is crucial as users need to know a token's transaction to protect themself from bad actors by verifying everything that goes on in the transactions.
@ALLiDoizCode
Copy link

Is there a practical way of linking the message Id with the stored transaction?

@ItsJackAnton
Copy link
Author

I can also store the message ID inside each transaction. Right now each transaction stores:

  • block height
  • transaction height
  • from (except when minting)
  • recipient (except when burning)
  • quantity

Now every transaction includes the message's ID
@ALLiDoizCode
Copy link

That should work

@ItsJackAnton
Copy link
Author

Now with this new update each transaction stores:

  • message ID
  • block height
  • transaction height
  • from (except when minting)
  • recipient (except when burning)
  • quantity

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

Successfully merging this pull request may close these issues.

2 participants