Skip to content

Support for Address Lookup Tables (V0 transactions) #6

@jochemarends

Description

@jochemarends

Hello,

I would be happy to add support for Address Lookup Tables to this package and wonder if you would be open to a PR for this?

Currently, this package only supports legacy transactions. Solana introduced V0 transactions, which can include Address Lookup Tables. These refer to on-chain stored addresses and can reduce the size of transactions.

I thought about adding, a Transaction.to_binary/2, which accepts a list of Address Lookup Tables and encodes the transaction using the V0 format.

Additionally I would add a AddressLookupTable and AddressLookupTable.Program module (or LookupTable and LookupTable.Program to prevent overly long names).

If you are open for a PR, I would like to know if you agree with the design, so I can take it into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions