Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events #1

Open
domwoe opened this issue Aug 28, 2023 · 0 comments
Open

Events #1

domwoe opened this issue Aug 28, 2023 · 0 comments

Comments

@domwoe
Copy link

domwoe commented Aug 28, 2023

On the EVM, developers are used to generate events in their smart contracts to which clients can subscribe.

On ICP, there's no platform-level support for such a mechanism. Still, we could implement a similar mechanism on the application level, and I'd like to discuss if this could be a beneficial addition to this CDK.

The general idea would be to have a certified log with events stored in stable memory together with an API to e.g. retrieve the N latest events by type (to be discussed).

In addition, the websocket project could be used to allow subscribing to events.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant