Question about PayingForTx

I am currently implementing support for PayingForTx in the Java SDK and I am struggling to get a correct signature.

sorry @hanssv.chain, can you help me out again? I guess I need to setup a local tool for me to decode the transactions on my own.

this is an example for a PayingForTx which seems to have a wrong signature:

tx_+QEdCwH4QrhAzlVg/9HGkeWLP3DNjWMwOiawIB4v1b/BWtZI8U9b7krePFQ1KZUnadmwhGJa/mgXhc/Ai2l6r8w0gKS13u/BD7jV+NNSAaEBde6YJa1jCWNIK7GTmiEqDlNYg8a014BOQCh+H1VtonIshgafAdBgALil+KMLAfhCuEDaTivVAb/Hd4h6bF/Sc+xLLj11xmPW/D72+0Jh5TTMt/d8B+L84lE9qLQuaSenJ8h0XmpTHaWs8YMZwkclAPEPuFv4WQwBoQF4ihTyUKe1UVLXSi7noyEdcNlFQCiwVy0Rt6hpM5EhsqEBg6yXT31ufYbdZaLzQjFz3tiPmar6TUR5fc1EnnqBm8mIG8FtZ07IAACGD1DeN9AAAAGAY6Q4dw==
1 Like

My initial guess would be that you’ve forgot to take the changes in https://github.com/aeternity/aeternity/pull/3437 into account?

@dimitar.chain can probably point you to the documentation of that change, I don’t have it right now.

3 Likes

yep, it was the way the inner tx was signed. didn’t know about that. thanks! :slight_smile: really cool to see that feature finally coming

@Karel are you still interested in this? :smiley: I see you focus on NFTs right now. we will also work on a NFT standard for aeternity very soon. would be great to see that feature being used by Arkane in the future :sunglasses:

4 Likes

Also please keep in mind that there is an optimisation point there: incorrectly signed inner transactions if wrapped by a paying-for-tx happily enter the transaction pool. Tracked as an issue.

2 Likes