how to listen to real-time events on Sui #19494
Unanswered
NgocChung1998
asked this question in
Q&A
Replies: 1 comment
-
|
我有点想法,就是能否优化SUI链钱包地址?变成一个可简短可容易记住的数字,用户无需关注钱包的地址,因为地址关联着用户在注册后自动生成,避免用户增加心里成本,可行? |
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.
-
Let me ask, how can I listen to real-time events on Sui? The documentation for Sui events is no longer usable. Is there an alternative method I can use? Thank you, everyone! I use nodejs
let unsubscribe = await client.subscribeEvent({
filter: {
MovePackagePublished: {
package: Package,
},
},
onMessage: (event) => {
console.log("subscribeEvent", JSON.stringify(event, null, 2));
},
});
Beta Was this translation helpful? Give feedback.
All reactions