Solana contains a small handful of native programs that are part of the validator implementation and provide various core functionalities for the network.

When developing custom programs on Solana, you will commonly interact with two native programs, the System Program and the BPF Loader.

System program

By default, all new accounts are owned by theĀ System Program. The System Program performs several key tasks such as:

On Solana, a wallet is simply an account owned by the System Program. The lamport balance of the wallet is the amount of SOL owned by the account.

Screenshot 2024-09-13 at 5.37.33 PM.png

Using @solana/web3.js to interact with the System program