github.com/kotalco/kotal@v0.3.0/controllers/ethereum/nethermind_convert_enode_privatekey.sh (about)

     1  #!/bin/sh
     2  
     3  set -e
     4  
     5  mkdir -p $KOTAL_DATA_PATH
     6  
     7  # convert enode private key to binary format
     8  # nethermind doesn't accept text format
     9  # more info: https://discord.com/channels/629004402170134531/629004402170134537/862516237477347338
    10  xxd -r -p -c 32 $KOTAL_SECRETS_PATH/nodekey > $KOTAL_DATA_PATH/kotal_nodekey