StakePoint

Solana DeFi Glossary

Definitions of key terms used in Solana DeFi, token locking, LP locking, and staking. Published by the StakePoint team.

Glossary/Anchor IDL

Anchor IDL

A JSON file describing the interface of an Anchor smart contract on Solana.

Definition

An IDL (Interface Definition Language) file is a JSON document generated by the Anchor framework that describes a Solana smart contract's public interface — including all instructions, account structures, data types, and error codes.

IDL files allow frontend applications and developer tools to interact with a smart contract without needing the original Rust source code. The IDL acts as an ABI (Application Binary Interface), telling clients how to encode and decode data for each instruction.

Anchor automatically generates an IDL when a program is built. The IDL can be published on-chain alongside the program, allowing anyone to verify the program's interface and build integrations independently.

StakePoint & Anchor IDL

The StakePoint Anchor program has a published IDL that describes all locking and staking instructions. Developers can use this IDL to build integrations with StakePoint's on-chain program.

Frequently Asked Questions

What is an Anchor IDL?

An Anchor IDL is a JSON file describing a Solana smart contract's instructions, accounts, and types. It allows clients to interact with the program without the original source code.

Where can I find the StakePoint IDL?

The StakePoint program IDL is published on-chain and viewable on Solscan at the program address gLHaGJsZ6G7AXZxoDL9EsSWkRbKAWhFHi73gVfNXuzK.