Hot answers tagged

4

Turns out this supposed to be passed like this: '(Pair "tz1PKKC9NTsxxfwYpg1bVAY5k5AKuPYe9gpg" "KT1GE2AZhazRxGsAjRVkQccHcB2pvANXQWd7")'


2

Here's the parameter values to initialize storage for the fa1.2 contract. It is working well on my side. If you want to more look at pascaligo syntax, you can visit ligolang doc pages on https://ligolang.org/docs/language-basics/maps-records and https://ligolang.org/docs/tutorials/get-started/tezos-taco-shop-smart-contract/#populating-our-storage-in-a-dry-...


2

One way is to build the deploy command using https://fi-code.com/ . You can build the command by specifying the contract code in fi, the initial storage and balance, and the manager, then pressing "Deploy" button. Test deployment in Alphanet is strongly recommended before doing this directly to the Mainnet.


2

Here you can deploy and call contracts written in liquidity, and view the compiled michelson, among other things,


1

You can do this via a signed operation of kind origination: http://tezos.gitlab.io/mainnet/api/p2p.html#origination-tag-9 Similar to a standard origination of a KT address, except there's the presence of the script field. To get this, you need to convert your Michelson to Micheline (details of the syntax/format for Micheline here) and then you need to forge ...


1

If nobody gets back to you soon you can always contact the Ligo team directly on Telegram at: https://t.me/LigoLang You can also find them on Twitter at: https://twitter.com/ligolang And can file an issue if necessary at: https://gitlab.com/ligolang/ligo/issues


1

You should probably use the Micheline / JSON version created by SmartPy.io. This is what is actually sent from SmartPy.io. You also need to change the conseiljs.TezosParameterFormat.Michelson parameter into conseiljs.TezosParameterFormat.Micheline.


1

Hehey, ok if this is true, it is sad. but i found a solution; liquidity -> .liq -> .tz and deploy with tezos-client. :) – candlez Jan 6 at 15:00


1

Your error message describes the type you are failing to initialize properly: "is not an expression of type pair (map address mutez) (map address timestamp)". First you need to specify each map with braces { }, and every element inside the braces begins with an Elt and is separated from other elements by a semi-colon. In your case you only have one element ...


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