create context(cc)
#[derive(Accounts)]
pub struct MyContext<'info> {
}
init pda(ipda)
#[account(
init,
payer = signer,
space = ,
seeds = [],
bump,
)]
pub new_account: Account<'info, NewAccount>,
create fn(cf)
pub fn name(ctx: Context<Args>) -> Result<()> {
Ok(())
}
create program(cp)
#[program]
mod my_program {
use super::*;
pub fn init(ctx: Context<MyContext>) -> Result<()> {
Ok(())
}
}
Now It's time to be explooorer
new keypair (nk)
const newKeypair = anchor.web3.Keypair.generate();
new test case (ntc)
it(" Some new test case", async () => {
});
Now It's time to be explooorer