You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
416 B
13 lines
416 B
8 years ago
|
#!/bin/bash
|
||
|
|
||
|
echo 'Sign a Message with the Private Key of Given Address'
|
||
|
echo 'Parameter1: Address Corresponding to Private key to sign with'
|
||
|
echo 'Parameter2: Message To Sign'
|
||
|
|
||
|
echo 'Return Signature for corresponding Message'
|
||
|
|
||
|
curl --url "http://127.0.0.1:7778" --data "{\"agent\":\"bitcoinrpc\",\"method\":\"signmessage\",\"address\":\"REurKb7jWHJgE2WKMqvqiDdbFf6Tmd2CEX\",\"message\":\"testMessage\"}"
|
||
|
echo ""
|
||
|
|
||
|
|