Skip to main content
Share Your Experience: Take the 2024 Developer Survey
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: ...
Jev Björsell's 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 ...
Tomáš Zemanovič's 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: ...
Groxan's user avatar
  • 2,766
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 ...
Klassare's user avatar
  • 1,345
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 ...
Raphaël Cauderlier's 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 ...
Michael Zaikin's 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 ...
Felix Laufenberg's 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`, ...
Daly's user avatar
  • 442
1 vote

Extracting the public key from the block signature using tzgo

Error 403 usually means the RPC node has restricted access to the node's context endpoints. Use a node with open RPC endpoints like https://rpc.tzstats.com. Here's an example that works with the ...
Alexander Eichhorn's user avatar
1 vote

Extracting the public key from the block signature using tzgo

I could not retrieve the public key from the signature itself but found out that we can get the exposed public key using the method GetManagerKey() in rpc client. exposedPk, err := c.GetManagerKey(ctx,...
sha25652's user avatar
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....
Rodrigo Quelhas's 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 ...
utdrmac's user avatar
  • 3,422
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 ...
Raphaël Cauderlier's 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 ...
Simon McLoughlin's user avatar
  • 1,112

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