16 lines
368 B
Rust
16 lines
368 B
Rust
![]() |
//! @brief Example Rust-based BPF noop program
|
||
|
|
||
|
extern crate solana_program;
|
||
|
use solana_program::{
|
||
|
account_info::AccountInfo, entrypoint, entrypoint::ProgramResult, pubkey::Pubkey,
|
||
|
};
|
||
|
|
||
|
entrypoint!(process_instruction);
|
||
|
fn process_instruction(
|
||
|
_program_id: &Pubkey,
|
||
|
_accounts: &[AccountInfo],
|
||
|
_instruction_data: &[u8],
|
||
|
) -> ProgramResult {
|
||
|
Ok(())
|
||
|
}
|