Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.
This repository was archived by the owner on May 2, 2025. It is now read-only.

QUESTION: How do I use this on the devnet?  #3

@shpeedle

Description

@shpeedle

How do I use this on the devnet?

I can't seem to get it to work for a SOL wallet I have funds in.

I keep getting the following error on the SOL block explorer:

#2
Associated Token Program Instruction
> Program log: Transfer 2039280 lamports to the associated token account
> Invoking System Program
  > Program returned success
> Program log: Allocate space for the associated token account
> Invoking System Program
  > Program returned success
> Program log: Assign the associated token account to the SPL Token program
> Invoking System Program
  > Program returned success
> Program log: Initialize the associated token account
> Invoking Token Program
  > Program log: Instruction: InitializeAccount
  > Program log: Error: IncorrectProgramId
  > Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 2796 of 179576 compute units
  > Program returned error: incorrect program id for instruction
> Program ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL consumed 23220 of 200000 compute units
> Runtime error: incorrect program id for instruction

Edit:

I couldn't get the rpc endpoint the was originally in the repo to work so I tried this:

const connection = new Connection("https://api.devnet.solana.com");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions