Tips for writing smart contracts on Redbelly
Redbelly is built to enable compliant asset tokenisation. In order to build your compliant asset tokenisation use case, you'll need to work with smart contracts written in Solidity. If you are unfamiliar with these concepts, we recommend familiarising yourself with them before getting started.
EVM compatibility
Redbelly is compatible with the Ethereum Virtual Machine (EVM) and can execute smart contracts written for the EVM. There are, however, a few things to keep in mind:
- Gas prices on Redbelly are fixed in USD terms, so this needs to be taken into consideration. See, Network fees, for more information.
- Redbelly has a deterministic consensus algorithm that ensures quasi-instant finality. There are, as a result, risks that a client could unintentionally fetch false data by unknowingly connecting to a Byzantine (malicious) node. As such, it is advised that clients leverage Credence.js - a library that ensures the fetching of reliable data for clients
Step-by-step smart contract guide
Before you begin
Remember to always exercise caution and perform security audits before deploying your smart contract to the mainnet to avoid potential vulnerabilities and loss of funds.