7 votes

Gas costs types in Michelson

There are eight types of costs: 1 Reading cost 2 Deserialization cost 3 Parsing cost 4 Type comparison cost 5 Interpreter cost 6 Unparsing cost 7 Serialization cost 8 Writng ...
Ezy's user avatar
  • 6,064
6 votes
Accepted

Differences between Micheline and Michelson

Micheline is the concrete syntax of Michelson. https://tezos.gitlab.io/whitedoc/michelson.html The concrete syntax means that it is the part of language in which Michelson is actually written and ...
FFF's user avatar
  • 3,260
3 votes
Accepted

How to retrive parameters from a Michelson function?

I don't know Dart, Flutter, or this library so my help will be limited. From looking at your code you have 2 sets of Michelson that is decided based on whether its FA1 or 2 final parameters = token....
Simon McLoughlin's user avatar
  • 1,077
2 votes

Why cant i call the contract entry point with type parameter througth eztz.contract.send

I fixed the problem just know, the thing here was that i didn't realize until i noticed how i was receiving the balance of the contract that i had to send the atomized value of the amount in tez. So ...
Eduardo Almeida's user avatar
2 votes

Is there a formula to build parameter messages to be passed to smart contract entrypoints?

If we could do a logic schematics for this specific case, do you sirs think it could be described like this? : parameter (or (or (pair %addCustomer (pair (mutez %balance) (string %id)) (pair (string %...
Luiz Milfont's user avatar
2 votes

How to retrive parameters from a Michelson function?

In addition to @simon-mcloughlin's answer, if you don't know how to build Michelson parameters you can use a helper endpoint in TzKT API: https://api.tzkt.io/#operation/...
Groxan's user avatar
  • 2,731
1 vote
Accepted

Tezos wallet inccrectly displays the new line character "/n" in the message to sign

That message is not formatted as described in the documentation you are referring to. You are missing the Tezos Signed Message: string prefix. If you fix that, Kukai will respect the \n character.
Klassare's user avatar
  • 1,345
1 vote
Accepted

Is there a formula to build parameter messages to be passed to smart contract entrypoints?

There are two ways to indicate which entrypoint you want to call: call it by its name using the --entrypoint command-line argument of tezos-client transfer or the entrypoint optional parameter of the ...
Raphaël Cauderlier's user avatar
1 vote

Is there a formula to build parameter messages to be passed to smart contract entrypoints?

You need to follow the path to the corresponding entry point in the Michelson parameter type. ‘Left’ when you go to the left branch of a ‘or’ and ‘Right’ for the right branch.
FFF's user avatar
  • 3,260
1 vote
Accepted

Pretty-printing Micheline JSON

With PyTezos it would be (don't mind the naming, it is wrong, will be fixed at some point): >>> from pytezos.michelson.converter import micheline_to_michelson >>> print(...
Michael Zaikin's user avatar
1 vote

Pretty-printing Micheline JSON

Edit: I realized that I misread the question and answered it for Michelson to Micheline when you wanted Micheline to Michelon. I do not know if there is a way to do that via the command line. ...
MCH's user avatar
  • 690
1 vote

Getting errors related to the smart contract after running eztz.contract.send()

This occured because the Michelson in the parameter was ill written and the fee was to low. So these were the changes i made to the function ... -Before: eztz.contract .send( "...
Eduardo Almeida's user avatar
1 vote
Accepted

how can i send operation throught eztz to a contract specific entry point?

Extracting an answer from the comments (kudos to @Klassare) That the private key (keysext.sk) is passed as an argument when eztz expects a keys object (keys = {pkh: string, sk: string, pk: string}) ...
Ezy's user avatar
  • 6,064
1 vote

Differences between Micheline and Michelson

I have recently written a documentation page for Micheline that might help you better understand what it is: https://tezos.gitlab.io/whitedoc/micheline.html
Raphaël Cauderlier's user avatar

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