github.com/kotalco/kotal@v0.3.0/controllers/polkadot/convert_node_private_key.sh (about) 1 #!/bin/sh 2 3 set -e 4 5 mkdir -p $KOTAL_DATA_PATH 6 7 # convert node private key to binary format 8 xxd -r -p -c 32 $KOTAL_SECRETS_PATH/nodekey > $KOTAL_DATA_PATH/kotal_nodekey