Skip to content

0xdeepmehta/shipooor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

9 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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

Releases

No releases published

Packages

No packages published