Testing smart contracts
Before you begin
Testing smart contracts is vital to ensure their functionality, security, and reliability in order to prevent vulnerabilities and financial losses in blockchain-based applications and having a testing framework integrated into your smart contract workflow will help to efficiently verify their robustness. You should always have your smart contracts audited before deploying them into a production environment.
Waffle is the recommended testing framework for smart contract development on Redbelly. Waffle works well with Typescript and provides a simple and intuitive way to write and execute tests for your smart contracts.
By using Waffle in combination with TypeScript, you can write comprehensive and reliable test cases for your smart contracts. This allows you to identify and fix bugs early in the development process, ensuring the robustness and security of your smart contracts before deploying them to Redbelly Network.