1

I am trying to understand how the Address Look Up Tables work under the hood. I understand that you can include multiple transactions, cause address are kinda referenced by a 1 byte 'pointer' or something similar. The thing I don't understand is how. And also I don't understand if a look up Table is extended let's say with an array x which contains 22 keypairs. Why in the case when I send a transaction of transferring solana to other 22 keypairs, and I add that transaction in the lookup table, I get an error.

My assumption, is a lookup table references 22 addresses by 1 byte. I assume there is a starting point or transaction, and the next ones have an offset that is between 0-255, otherwise I can't understand how this could be implemented and works under the hood.

1 Answer 1

2

Here is the documentation for Solana Address Lookup Tables (LUT)

https://solana.com/docs/advanced/lookup-tables

The TLDR is this;

  1. Create a LUT
  2. Add addresses
  3. Use LUT

Advantages = Can add 256 addresses per table AND the LUT can be reused

enter image description here

To answer your question better, please provide more information such as the error you are facing or the task you are trying to achieve.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.