I looked on the forum but I didn’t find an exhaustive guide. Someone can explain to me how to create a token that can’t be traded?
Hi,
You might want to do the following:
-
Press the + NEW button and choose “Asset script”
-
Write a script that denies trading, for example something like this (you can change the script to adjust it for your needs):
match (tx)
{
case tx : ExchangeTransaction => false
case other => true
}
-
Provide the network in Settings (for Mainnet: Node URL is https://nodes.wavesnodes.com/ , Network Byte is W )
-
Connect your account: open the Accounts tab, collapse the “Account 1” ellement and paste your account seed in the “Seed” textbox.
-
Press ISSUE TOKEN
-
Add the required fields “name”, “description” and “quantity” to the transaction JSON (and change the values of “decimals” and “reissuable” if you need), for example:
"name": "my asset",
"description": "non tradable asset",
"quantity": 1000,
-
Press SIGN
-
Press SEND
Your asset has been issued. The asset’s id is the same as the Transaction’s id, so you might want to remember it.
Thanks,very accurate guide