我有所有这些数据来进行比特币交易(所有数据都是测试网的,所以不用担心私钥)
{
"private": "6a58921f0e0e0327c8f1b33c1a86a1e6d1d4445b21e304fcf5e59f74c23e4cac",
"public": "03747f99b96c46718b856b9dba2de6648eedd4c77c2a4bdbe0325c7eb18840454e",
"address": "mze5h78vt6ukgc4scQkdktGAJGK8uHghmW",
"wif": "cR9RZhAim4HC5dXMdTHCnfSHjSUESBJyofEPQdRmtGETdKGsrkBt"
}
"tosign": [
"88e9fc6c915985615302e117af4686faae66f0735051402c86eb83d43e4be120"
]
我不明白我必须签署什么才能进行过渡
我使用 blockcypher API,它说
# next, you sign the data returned in the tosign array locally
# any ECDSA secp256k1 signing tool should work
# $PRIVATEKEY here is a hex-encoded private key corresponding to the input from address
CEztKBAYNoUEEaPYbkyFeXC5v8Jz9RoZH9
./signer 32b5ea64c253b6b466366647458cfd60de9cd29d7dc542293aa0b8b7300cd827 $PRIVATEKEY
结果:3045022100921fc36b911094280f07d8504a80fbab9b823a25f102e2bc69b14bcd369dfc7902200d07067d47f040e724b556e5bc3061af132d5a47bd96e901429d53c41e0f8cca
api 的文档 https://www.blockcypher.com/dev/bitcoin/?shell#creating-transactions