Initial commit from template
This commit is contained in:
16
programs/lending-program/src/lib.rs
Normal file
16
programs/lending-program/src/lib.rs
Normal file
@@ -0,0 +1,16 @@
|
||||
use anchor_lang::prelude::*;
|
||||
|
||||
declare_id!("3CtFsp1pYwxuS7hyoNt5iynXtykC5QCozjMiJBya1JEN");
|
||||
|
||||
#[program]
|
||||
pub mod lending_program {
|
||||
use super::*;
|
||||
|
||||
pub fn initialize(ctx: Context<Initialize>) -> Result<()> {
|
||||
msg!("Greetings from: {:?}", ctx.program_id);
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Accounts)]
|
||||
pub struct Initialize {}
|
||||
Reference in New Issue
Block a user