Replies: 5 comments 4 replies
-
I used the JNI way |
Beta Was this translation helpful? Give feedback.
-
Cardano signing is not supported yet |
Beta Was this translation helpful? Give feedback.
-
can we use the AddressV3.cpp addresses generator to use for signing transactions? because i saw that addresses generating by TW are longer but other libraries for example Emurgo produces shorter addresses and when trying to validate TW addresses with Emurgo they produce exceptions. should i try to create another Address generator? another question i had was regarding that how to produce hex string of an address for example with emurgo we can get "000743d16cfe3c4fcc0c11c2403bbc10dbc7ecdd4477e053481a368e7a06e2ae44dff6770dc0f4ada3cf4cf2605008e27aecdb332ad349fda7" from "addr_test1qqr585tvlc7ylnqvz8pyqwauzrdu0mxag3m7q56grgmgu7sxu2hyfhlkwuxupa9d5085eunq2qywy7hvmvej456flknswgndm3" which we need to use the hex version in the CBOR structure that is "000743d16cfe3c4fcc0c11c2403bbc10dbc7ecdd4477e053481a368e7a06e2ae44dff6770dc0f4ada3cf4cf2605008e27aecdb332ad349fda7" auto bech = Bech32::decode("addr1s3alxrr29g6s5vmculs3unkrq66r040t3pe0g5hgwwjre8rqqtfw39n97rqyxzq3jtcncknxg4zppvnzwkz9q9cns2nn728yptedesppr0m552");
auto addressbech32 = std::get<0>(bech);
cout << "bech32 address encoded: " << addressbech32 << endl; it returns 40 in the console. |
Beta Was this translation helpful? Give feedback.
-
how to print out the payload part of an address as a hex string in console?, the type is Data i assume auto bech = Bech32::decode("addr1s3alxrr29g6s5vmculs3unkrq66r040t3pe0g5hgwwjre8rqqtfw39n97rqyxzq3jtcncknxg4zppvnzwkz9q9cns2nn728yptedesppr0m552");
auto payloadOfAddress = get<1>(decoded); |
Beta Was this translation helpful? Give feedback.
-
Now we supported signing Cardano tx |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
How do I sign Cardano transactions?
Beta Was this translation helpful? Give feedback.
All reactions