Test transaction outcomes from Tenderly Web3 Gateway, the first node as a service that offers simulations from the same RPC. Try it for free in your dashboard.

network

How the Cronos-Tenderly Integration Streamlines Dapp Development

Tenderly integrates with Cronos and expands support for Web3 developers. Learn how to use Tenderly features to build better dapps on Cronos and extend to the Cosmos ecosystem.

Milica Lukic
Milica Lukic
Jan 18, 2023 · 5 min read

In this post

How the Cronos-Tenderly Integration Streamlines Dapp Development

We at Tenderly are happy to announce that we integrated with Cronos and its testnet. Cronos is the first chain from the Cosmos ecosystem we added to our list of supported networks. This integration expands the support for smart contract developers who want to quickly and reliably port dapps from Ethereum and other EVM-compatible chains.

Cronos is a decentralized, open-source, energy-efficient blockchain powered by Ethermint. It’s the leading EVM-compatible build on the Cosmos SDK. The network supports the creator economy with Web3 applications such as DeFi and GameFi, serving as the foundational infrastructure for an open metaverse. Cronos is highly scalable and interoperable thanks to the Inter-Blockchain Communication (IBC) protocol.

As an all-in-one Web3 development platform, Tenderly enables blockchain developers to build, test, monitor, and optimize smart contracts in one place. It provides essential development tooling fully integrated with observability and blockchain infrastructure building blocks.

Now, with Tenderly’s support, Web3 developers can further optimize their dapp development on Cronos. They can also maximize the benefits this chain offers, including low transaction fees, fast transaction finality, and high throughput.

What Cronos brings to Web3 developers

The Cronos chain brings Web3 developers the best of two worlds: Ethereum and Cosmos. It’s powered by Ethermint, which makes it EVM-compatible and easily accessible to Solidity developers. It’s also built on the Cosmos SDK and Tendermint, with a strong and secure consensus layer.

So, as a Web3 developer, you can enjoy the following benefits:

  • EVM-compatibility: Since Cronos is powered by Ethermint, you can just continue using Solidity to build smart contracts. You can port dapps from Ethereum and other EVM-compatible networks quickly and easily.
  • High security: Cronos boasts a high level of security thanks to Tendermint and its Byzantine Fault Tolerant (BFT) protocol. The network can mitigate malicious behavior and even allow a third of its nodes to fail.

    Cronos runs on the Proof of Authority (PoA) protocol. This type of consensus mechanism ensures that node validators are highly skilled, background-checked, and up to the highest standards. They also need to follow a strict security checklist when running nodes.
  • Interoperability: Cronos supports the Inter-Blockchain Communication (IBC) protocol. This allows it to easily communicate with IBC-enabled chains such as Cosmos chains. So, you can create dapps that take advantage of multichain functionalities.

    Plus, Cronos will also have Ethereum-Cronos bridges, so you’ll be able to transfer ERC-20 tokens between the two ecosystems.
  • Support for GameFi dapps: The Cronos chain offers extensive support if you’re interested in developing GameFi applications. You can use a range of Cronos Play tools and services to easily build gaming dapps.

How to use Tenderly to build Cronos dapps with confidence

You can now quickly expand your reach to the Cosmos ecosystem with Tenderly’s support. All of Tenderly’s features, including Debugger, Gas Profiler, Transaction Simulator, Tenderly Forks, Alerting, Web3 Actions, and others, are available out of the box for Cronos.

Here’s how to use the all-in-one Tenderly platform to speed up and simplify dapp development on Cronos.

Optimize your development workflow

During development, Tenderly offers essential tools so you can easily build, test, and optimize your smart contracts. If you want to start building on Cronos, use Tenderly Sandbox to prototype a smart contract and see how your code would behave once deployed. Just choose the Cronos mainnet or testnet as the network for your Sandbox environment and start experimenting.

Creating a Cronos-based Tenderly Sandbox

If your code doesn’t execute as expected, use Tenderly Debugger to inspect it and debug potential issues. Next, analyze your contract with Gas Profiler to see exactly how much gas each function call spends. You can then optimize your contract’s gas consumption.

Want an additional level of certainty before deploying to Cronos? Use Transaction Simulator to preview transaction outcomes and ensure your contract behaves as expected.

The output of a simulated transaction on Cronos

To test complex scenarios, set up a Tenderly Fork as your development and testing environment. Play everything out and be confident in the correctness of your code.

Forking the Cronos mainnet or testnet

Get the essential dapp infrastructure

Just like Cronos, Tenderly enables developers to build dapps that offer a frictionless user experience. For instance, you can integrate with Simulation API to eliminate guesswork and allow your users to preview transactions directly from your Cronos dapp. This way, they can be confident their transactions will execute as expected.

Additionally, you can use Tenderly Web3 Actions to improve dapp interactivity and deliver data-rich notifications. Start by setting up a Web3 Action as a serverless backend for your dapp. Automatically execute a custom code response to any on-chain event relevant to your smart contract.

Setting up a block-based Web3 Action for Cronos

Finally, you can use Tenderly infrastructure to automate your development team’s workflow and boost their efficiency. To do this, simply integrate a Fork as a testing environment through API. This way, you can quickly test against the actual Cronos data and even complete multiple tests at once. Plus, you get complete control over your testing environment since you can also use the API to customize the Fork.

Observe your smart contracts and react timely

With Tenderly’s observability stack, you can monitor your smart contract usage on Cronos. Stay up to date by receiving customized notifications directly to Slack, Telegram, or some other channel with Alerting. Set up relevant triggers for your alerts and keep track of important changes on Cronos.

Creating an Alert for successful transactions on Cronos

Finally, to get the most recent data on Cronos or its testnet, check out the Analytics page. Get detailed information on your smart contract or wallet usage on the Cronos chain.

Build with Tenderly on Cronos and expand your user base

The Cronos-Tenderly integration expands the possibilities for Web3 developers. It provides you with comprehensive tooling to build secure dapps and grow your user base.

So, want to build a next-gen GameFi dapp or focus on DeFi? Cronos and Tenderly allow you to extend your reach to the Cosmos ecosystem with comprehensive support. Ready to try the fully integrated Tenderly platform for free? Let’s get this party started!