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

Storing extra information in the transaction? #75

Open
brailateo opened this issue Oct 30, 2022 · 0 comments
Open

Storing extra information in the transaction? #75

brailateo opened this issue Oct 30, 2022 · 0 comments

Comments

@brailateo
Copy link

brailateo commented Oct 30, 2022

Would it be possible to send some extra information in a transaction and store it in the block (e.g. a IPFS address where it could be found some extra data)?

I mean if there is any JSON field named "extra" in a transaction like in this example, to store that information also in the mined block:

{
  "fromAddress": "e155df3a1bac05f88321b73931b48b54ea4300be9d1225e0b62638f537e5544c",
  "toAddress": "c3c96504e432e35caa94c30034e70994663988ab80f94e4b526829c99958afa8",
  "amount": 9,
  "changeAddress": "e155df3a1bac05f88321b73931b48b54ea4300be9d1225e0b62638f537e5544c",
  "extra": {
     "type": "ipfs",
     "address": "bafybeiaysi4s6lnjev27ln5icwm6tueaw2vdykrtjkwiphwekaywqhcjze"
  },
}
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

No branches or pull requests

1 participant