Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Blockchain by (12.7k points)

How to set a script for an asset manually using the IDE. Does this imply that you first create the asset and then convert it? Is there a restriction on who can set a script for an asset? such as only the creating wallet can set a script (such as with issue new tokens), or can ANYONE set a script for an asset that is inside their wallet. Is it possible to set a script that affects tokens not in your own wallet?

1 Answer

0 votes
by (29.5k points)

The assets that were issued without a script cannot become scripted. You can create an asset that behaves as non-scripted but can be upgraded later, by issuing an asset with a script: 'true'.A smart asset's script can be changed via SetAssetScriptTransaction. Only the issuer can change the asset's script.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...