node_modules/@velas/solana-web3/lib/index.browser.esm.js
/**
   * Generate a transaction instruction that creates a new account at
   *   an address generated with `from`, a seed, and programId
   */
Generate a transaction instruction that creates a new account at
an address generated with `from`, a seed, and programId
Generate a transaction instruction that creates a new account at an address generated with ` from ` a seed and programId
static createAccountWithSeed(params) {
    const type = SYSTEM_INSTRUCTION_LAYOUTS.CreateWithSeed;
    const data = encodeData(type, {
      base: params.basePubkey.toBuffer(),
      seed: params.seed,
      lamports: params.lamports,
      space: params.space,
      programId: params.programId.toBuffer()
    });
    let keys = [{
      pubkey: params.fromPubkey,
      isSigner: true,
      isWritable: true
    }, {
      pubkey: params.newAccountPubkey,
      isSigner: false,
      isWritable: true
    }];
    if (params.basePubkey != params.fromPubkey) {
      keys.push({
        pubkey: params.basePubkey,
        isSigner: true,
        isWritable: false
      });
    }
    return new TransactionInstruction({
      keys,
      programId: this.programId,
      data
    });
  }
static createAccountWithSeed ( params ) { const type = SYSTEM_INSTRUCTION_LAYOUTS . CreateWithSeed ; const data = encodeData ( type , { base : params . basePubkey . toBuffer ( ) , seed : params . seed , lamports : params . lamports , space : params . space , programId : params . programId . toBuffer ( ) } ) ; let keys = [ { pubkey : params . fromPubkey , isSigner : true , isWritable : true } , { pubkey : params . newAccountPubkey , isSigner : false , isWritable : true } ] ; if ( params . basePubkey != params . fromPubkey ) { keys . push ( { pubkey : params . basePubkey , isSigner : true , isWritable : false } ) ; } return new TransactionInstruction ( { keys , programId : this . programId , data } ) ; }
Generate a transaction instruction that creates a new account at
   an address generated with `from`, a seed, and programId
Generate a transaction instruction that creates a new account at an address generated with ` from ` a seed and programId