docker run --rm rolymobile/bitcore <command>
docker run -d -p 9090:1337 rolymobile/bitcore -d
success
{
"success":true,
"data":"XXX"
}
fail
{
"success":false,
"data":null,
"reason":"XXX"
}
-t for testnet
docker run --rm rolymobile/bitcore create_privatekey [-t]
response
data - private key
docker run --rm rolymobile/bitcore to_publickey <privateKey>
response
data - public key
-t for testnet
docker run --rm rolymobile/bitcore to_address [-t] <privateKey>
response:
data - address
-t for testnet
docker run --rm rolymobile/bitcore to_multisign_address [-t] <private keys...> <threshold>
response:
data - address
Single sign
docker run --rm rolymobile/bitcore transaction <fromAddress> <privateKey> <toAddress> <amount>
<fromAddress> - source address
<privateKeys> - private key
<toAddress> - destination address
<amount> - BTC amount
response:
data - txid
Multi sign
docker run --rm rolymobile/bitcore transaction <fromAddress> <privateKeys> <publicKeys> <toAddress> <amount>
<fromAddress> - source address
<privateKeys> - private key separated by comma
<publicKeys> - public key separated by comma
<toAddress> - destination address
<amount> - BTC amount
response:
data - txid
docker run --rm rolymobile/bitcore -d
######Example:
3 of 4
need 3 private key, 1 public key
1 of 4
need 1 private key, 3 public key
same with CLI command, format like below http://url/aa:9090/?request=["command", "arg1", "arg2",...]
Content type
Image
Digest
sha256:6af3e6346…
Size
328.2 MB
Last updated
almost 11 years ago
docker pull rolymobile/bitcore