Jev Björsell
  • Member for 2 years, 11 months
  • Last seen more than a month ago
How to decode raw transaction?
Accepted answer
7 votes

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: ...

View answer
How do I get the storage value of a bigmap using pair datatype as key with taquito library?
Accepted answer
5 votes

As of Taquito release v6.1.0-beta.0 Taquito offers a new API for Maps which support pairs as keys in Maps and BigMaps. Here's a link to documentation & examples on Accessing Map values using Pairs

View answer
Preferred remote signer protocol to use
3 votes

I recommend using HTTP or HTTPS as it is a standard protocol so easier to handle, debug and test. Using a TCP socket means you have to understand that protocol and write specific tools for monitoring (...

View answer
How to estimate Baker and Storage fee with @taquito for a contract?
3 votes

You can call toTransferParams({amount: 5}) on the method you want to estimate, and pass that result to Tezos.estimate.transfer() The results of which will look something like: Estimate { _gasLimit:...

View answer
How is the opHash generated?
Accepted answer
2 votes

This integration test from Taquito could serve as a good step-by-step reference of how you go from transaction inputs (in this case a smart contract call) to a signed operation and operation hash. ...

View answer
bigmap.get(key, "") with default param in case of no entry for key in the map with Taquito
2 votes

As of Taquito release v6.1.0-beta.0 Taquito offers a new API for Maps which provides you with get and set calls. The API does not offer an optional default value param, You will have to catch the ...

View answer
How to prevent Taquito Tezos.estimate.transfer() from throwing a balance_too_low and cannot_pay_storage_fee error?
1 votes

Tezos Taquito has docs on how to drain an account which you can find here: https://tezostaquito.io/docs/drain_account It covers how to drain implicit and originated accounts.

View answer
Operation cost for invoking smart contract
1 votes

You can estimate your operation before executing it using Taquitos estimate API. Taquito uses the run_operation to get an estimate from the RPC. You can find documentation with examples on how to ...

View answer
tezos node and tezos-client 8.2 running in docker I get "Illegal instruction (core dumped)"
Accepted answer
0 votes

It's likely that the CPU you are trying to run Tezos on does not support the encryption instructions that most modern CPUs do support these days. You can rebuild Tezos from scratch, which will build ...

View answer
How to increase the counter of a transaction
0 votes

You can make one transaction per block from an account. This means you need to wait for your operation to complete before sending your next operation. If you wait for op.confirmation(1) to resolve, ...

View answer
Tezos Improvement Proposals
0 votes

https://gitlab.com/tzip/tzip appears to be the defacto location for "TeZos Improvement Proposals".

View answer