sign_version (258B)
1 #!/bin/bash 2 version=`python3 -c "import electrum; print(electrum.version.ELECTRUM_VERSION)"` 3 sig=`./run_electrum -o signmessage $SIGNING_ADDRESS $version -w $SIGNING_WALLET` 4 echo "{ \"version\":\"$version\", \"signatures\":{ \"$SIGNING_ADDRESS\":\"$sig\"}}"