-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Decode unsigned tx set #78
Comments
This is a good use case to make simpler. |
This is now supported with a convenience method in v0.7.0:
Thanks. |
thank you! |
Finally got a chance to test this and unfortunately got an error
On tx
with test wallet
|
You should be passing a string to the function, which is tested: let describedTxSet = await offlineWallet.describeUnsignedTxSet(unsignedTxHex);
for (let tx of describedTxSet.getTxs()) console.log(tx.toString()); If you still have problems, feel free to post code for review. Thanks. |
As far as I can tell, if you have an unsigned tx string, there isn't a way to decode it into a MoneroTxWallet, which is printable with .toString()
I am looking to replicate something like the monero rpc command describe_transfer but with an offline wallet. The idea would be to allow a user to print the details of an unsigned tx, before signing it. Like
The text was updated successfully, but these errors were encountered: