Contract and dApp Helpers
Omni includes the following Solidity helpers to help you develop your Omni projects:
XApp
- A base contract that provides a set of common functions and variables for your contracts.XGreeter
- A simple contract that demonstrates how to use theXApp
contract.XGreeter Template
- A template that you can use to scaffold a new project with anXGreeter
contract. Used by the Omni CLIdeveloper new
command.XRegistry
- A contract that provides a registry for contracts to register themselves.
Awesome Omni Examples and Templates
See the Awesome Omni repo for a list of Omni examples and templates that you can use to get started with your Omni projects.