Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -222,26 +222,28 @@ echo "after entering user pocket in the environment"
ls
printf '\n\n' | pocket accounts create

echo
echo
# -- get account and export private key --
pocket accounts list > key

EOF
echo"checking something here"
echo "checking something here"

ACCOUNT=$(cat key | head -1 | cut -d' ' -f2)

pwd
sudo -i -u pocket bash << EOF

# -- set account as validator address ----------------
# -- set account as validator address --
printf '\n\n' | pocket accounts set-validator $ACCOUNT

echo "after checking something"
PRIVATE_KEY=$(printf '\n\n\n' | pocket accounts export --path . $ACCOUNT)

printf '\n\n\n' | pocket accounts export --path . $ACCOUNT

EOF

echo

echo "Acccount: $ACCOUNT"

# 9. set ulimits
Expand Down