bytecoin
bytecoin copied to clipboard
How to sign a raw TX manually?
Can anyone help me with some libs to signature a TX...
My "tx_as_hex" is: 0100010280c2d72f0104b6309e4dc6c6c8135fac5e0d868fde876690af9be32fd8b73e50500f39d55cd60280ade20402d490ca9351b2a872330cb743646960d2cfa5ed52fe93bc427f93edcce5a1a57ea8b2f22a02146320cd581f435c22a45d579e40f89489e90b8be6356d7bf338dd4f1818d4c5210114e3a8a1e5bed525dacc05e7082111f063a1764115a81020d957956254e779d9d6a0264c1f4cbd275b8937bef341b86b57bb519d93a247b6a3a73af802cac70ea57217861046fc38a473701637c66d3df0aed57225bafd08edbfecf4ec0aca03
My logs are:
2018-Mar-29 08:34:19.983682 FATAL TX VERSION: 2018-Mar-29 08:34:19.984038 FATAL TX UNLOCK: 0 2018-Mar-29 08:34:19.984182 FATAL TX INPUT: 0x27ebe20 2018-Mar-29 08:34:19.984294 FATAL TX INPUT: 0x27ebe20 2018-Mar-29 08:34:19.984412 FATAL TX OUTPUT: 0x2891360 2018-Mar-29 08:34:19.984513 FATAL TX EXTRA: 㨡��%��!�c�vA� �W�bT�y�e75 2018-Mar-29 08:34:19.984630 FATAL TX PREFIX: 2a6201c36fcb891393dfbca81cef5ae9d936992764a7de74705b44108c926ee7 2018-Mar-29 08:34:19.984744 FATAL TX FEE: 45400 2018-Mar-29 08:34:19.984842 FATAL TX HASH:5d0778a3f136d4bd25260ebfd45e541e7c328099c5743003ff4a50dd3555ebfe 2018-Mar-29 08:34:19.984945 FATAL TX AMOUNT: 100000000 2018-Mar-29 08:34:19.985052 FATAL TX KEY IMAGE: b6309e4dc6c6c8135fac5e0d868fde876690af9be32fd8b73e50500f39d55cd6 2018-Mar-29 08:34:19.985152 FATAL TX INDEX SIZE: 1 2018-Mar-29 08:34:19.985240 FATAL TX OUT POINTERS: 0x265f8b0 2018-Mar-29 08:34:19.985328 FATAL BLOCK INDEX: 50655 2018-Mar-29 08:34:19.985415 FATAL PARAMS: 0 aa2018-Mar-29 08:34:19.985503 WARNING Transaction 5d0778a3f136d4bd25260ebfd45e541e7c328099c5743003ff4a50dd3555ebfe is not valid. Reason: Transaction has input with invalid signature
On https://testnet.xmrchain.com/rawtx my HEX TX gives a good result.
@cryptoluka To create or sign a Bytecoin transaction one has to effectively reimplement walletd what sounds impractical. Why are you dissatisfied with the standard way to sing transactions via walletd API?
Just for the record, Monero and Bytecoin have incompatible formats of transactions.
Because I'm trying to edit TX extra to store some data , I want to do it manually for blockchain projects.
@cryptoluka , do you have resolved the problem?
@bitcodernull not yet... hard to replicate and the answer is not enought
Offline signature is a basic function of blockchain, but bcn has not supported it.