Skip to content

Latest commit

 

History

History
72 lines (56 loc) · 1.16 KB

README.md

File metadata and controls

72 lines (56 loc) · 1.16 KB

Shipooor 🚀

Ship Powerful code, Fast. Really, really fast with shipooor.

Snippets 🤓

Anchor program snipppets

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

Anchor Client snipppets

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

Contribution

Made in ❤️ with shipooor - 0xDeep & Ache