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

Add a demo script to listen the events #220

Merged
merged 2 commits into from
Jul 10, 2024

Conversation

adi-a11y
Copy link
Contributor

@adi-a11y adi-a11y commented May 15, 2024

This PR introduces a demo script designed to monitor events occurring on the blockchain

@@ -0,0 +1,33 @@
import { ApiPromise, WsProvider } from '@polkadot/api'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to convert this dependency to CORD?

I wouldn't want our community members to have confusion on when to use which package. As a dependency they will always use the @cord.network/sdk package, which internally would have dependency on polkadot etc.

So let the demo scripts also include dependency on @cord.network/sdk itself.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been addressed - 7c2b974

@amarts amarts merged commit 96c9705 into dhiway:develop Jul 10, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants