Skip to main content

Free tool

Solana program upgrade authority and IDL diff

We read a Solana program from mainnet or devnet and show whether it sits on the BPF Upgradeable Loader, who can still upgrade it, and how large the deployed binary is. We load an on-chain IDL from the Program Metadata Program when Anchor 1.0 published one there, otherwise from the legacy Anchor IDL account, then decompress direct payloads and can diff against pasted JSON or a second program id.

No sign-up. Last reviewed by the Builderz team.

Cluster
Optional IDL diff

Stuck between an upgrade authority change and a client release?

We help teams verify loader metadata, IDL drift, and the handoff before someone signs a set-upgrade-authority or deploy.

Engineering Rescue Sprint

$500 to $1,500 · 1 to 3 days

Something broke in production: a failed deploy, a failing API call, a stuck Solana transaction. We fix that one thing and hand it over as a pull request.

See the rescue sprint

Product Engineering Sprint

$2,500 to $5,000 · 2 to 3 weeks

One feature, integration or MVP slice, built into your existing codebase. You get a written scope and a fixed price before you pay.

See the product sprint

How it works

What the server calls

Our server asks the public cluster RPC for getAccountInfo on the program id, and on the ProgramData account when the owner is BPFLoaderUpgradeab1e11111111111111111111111. It never accepts a custom RPC URL from the browser. Reads time out after eight seconds.

Upgrade metadata

For upgradeable programs, the Program account points at a ProgramData account. ProgramData stores the last deploy slot, an optional upgrade authority pubkey, and the executable bytes. When the authority option is empty, the program is immutable on that cluster.

On-chain IDL

Anchor 1.0 programs may publish an IDL through the Program Metadata Program at a canonical PDA (program address plus the idl seed). Older deployments use the legacy anchor:idl account. We try Program Metadata first, then legacy, and label which source returned. Url-backed metadata is not fetched from the network; we only report the URL text. Direct payloads are decompressed per the account header (none, gzip, or zlib).

IDL diff

Optional compare modes normalize both IDLs and list instructions, accounts, types, errors, and events that were added, removed, or changed. Comparing against a second program id issues a second IDL fetch on the same cluster. Pasted JSON stays in your browser until you run a diff, then only the parsed object is posted.

Privacy and limits

We rate-limit lookups and cache successful responses for about one minute. We do not log program ids. This tool reports on-chain metadata only; it does not prove source parity or audit a program.

Questions about this tool

Does this prove the binary matches my Git repository?

No. We show who can upgrade the program and whether an on-chain IDL changed shape. Verifiable builds and hash checks are a separate release step.

Why is there no upgrade authority on a program I expect to be upgradeable?

The authority may have been revoked, the program may use a legacy loader, or the ProgramData account could not be read this run. Re-run on the cluster where the program is deployed.

Can I diff IDLs across mainnet and devnet?

Each lookup stays on one cluster. Fetch mainnet and devnet separately if you need to compare environments.

Where does the RPC URL come from?

Our server uses SOLANA_RPC_URL for mainnet when set, otherwise the public mainnet-beta cluster, and the public devnet cluster for devnet. Visitors cannot point the tool at a private endpoint.

Why was no on-chain IDL found for an Anchor program?

Anchor 1.0 may publish through the Program Metadata Program while older builds use the legacy IDL PDA. This tool checks Program Metadata first, then legacy. Some programs ship without any on-chain IDL, or store the IDL at an external URL that we do not fetch.

Talk through your project

Engineering Rescue Sprint ($500 to $1,500). Send a brief with what you found or book a 20-minute intro call.

What to expect

  • Scope in writing

    What is included, excluded, tested, and estimated

  • Milestones you can test

    Each release has agreed work and acceptance criteria

  • Launch and handoff

    Deployment, monitoring, and the next operator steps are documented