这是Waves IDE的一个示例。
请告诉我如何转移此智能资产令牌。m(__)m
match tx {case tx : TransferTransaction =>
let issuer = Address(base58'3MsZgp7XvTJV7TuqaZ46RJZuG2CtvcxYgC9')
isDefined(getInteger(issuer, toBase58String(tx.id)))
case m :SetAssetScriptTransaction | SetScriptTransaction =>true
case _ => false
}我是发行者。我在这个Json和帖子中添加了什么吗?
共享链接以签署↓
{
"version": 2,
"assetId": "GMpv7cLThamxe7sHh5n52zZFKcHqPU4GAmxGXTxwRA2A",
"amount": 100000,
"feeAssetId": "",
"fee": 500000,
"recipient": "3Muet8GgfyC6Xd1Qv7TNjqT2N4dUwmJPfXC",
"attachment": "",
"timestamp": 1554080004122,
"senderPublicKey": "9QYYVjZntWane75e8ZyoacJdtrfUhuCTSYctVTqxTnJM",
"proofs": ["SoFHDJY6SMUyY8a4t2ZiEFgdc8DRUCcBUNcqrPjfbjgvq7bg74TJKdBw8UHDunKpg9GhjSw7QRXh4VMhuNcPdjm"],
"type": 4
}感谢您的阅读。
发布于 2019-04-18 17:47:43
:100}
{-# STDLIB_VERSION 3 #-} {-# CONTENT_TYPE表达式#-} {-# SCRIPTTYPE ASSET #-} match tx { case tx : TransferTransaction => let issuer =-# isDefined(getInteger(issuer,toBase58String(tx.id) case m: SetAssetScriptTransaction =>true case => false }
在这里,您应该发出令牌:

单击issue token之后,您需要定义3个变量:"name": "your token name", "quantity":1000000, "description": "for testing",然后执行上面的步骤。传输tx示例:
const tx = transfer({amount: 10, recipient: "recipient address"})Datatx示例:
const DataTx = data({data: [{key: "transfer transaction id", value: 100}]})
broadcast(tx)要查找转账事务ID,您只需在控制台中键入其名称(例如tx)
https://stackoverflow.com/questions/55469584
复制相似问题