简体   繁体   English

如何使用 Waves IDE 为资产设置脚本?

[英]How to set a script for an asset using Waves IDE?

How to set a script for an asset manually using the IDE.如何使用 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?是否可以设置影响不在您自己钱包中的代币的脚本?

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'.您可以创建一个资产,其行为与非脚本化一样,但可以在以后升级,方法是发布带有脚本的资产:'true'。

A smart asset's script can be changed via SetAssetScriptTransaction.可以通过 SetAssetScriptTransaction 更改智能资产的脚本。 Only the issuer can change the asset's script.只有发行人可以更改资产的脚本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我在创建仅使用 WAVES 进行智能资产交易时收到此错误“订单被资产脚本拒绝”,如何解决? - I'm getting this error "Order rejected by script of asset" while creating an smart asset trading only with WAVES, how to fix it? 在Ride4dApps中,充提dApp(Waves IDE中的例子)是如何处理延迟问题的? - In Ride4dApps, how does the deposit and withdraw dApp(the example in Waves IDE) handle the delay issue? Waves 测试网有多大 - How big is Waves testNet 如何使用 wave-transaction JS 库签署和发送转账交易? - How to sign and send transfer transaction using waves-transaction JS library? 如何使用REST API Waves使用私钥签署交易? - How can I sign a transaction with a private key using the REST API Waves? 我如何运行私有 Waves 区块链? - How I can run a private Waves blockchain? 如何知道我的 Waves 节点是否在分叉上? - How to know if my Waves node is on fork or not? 如何在测试网中使用Waves Transactions库? - How to use Waves Transactions library in testnet? Hyperledger Composer查询语言:如何使用资产ID从关系中获取资产? - Hyperledger Composer Query Language: How do you get an asset back from a relationship using the asset ID? 如何使用JS创建智能合约和资产? - How can I create that waves smart contracts and assets with JS?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM