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
Polygon Reaches First Sustainability Milestone by Achieving Network Carbon Neutrality

Polygon has made a major first step toward becoming carbon negative with the retirement of $400,000 in carbon credits representing 104,794 tonnes of greenhouse gasses, or the entirety of the network’s CO2 debt since inception.  The milestone comes after Polygon in mid-April released its Green Manifesto, part of its broader vision for sustainable development. The […]

Read More
State of Governance #2: Identity & Reputation

Clink Clank For a period of time, democracy in ancient Athens was exercised in a peculiar way.* Every eligible voter, when entering the hall, would receive a single pebble to be cast in one of two urns during assembly, signifying approval or disapproval on an issue. Athenians, understanding the significance of votes being cast anonymously, […]

Read More
Why Neobanks Will Lead TradFi’s Shift to Web3

Conventional wisdom has it that traditional finance (TradFi) and decentralized finance (DeFi) go together like vampires and garlic. But there is one area of TradFi where that black-and-white picture shades into gray. This is the case for why neobanks will be key to bridging these two worlds. Neobanks, or digital banks, are basically banks without […]

Read More
Polygon ID x Polygon DAO Integration Launches to Create New ZK-based Governance Frameworks

Today, we’re launching the first iteration of Polygon ID - a private and self-sovereign identity solution powered by zero-knowledge cryptography. To start, Polygon ID enables a whole host of features previously inaccessible to DAOs. It will be integrated with Polygon DAO beginning today, and many more DAOs to come soon.  Too often, we’re forced to […]

Read More
Announcing Polygon Pod, a Podcast From the Epicenter of Web3

What’s the future of DeFi? How can blockchain projects shake the reputation for being bad for the environment? What in the world are zero knowledge proofs? How can Web3 attract and accommodate the next billion users? When Flippening? You want to know the answers and so do we. That’s why Polygon is launching Polygon Pod […]

Read More