What is the first 8 bytes of the instruction's data ? #2662
Replies: 1 comment 3 replies
|
It's also an 8-byte discriminator! It's calculated like this: So in other words, it's the first 8 bytes of the string |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
In anchor programs, first 8 bytes of the account's data is the discriminator that fine but what is the first 8 bytes of the instruction's data when interaction with the anchor program's instruction ?! how we can compute that ?
All reactions