Replies: 1 comment
-
|
尴尬了,居然要传递字符串对象,就通过了。 arguments 参数改成: ...
arguments: [
'1222',
'1222',
recipient,
],
...是传递字符串类型就 Ok 了么 ??? sdk 内部 针对不同的 adapter 做了类型适配么?或者是 钱包的解析问题? 测试 Ethos 和 Sui Wallet 均是传递字符串类型。 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
使用 scaffold-sui 调用 sward 合约。打包参数 报错。
似乎是数据类型的错误。
请问如何把javascript 中的常见参数传递到合约中指定类型的参数。
调用代码如下:
Beta Was this translation helpful? Give feedback.
All reactions