ZetaChain

Launch Testnet

Developer Resources

ZetaChain is the first ever L1 blockchain to enable fully interoperable smart contracts, including support for non-smart contract chains like Bitcoin and Dogecoin. We provide an unparalleled combination of security, simplicity, and flexibility for developers.

Built for an unparalleled developer experience

Deploy Once, Access All Chains

Manage a single contract for all chains instead of one contract for each supported chain. Experience the simplicity of building on Ethereum with access to assets on any chain, even non-smart contract chains like Bitcoin.

Fewer Transactions, Fewer Fees

Complex contract logic on ZetaChain can orchestrate assets across all connected external chains through simple transfers and single transactions, minimizing total gas expenditure and slippage for users.

Safer, Better User Experience

Transaction logic occurs atomically in our smart contracts, resulting in lower slippage, reduced attack surface, and less susceptibility to race conditions. Experience truly one-step transactions (and fees), even when operating across chains.

The best DevX = The best UX

Omnichain Smart Contracts and Messaging give you a complete toolkit to easily build intuitive, traceable, single-step transactions so your users don’t get stuck or risk their funds.

// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

import "@zetachain/protocol-contracts/contracts/zevm/SystemContract.sol";
import "@zetachain/protocol-contracts/contracts/zevm/interfaces/zContract.sol";

import "../shared/SwapHelperLib.sol";

contract ZetaSwap is zContract {
    SystemContract public immutable systemContract;

    constructor(address systemContractAddress) {
        systemContract = SystemContract(systemContractAddress);
    }

    function onCrossChainCall(address zrc20, uint256 amount, bytes calldata message) external virtual override {
        (address targetZRC20, bytes32 receipient, uint256 minAmountOut) = abi.decode(
            message,
            (address, bytes32, uint256)
        );
        uint256 outputAmount = SwapHelperLib._doSwap(
            systemContract.wZetaContractAddress(),
            systemContract.uniswapv2FactoryAddress(),
            systemContract.uniswapv2Router02Address(),
            zrc20,
            amount,
            targetZRC20,
            minAmountOut
        );
        SwapHelperLib._doWithdrawal(targetZRC20, outputAmount, receipient);
    }
}

The easiest, most versatile cross-chain platform

To interact with the ZetaChain blockchain, implement 3 functions into your dApp to get intuitive, traceable, revertible behavior so your users don't get stuck or risk their funds.

Start using Connector API
function send(ZetaInterfaces.SendInput calldata input)
function onZetaMessage(ZetaInterfaces.ZetaMessage calldata _zetaMessage)
function onZetaRevert(ZetaInterfaces.ZetaRevert calldata _zetaRevert)

Omnichain Primitives

Omnichain toolkit

Omnichain Smart Contracts

Leverage the existing Ethereum smart contract ecosystem and build truly interoperable apps on ZetaChain as if everything were on a single chain.

Learn more

Cross-chain Messaging

Send arbitrary messages and move real value without the need for wrapping or locking assets, from any chain to any chain.

Learn more

Omnichain Accounts

ZetaChain’s novel TSS architecture lets users and contracts custody and manage assets from a single place, in a secure and decentralized manner.

Coming soon

Explorer

Fully explorable transactions: View and monitor ZetaChain internal transactions as well as transactions occurring from any chain to any chain.

Go to Explorer

How does ZetaChain compare?

As a blockchain and smart contract platform, ZetaChain provides a fully public, transparent, decentralized interoperability solution that supports both omnichain messaging and smart contracts. Developers on ZetaChain only need to implement their dApp logic, while ZetaChain handles the transaction of data and value across chains in a trust-minimized way.

Read whitepaper
ZetaChainCosmosPolkadotTHORChainBridges/MessagingGeneral Smart Contracts
Yes
Yes
Yes
No
No
Cross-chain Value Transfer
Yes
Yes
Yes
Yes
Yes
Cross-chain Message Passing
Yes
Yes
Yes
No
Yes
Chain-Agnostic
Yes
Only Cosmos/IBC Chains
No
Yes
Application-specific chain-pairs
Settlement
Immediate native settlement
Wrapped
Wrapped
Immediate native settlement
Wrapped, risk of redeem
Native Bitcoin Vault Management
Yes
No
No
Yes
Application-specific
Omnichain Smart Contracts
Yes
Only Cosmos/IBC Chains
Only Parachains
No
No

Risk Minimized

ZetaChain is a decentralized network built with TSS and PoS Tendermint Consensus with a minimal attack surface.

Unified Liquidity

No wrapped assets, centralized bridges, or increased interdependency risks. More freedom and cheaper transactions.

Infinite Compatibility

ZetaChain can support any existing or new blockchain, even non-smart contract chains like Bitcoin and Dogecoin.

Start Building

Kickstart your development with our growing examples library, with real contracts for real use cases.

Deploy an Omnichain dApp
Omnichain lending
Any-to-any payments
Omnichain NFTs
Cross-chain proof of ownership
Dogecoin smart contracts
Cross-chain DEX
Omnichain DAOs
Cross-chain stableswap
Omnichain lending
Any-to-any payments
Omnichain NFTs
Cross-chain proof of ownership
Dogecoin smart contracts
Cross-chain DEX
Omnichain DAOs
Cross-chain stableswap

Want to collaborate?

Share ideas and find collaborators to build omnichain dApps on ZetaChain in our Discord Development Zone. Our team is always ready to help out.

Latest

Check out the latest ZetaChain updates

Placeholder

Omnichain Hackathon: DoraHacks x ZetaChain

ZetaChain’s first, online Omnichain Hackathon kicks off on May 15th. Access the landing page [here](https://dorahacks.io/hackathon/omnichain) and starting building the next generation of Omnichain dApps.

Placeholder

ZetaChain Omnichain Ecosystem Roundup #1

Last week, we saw a number of app companies deploy on ZetaChain’s testnet and join our launch partner ecosystem. Let’s check out the top highlights!

Placeholder

$5 Million ZetaChain Grants Program for Omnichain dApp Builders

We are thrilled to announce the launch of our ZetaChain Grants Program to support innovative, decentralized businesses that help grow the ZetaChain ecosystem.

Placeholder

ZetaChain Partners with Ankr To Accelerate Access To Web 3 Infrastructure

Announing our partnership with Ankr Protocol, one of the world’s leading web3 infrastructure providers and first ZetaChain RPC (Remote Procedure Call) partner.

Placeholder

TokenInsight Analysis: The Future of Omnichain

We are excited to share the latest TokenInsight report: The Future of Omnichain: ZetaChain, A Novel Layer-1 Blockchain Enables Fully Interoperable Smart Contracts.

Placeholder

Omnichain Test Asset Bridge Brings 100,000 Users in 3 Weeks

We introduced Free Testnet Bridge in response to recent parties charging for and speculating on the price of gETH. In the last 3 weeks, we've had 100,000 users on it.

Placeholder

ZetaChain Incentivized Testnet for Validators

ZetaChain’s incentivized testnet for validators is live and open for applications. Apply to gain hands-on experience in the launch and operation of ZetaChain.


Have questions?
Check out FAQ or chat with an expert.