Created
January 23, 2022 00:16
-
-
Save pashius/f9d7f228ff0bd92e564e57296b183203 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//значение Storage для ide.ligolang. В token_metadata указываем 0n — дефолтный token_id, а дальше даем ссылку на метаданные | |
record [ | |
metadata = big_map ["" -> 0x68747470733a2f2f636c6f7564666c6172652d697066732e636f6d2f697066732f6261666b72656967377262763579647334336232687a726e657466363370356f36336f336c726875736c6c64657463777536666974797877673265]; | |
totalSupply = 1000n; | |
token_metadata = big_map [0n -> (0n, map ["" -> 0x68747470733a2f2f676973742e67697468756275736572636f6e74656e742e636f6d2f706173686975732f33356131346565646537353132333536383537613931326562356437323034632f7261772f373831396565376163333634623837386164373262613038623738643633373239663539656131322f6661312e325f746f6b656e5f6d657461646174612e6a736f6e])]; | |
ledger = big_map [ | |
("tz1g29sZpBTJyf6GpJeCTWvgutve4LJnAnbC" : address) -> record [ | |
balance = 1000n; | |
allowances = map [ | |
("tz1g29sZpBTJyf6GpJeCTWvgutve4LJnAnbC" : address) -> 10n]]]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment