Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 2 KB

readme.md

File metadata and controls

47 lines (35 loc) · 2 KB

Example ZetaChain contracts

Please, note that code from this repository is referenced in the documentation. When making changes to the code especially when moving files, make sure to update the documentation as well.

Overview

Welcome to the ZetaChain example contracts repository! This collection of smart contract projects is written using Hardhat and Solidity, specifically for the ZetaChain blockchain. Each project showcases different functionalities and use cases that can be implemented on the ZetaChain platform.

Universal Apps

The examples directory contains the latest universal omnichain example contracts. A universal app is a smart contract on ZetaChain that is natively connected to other blockchains like Ethereum, BNB and Bitcoin. These contracts use the latest gateway architecture and are compatible with localnet. Learn more about universal apps in the docs.

The omnichain directory contains contracts that use TSS for interacting with universal apps. These contracts do not use the latest gateway architecture, but are compatible with the current testnet.

Tutorials

If you are new to ZetaChain and would like to learn how to use these example contracts, check out the Tutorial section in the docs. These tutorials provide step-by-step instructions on setting up your development environment, deploying contracts, and interacting with the ZetaChain network.

Contributing

Contributions to this repository are welcome! If you have an example project or an improvement to an existing one, please fork the repository, create a new branch, make your changes, and submit a pull request.

Disclaimer

These example projects are provided for educational purposes only. They are not intended for use in production environments without thorough review, security audits, and customization to meet specific requirements. Use them at your own risk.