7 votes
Accepted

How to decode raw transaction?

Taquito can parse forged bytes using the parse() method in the @taquito/local-forging package. TypeDocs are here. You can see the unit tests here. Implementation to decode a signed transaction: ...
user avatar
7 votes

How to decode raw transaction?

You can use the tezos-codec binary to decode this: tezos-codec decode 006-PsCARTHA.operation from ...
user avatar
6 votes

Invalid Signature for Tezos transaction

Make sure you revealed public key just once and make sure you properly incement counter. Also, take a look at Netezos, C# Tezos SDK. Here is an example of how to forge, sign and send a transaction: ...
user avatar
  • 2,317
5 votes
Accepted

Can I use BIP32 HD key pairs to derive ed25519 addresses

You can not derive Ed25519 keys in a way that is compatible with bip32 or bip44. Bip32 only defines a derivation scheme for secp256k1, and bip44 depends on bip32. To get around this problem there's a ...
user avatar
  • 1,320
5 votes

What are the differences between key, key_hash, address, contract and signature in Michelson?

Why can I convert between address and contract. But not between address and key_hash? There is the (IMPLICIT_ACCOUNT) instruction to go from key_hash to address. For the other direction, there was (a ...
user avatar
5 votes
Accepted

What are the differences between key, key_hash, address, contract and signature in Michelson?

key_hash is blake2b hash of a public key, in the base58 encoded form it can start only with tz, but address is more general, it can also hold KT accounts; There are no instructions for that, probably ...
user avatar
3 votes
Accepted

Invalid Signature for Tezos transaction

https://github.com/bitcoin-core/secp256k1/blob/d644dda5c9dbdecee52d1aa259235510fdc2d4ee/include/secp256k1.h#L483-L513 There are two valid EC points that correspond to the same signature, but some ...
user avatar
2 votes

How to decode raw transaction?

You can use the RPC endpoint: /chains/main/blocks/head/helpers/parse/operations to do that. Example: await axios.post( `${nodeURL}/chains/main/blocks/head/helpers/parse/operations`, ...
user avatar
  • 444
1 vote
Accepted

Packing and signing a payload in Taquito

The layout is probably wrong. Make sure you use the same record layout in both locations. toSign = sp.set_type_expr( sp.record( chain = sp.chain_id, contract = sp....
user avatar
1 vote
Accepted

Automatically sign with a Ledger Nano

No, there is no way to bypass the requirement to ack a transaction. You would have to write your own ledger-tezos app to support this. It can be done, as the baking app signs blocks without ...
user avatar
  • 3,364
1 vote
Accepted

Smart contracts - get tz address from signature like ecrecover ethereum

For implicit accounts, the address is nothing more than the hash of the public key so this means that you can compute the address from the public key but not the other way around. In Michelson, you ...
user avatar
1 vote

How do I parse a tezos operation via RPC?

I put together a series of tutorials on how to use the Tezos RPC, using postman to give people working examples. It covers some of the aspects like this that aren't documented too well. The link is ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible