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

Add CreateIdempotent instruction #158

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

Commits on Oct 23, 2023

  1. Configuration menu
    Copy the full SHA
    d5fe11f View commit details
    Browse the repository at this point in the history
  2. support different TokenProgram ids

    given that solana offers Token2022Program, this change updates the associated-token-account package to pass in a custom TokenProgramId. The logic is similar to the existing ProgramID where we expose a method to set it.
    iamnotaturtle committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    1d40a40 View commit details
    Browse the repository at this point in the history
  3. add support for CreateIdempotent instruction

    This change adds the CreateIdempotent instruction to the associated token program package. The instruction is here: https://github.com/solana-labs/solana-program-library/blob/6384308a3fa6bef5debfa2e1a0809b24431ddfbd/associated-token-account/program/src/instruction.rs\#L36
    
    The instruction is identical to the Create instruction so the only main changes are the instruction Data and MarshalWithEncoder methods
    iamnotaturtle committed Oct 23, 2023
    Configuration menu
    Copy the full SHA
    cf3cdd7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c1c8d06 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2023

  1. Configuration menu
    Copy the full SHA
    bed6c92 View commit details
    Browse the repository at this point in the history