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

Websocket Support v1 #228

Closed
16 tasks done
stephenpdeos opened this issue Jul 31, 2023 · 0 comments
Closed
16 tasks done

Websocket Support v1 #228

stephenpdeos opened this issue Jul 31, 2023 · 0 comments
Labels

Comments

@stephenpdeos
Copy link
Member

stephenpdeos commented Jul 31, 2023

Websocket Support v1

Problem

EOS EVM currently lacks native support for WebSockets, which are essential for establishing real-time and interactive communication between dApps and the blockchain network. WebSockets provide a more efficient and responsive alternative to traditional HTTP requests, enabling dApps to receive immediate updates on events, transactions, and contract state changes. The absence of WebSockets limits the real-time capabilities of EOS EVM-based applications, hindering their potential for providing dynamic and interactive user experiences.

Opportunity: What are the needs of our target user groups?

Developers and users within the EOS EVM ecosystem require real-time access to blockchain events and updates for various use cases, such as tracking transactions, monitoring contract state changes, and receiving notifications. With WebSocket support, dApps can deliver more engaging and interactive experiences to users by providing instant updates on blockchain activities.

Strategic alignment: How does this problem align with our core strategic pillars?

The enhancement aligns with our strategic goal of enhancing the user experience and developer capabilities within EOS EVM. By enabling WebSocket support, EOS EVM empowers developers to build dynamic and responsive dApps that provide real-time updates and interactive features to users.

Solution

Solution name: How should we refer to this product opportunity?

Websocket Support v1

Purpose: Define the product’s purpose briefly

The purpose of this enhancement is to introduce native support for WebSockets within EOS EVM. By enabling WebSockets, EOS EVM will allow dApps to establish real-time and interactive communication with the blockchain network, providing instant updates on events, transactions, and contract state changes.

Success definition: What are the top metrics for the product (up to 5) to define success?

  1. WebSocket Adoption Rate: Measure the percentage of dApps within the EOS EVM ecosystem that integrate WebSocket support for real-time updates.
  2. User Engagement: Monitor user engagement metrics, such as time spent on dApps, transaction frequency, and active users, to assess the impact of real-time updates on user interaction.
  3. Developer Satisfaction: Gather feedback from developers about the effectiveness and ease of integrating WebSocket functionality into their dApps.
  4. Real-time Notifications: Track the volume of real-time notifications sent to users through WebSocket connections, indicating the success of delivering instant updates.
  5. Increase in Interactive Features: Observe the development of dApps offering interactive and real-time features, such as live transaction tracking and dynamic content updates.

Assumptions

Implementing WebSocket support requires modifications to EOS EVM's communication layer to accommodate real-time data streaming.

Risks: What risks should be considered?

There's a potential risk of increased network load due to real-time data streaming, which may impact the overall network performance. Proper optimization and load-balancing mechanisms should be in place to manage this risk.

Business Objectives/Functionality

  1. WebSocket Integration: Integrate WebSocket functionality into the EOS EVM network to establish real-time communication channels.
  2. Event Subscription: Provide APIs for developers to subscribe to specific blockchain events, transactions, and contract state changes.
  3. Real-time Updates: Deliver real-time updates to subscribed dApps, enabling instant notifications and interactive user experiences.
  4. Developer Guides: Develop comprehensive guides and documentation to assist developers in integrating WebSocket functionality into their dApps.

User stories

  • As a dApp developer, I want to receive real-time updates on blockchain events, transactions, and contract state changes in order to provide instant notifications to users.
  • As a dApp user, I want to experience dynamic and interactive features that provide real-time updates on blockchain activities, enhancing my engagement with the application.

Follow-on tasks

  1. 👍 lgtm
    yarkinwho
  2. bug 👍 lgtm
    taokayan
@stephenpdeos stephenpdeos added this to the EOS EVM Phase 2 milestone Jul 31, 2023
@stephenpdeos stephenpdeos changed the title Websocket Support v2 Websocket Support Aug 4, 2023
@stephenpdeos stephenpdeos changed the title Websocket Support Websocket Support v1 Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: User Acceptance
Development

No branches or pull requests

1 participant