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

feat(socket): rusty introduction #50

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from

Conversation

IzioDev
Copy link

@IzioDev IzioDev commented Sep 1, 2024

rusty socket here: https://github.com/IzioDev/kaspa-rusty-socket-server/tree/main

todo:

  • ws auto reconnect from client
  • last-blocks events on connect (prior to any message sending)

Copy link

vercel bot commented Sep 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
kaspa-explorer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 3, 2024 7:15pm
kaspa-explorer-test ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 3, 2024 7:15pm
kaspa-explorer-testnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 3, 2024 7:15pm


socket.on('bluescore', (e) => {
setBlueScore(e.blueScore)
const { close, data, isReady, send } = useWs("ws://localhost:3002/ws");
Copy link
Author

Choose a reason for hiding this comment

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

env var?

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.

3 participants