Write wallet key to explicit file

This commit is contained in:
Stephen Akridge 2020-04-16 10:10:49 -07:00 committed by Michael Vines
parent 16b2d41dd6
commit 93669ab1fc
1 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,9 @@ else
args=("$@")
fi
$solana_keygen new --no-passphrase -sf
keypair="target/wallet-sanity-keypair.json"
$solana_keygen new --no-passphrase -sf -o $keypair
args+=(--keypair "$keypair")
node_readiness=false
timeout=60
@ -41,6 +43,7 @@ fi
$solana_cli "${args[@]}" ping --count 5 --interval 0
$solana_cli "${args[@]}" balance --lamports
)
rm $keypair
echo PASS
exit 0