Skip to content

Commit

Permalink
validator info
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-vseznaika committed Oct 20, 2024
1 parent 043c8c2 commit dc95c9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion story-manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ create_validator() {
echo "Exporting EVM private key..."
"$HOME/go/bin/story" validator export --export-evm-key
cat "$HOME/.story/story/config/private_key.txt"
echo " "
echo "Use this private key to import your account into a wallet, such as Metamask or Phantom."

# Create validator
Expand All @@ -341,7 +342,7 @@ validator_operations() {
case $op_choice in
1)
echo "Exporting validator public key..."
"$HOME/go/bin/story" validator export
curl localhost:$(sed -n '/\[rpc\]/,/laddr/ { /laddr/ {s/.*://; s/".*//; p} }' $HOME/.story/story/config/config.toml)/status | jq
;;
2)
echo "Delegating stake..."
Expand Down

0 comments on commit dc95c9c

Please sign in to comment.