Welcome to BlockDAG Dashboard! 👋

notification0
Notifications
logout

Dev Release 55

June 18, 2024

Hey BlockDAG community,We are thrilled to share some exciting updates with you! Building on the momentum from tomorrow's development phase, we are on track to successfully deliver Phase 2 of the X1 Miner application this week. By the end of this week, we anticipate being able to resubmit the applications to both the Google Play Store and the Apple App Store.

Let's quickly see what will be available on stores in somedays now: 

  • Leaderboard Functionality: We have completed the leaderboard functionality, which allows you to see your position with respect to earning DAG tokens.
  • Mining on Devtest Environment: After long discussions and complex implementation, we have achieved successful mining on the devtest environment. The complete application will now contain the following functionalities:
  • User Onboarding Module: Streamlined process to guide new users through setting up and starting with the X1 Miner application.
  • Landing Page with "Activate BlockDAG X1" Button: A simple, intuitive landing page featuring a button to activate the BlockDAG X1 miner.
  • BDAG Coin Balance: Users can easily view their current balance of BDAG coins.
  • FAQ Module: A comprehensive FAQ section to help users find answers to common questions quickly.
  • Settings Module: Options for users to customize their app experience, including notification preferences, account settings, and more.
  • Leaderboard Module: View and compare your earnings with other users in real time.
  • Delete Account Functionality: Users can securely delete their accounts if they choose to.
  • Groups (Referral) Module: Manage and view your referral groups, track their mining activities, and see the benefits earned through referrals.

Users can now experience the full range of functionalities. The complete application will undergo two rounds of testing. First, it will be subjected to developer testing to ensure that all features function as expected. This will be followed by a thorough QA testing phase to identify and fix any remaining issues, ensuring a smooth and reliable user experience.
We are still committed to enhancing the user experience and welcome any feedback you have for us.
In parallel, we have also commenced the development of websockets on the blocks module today. This is a significant step forward for our blockchain explorer, and we want to provide some technical details about how websockets work and their implementation in our BlockDAG explorer.

WebSocket Implementation in BlockDAG Blockchain


We are thrilled to announce that our team is actively working on integrating WebSocket support into our BlockDAG blockchain framework. This development will significantly enhance real-time communication and interaction within our network, and we are excited to bring these advancements to our developer community.
Key Features and Benefits:

  1. Real-Time Communication: The upcoming WebSocket integration will enable bi-directional, full-duplex communication channels over a single TCP connection. This ensures immediate propagation of transactions and blocks, enhancing the responsiveness and efficiency of the network.
  2. Enhanced User Experience: With WebSocket, developers will be able to create more interactive and dynamic applications on top of our BlockDAG blockchain. Users will experience near-instant updates and seamless interactions with decentralized applications (dApps).
  3. Scalability and Performance: WebSocket is designed to handle high throughput and low latency communication. Our implementation leverages this capability to support the scalability requirements of a BlockDAG architecture, ensuring efficient message handling and network growth without performance degradation.
  4. Security: The WebSocket implementation will include robust security measures such as Secure WebSocket (wss://) to ensure encrypted channels, mitigating risks associated with eavesdropping and man-in-the-middle attacks. We will incorporate authentication mechanisms and token-based access controls to further enhance security.
  5. Developer-Friendly Integration: We are committed to providing comprehensive API documentation and sample code in various programming languages, including Python, Go, C++, and JavaScript. This will facilitate easy integration of WebSocket functionality into existing applications and new projects.
     

Technical Details:

  • Protocol Support: The WebSocket implementation will comply with RFC 6455, ensuring compatibility with a wide range of clients and libraries. This includes support for both ws:// and wss:// protocols.
  • Language Compatibility: The implementation will provide libraries and SDKs in multiple programming languages, ensuring seamless integration across different development environments.
  • Optimization: Extensive performance testing and optimization will ensure minimal latency and high throughput, even under heavy network loads. Techniques such as message batching, compression (permessage-deflate), and efficient memory management will be employed.
  • Backward Compatibility: The new WebSocket features will be backward compatible, allowing existing applications and nodes to continue operating without any modifications. We will ensure smooth transitions and compatibility with existing RPC (Remote Procedure Call) interfaces.
     

Planned Features:

  • Event-Driven Architecture: Implementing an event-driven model to notify clients about new transactions, blocks, and consensus events in real-time.
  • Subscription Mechanisms: Enabling clients to subscribe to specific channels or topics, such as transaction updates or blockchain state changes.
  • Load Balancing and Fault Tolerance: Incorporating load balancing strategies and fault tolerance mechanisms to ensure reliability and availability of WebSocket services.
     

Why are we implementing websockts in BlockDAG Explorer

  1. Real-time Block Updates: With websockets, our blockchain explorer will be able to display new blocks as they are mined without the need for the user to refresh the page. This real-time update is crucial for users who need up-to-the-minute information on the blockchain's status.

// Client-side pseudo code for real-time block updates
websocket.onmessage = function(event) {
   const newBlock = JSON.parse(event.data)
   if (newBlock.type === "block") {
       updateBlockDisplay(newBlock)
   }
}

Live Transaction Feed: Users will be able to see transactions as they are confirmed in real time. This is particularly useful for monitoring high-volume transactions or tracking specific activities on the network.
// Client-side pseudo code for live transaction feed
 

websocket.onmessage = function(event) {
   const transaction = JSON.parse(event.data)
   if (transaction.type === "transaction") {
       updateTransactionDisplay(transaction)
   }
}

  1. Enhanced User Experience: By utilizing websockets, the overall user experience will be smoother and more dynamic. The real-time updates will provide a more interactive and engaging interface for users exploring the BlockDAG blockchain.
  2. Scalability: Websockets will help manage high volumes of data efficiently, allowing our blockchain explorer to scale better and handle more simultaneous users without compromising performance.

We are committed to enhancing our platform and providing our community with the best tools and features. The integration of websockets is a major milestone that will significantly improve the functionality and user experience of our BlockDAG blockchain explorer.

Road Ahead

As per the roadmap next step after deliver of phase 2 of mobile application we'll start the  integration of wallets and improvise the user onboarding module which will experience the revamp of user flow.
Stay tuned for latest updates!

BlockDAG LogoBlockDAG Logo