Dagger — The road ahead! — Anurag Arjun

We are very happy to announce that we have now added Ropsten testnet support for Dagger! (already available on Mainnet and Kovan)

Dagger provides a way for your DApps and backend applications to get Ethereum blockchain events, like transactions, receipts and logs in realtime. Dagger’s push notifications are far better than polling for events via web3 and is a significantly advanced way of listening to events.

We maintain hosted infrastructure for reliable and scalable realtime events, so that you do not need to worry about this part. Matic is committed to provide this hosted service for use by production-grade applications. As of now, we do not charge for the Dagger hosted service.Please do not hesitate to get in touch with us on Telegram, if you have any queries.

Here are some examples of what you can track with Dagger on Ethereum:

  • Get real-time transaction notifications in your web or mobile app
  • Track movement of tokens from and to specific addresses
  • Listen to multi-signature wallet events
  • Get updates on order filling, debt repayments, etc. on Dharma debt contracts
  • Monitor trades on Decentralized exchange contracts such as 0x and others
  • Listen to any event on an Ethereum contract

In fact, we are so pumped about the immense potential of data in the Ethereum and broader blockchain ecosystem, we have started working on a stealth project code-named Hermione, which we are building with our friends in the open source community (more details to come soon!). Hermione will be a scalable data processing system, that can be used for a wide variety of use cases involving Ethereum data.

If you are new to Dagger, here’s where you can get started — https://github.com/maticnetwork/eth-dagger.js

var Dagger = require("eth-dagger"); // connect to Dagger ETH main network (network id: 1) over web socket var dagger = new Dagger("wss://mainnet.dagger.matic.network"); // dagger server // Use mqtt protocol for node (socket) // var dagger = new Dagger('mqtts://mainnet.dagger.matic.network'); // dagger server // get new block as soon as it gets created dagger.on("latest:block", function(result) { console.log("New block created: ", result); }); // get only block number (as it gets created) dagger.on("latest:block.number", function(result) { console.log("Current block number: ", result); });

Matic itself uses Dagger internally to run key components of the network. Also, there are various third-party applications that use Dagger to run their production applications.

Take Dagger for a spin, and share your feedback.

More from the Polygon Blog
Introducing Plonky2

Polygon Zero’s mission is simple: to use zero-knowledge proofs to scale Ethereum to a billion users, without compromising decentralization or security. Achieving this requires fast and efficient proof systems. Today, we’re excited to share Plonky2, a major milestone for zero-knowledge cryptography. Plonky2 is a recursive SNARK that is 100x faster than existing alternatives and natively […]

Read More
Polygon Takes A Major Lead In ZK Rollups; Welcomes Mir, A Groundbreaking ZK Startup In A $400M Deal

TL;DR: We are excited to announce that Mir, a startup building groundbreaking ZK tech, is joining the Polygon family in a $400M* deal. Mir gathered a team of talented cryptographers and engineers, and after almost two years of work developed the world’s fastest ZK scaling technology. The Mir team is now joining Polygon in order […]

Read More
Polygon Announces Polygon Miden - A STARK-Based, Ethereum-Compatible Rollup

TL;DR: We are excited to announce the newest member of the Polygon solution suite - Polygon Miden, an upcoming STARK-based, EVM-compatible rollup. The project is led by Bobbin Threadbare, former Facebook’s core ZK researcher who led the development of Winterfell. Today we are releasing Polygon Miden’s core component - Miden VM, the first open-source STARK-based […]

Read More
Why Web3 Developers Are Choosing Polygon Over Other Solutions 

When it comes to deploying on Ethereum, there is only one place that lets developers easily migrate their projects, offers a broad range of scaling options and has some of the industry’s lowest transaction rates. These are just some of the reasons why the number of teams using Polygon jumped 100-fold in the past year. […]

Read More
Polygon’s Breakthrough Year: 2021 in Review

Welcome to 2022! This is shaping up to be another amazing year for the Polygon ecosystem. But after an absolutely breakthrough 2021, it's got big shoes to fill. Over the past year, Polygon made big strides toward accomplishing its mission of bringing the next billion users to Ethereum. The network’s low-fee infrastructure attracted some of […]

Read More
All You Need to Know About the Recent Network Upgrade

Earlier this month, Polygon’s core development team with help from bug bounty  platform Immunefi successfully fixed a critical network vulnerability. Considering the nature of this upgrade, it had to be executed without attracting too much attention. We are now ready to give the full account of what happened. A group of whitehat hackers notified Immunefi, […]

Read More