Skip to content

A collection of example smart contract projects implementing omnichain and cross-chain messaging contracts on ZetaChain

License

Notifications You must be signed in to change notification settings

nezhachen/example-contracts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Omnichain Contracts

The omnichain directory contains omnichain contracts. Omnichain is a unique interoperability feature of ZetaChain that allows you to write and deploy a single contract that can manage assets on all connected blockchains. Learn more about omnichain contracts in the docs.

Cross-Chain Messaging

The messaging directory contains contracts that demonstrate the ability to send data and value between blockchains using cross-chain transactions, without the need for warpped assets and bridges. Learn more about cross-chain messaging in the docs.

Tutorials

If you are new to ZetaChain and would like to learn how to use these example contracts, check out the developer section in the docs. The 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.

About

A collection of example smart contract projects implementing omnichain and cross-chain messaging contracts on ZetaChain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 45.0%
  • Solidity 42.5%
  • JavaScript 8.0%
  • Shell 4.5%