feat(system-program): add createAccountWithSeed

This commit is contained in:
Rob Walker
2019-12-09 19:50:01 -08:00
committed by Michael Vines
parent cc550dfb08
commit 0760853871
4 changed files with 120 additions and 2 deletions

View File

@ -220,6 +220,14 @@ declare module '@solana/web3.js' {
amount: number,
): Transaction;
static assign(from: PublicKey, programId: PublicKey): Transaction;
static createAccountWithSeed(
from: PublicKey,
newAccount: PublicKey,
seed: string,
lamports: number,
space: number,
programId: PublicKey,
): Transaction;
}
// === src/validator-info.js ===