Today we are excited to announce our integration with Matic Network.  The Matic Network is composed of a diverse array of high throughput, modified Proof of Stake Plasma sidechains. By leveraging Matic, developers can circumvent the slow block times and expensive transactions on the Ethereum mainnet, and focus on providing the best possible product and user experience their dApp can offer. If you’re interested in learning more about Matic’s underlying architecture consider checking out their website and whitepaper here.

If you took the leap to read the Matic whitepaper and find yourself overwhelmed by the complexities involved in architecting a sound sidechain solution, don’t fret! The Matic team has taken the liberty of building out the Matic SDK, a drop-in toolkit for developers that makes interfacing with Matic sidechains a breeze. The Matic SDK provides a comfortable and streamlined development environment that is easy for both seasoned Ethereum veterans and new developers to build with.

Building a traditional block explorer that is extensible to the increasing variety of PoS sidechains present in the Matic network poses as a prohibitively challenging task.  Since the Matic ecosystem is composed of a diverse assortment of high throughput chains, organizing a block explorer interface that organizes this information in a straightforward manner for end users is extremely difficult. Terminal’s dApp monitoring platform allows developers to surface sidechain data in a convenient and comprehensible manner.  The Terminal dApp monitoring platform removes the noise of empty blocks and only collects material that is actionable and relevant for dApp teams and end users. With that in mind, let’s walk through what a minimalist integration of the Terminal SDK into a Matic.

To begin you will need to a Terminal Account. You can sign up here. If you're planning on sharing this account with other people, we recommend starting with team project. Once you’ve signed up and you can go ahead and generate an API key from the settings page. You will also see your projectId’s here. You’ll need both of these so copy and paste them somewhere convenient. The easiest way to implement your dapp on the Matic network is through a wallet provider like Portis. To use Portis in your dapp you will need to grab a developer ID from here. Once you have all the necessary credentials, check out how to get started with the TerminalSDK

As an example, we've built a simple dapp that connects to the Matic Alpha sidechain using the portis wallet. You can check out and clone the source code.Then just plug in your credentials. Remember that in order to send a transaction on the Matic network you will need to have some of the Matic token in your wallet. Now that the dapp is running, you’ll be able to see every transaction, trace, as well as read calls that are made through your dapp. Once you have your dApp setup on a Matic sidechain along with Terminal, you’ll be able to see all your dApps blockchain interactions in one place. Whether you’re looking for a specific transaction, contract deployment or just want to see all of your users, all of this and more is surfaced in a simple and readable fashion.

If you are having trouble integrating your dapp with Terminal, please feel free to reachout in our Discord,on our website, or at hi@terminal.co as we are more than happy to help bootstrap you project with TerminalSDK.