개발자 리소스

ZetaChain is the first ever L1 blockchain to enable fully interoperable smart contracts, or universal smart contracts, that connect all blockchains and bring the power of programmability to non-smart contract chains like Bitcoin and Dogecoin. We provide an unparalleled combination of security, simplicity, and flexibility for developers.

어디에도 비할 데 없는 개발자 경험을 위해 만들었습니다.

한 번 배치하여, 모든 체인에 액세스

Manage a single universal 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.

거래는 감소하고, 수수료도 절감

ZetaChain의 복잡한 계약 로직은 간단한 전송과 단일 트랜잭션을 통해 연결된 모든 외부 체인 상에 걸쳐 있는 자산들을 조정할 수 있어서 사용자의 총 가스 지출과 슬리피지를 최소화할 수 있습니다.

더 안전하고, 더 나은 사용자 경험

거래 로직은 스마트 계약에서 원자적으로 발생하므로 슬리피지가 적고, 공격 면이 감소하며, 레이스 조건에 대한 민감도가 낮습니다. 체인 간에 운영되는 경우에도 진정한 원스텝 트랜잭션(및 수수료)을 경험할 수 있습니다.

최고의 DevX = 최고의 UX (최고의 개발자 경험 = 최고의 사용자 경험)

Universal 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);
    }

    modifier onlySystem() {
        require(msg.sender == address(systemContract), "Only system contract can call this function");
        _;
    }

    function onCrossChainCall(
        zContext calldata context,
        address zrc20,
        uint256 amount,
        bytes calldata message
    ) external virtual override onlySystem {
        (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);
    }
}
문서 읽기

가장 쉽고도 가장 다재다능한 크로스-체인 플랫폼

ZetaChain 블록체인과 상호작용을하려 한다면, '분산형 앱'(dApp) 안에 3가지 기능을 구현함으로써 직관적이고 추적 가능하며 되돌릴 수 있는 동작을 수행하도록 하여 사용자의 자금이 묶이거나 위기에 처하지 않게 하십시오.

컨넥터 API를 사용하여 시작하기
/**
/* Sending value and data cross-chain */
function send(ZetaInterfaces.SendInput calldata input) external;

/* onZetaMessage is called when cross-chain message reaches contract */
function onZetaMessage(ZetaInterfaces.ZetaMessage calldata zetaMessage) external;

/* onZetaRevert is called when cross-chain message reverts */
function onZetaRevert(ZetaInterfaces.ZetaRevert calldata zetaRevert) external;

Universal Primitives

ZetaChain's universal primitives give developers the ability to deploy applications once and orchestrate assets on any connected chain from a single place of logic.

Universal toolkit

Universal Smart Contracts

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

더 알아보기

크로스-체인 메시징 (체인간 메시징)

임의의 메시지를 보내고, 실제 가치를 자산을 포장하거나 잠그지 않고도 한 체인에서 다른 체인으로 이동시킬 수 있습니다.

더 알아보기

Universal Accounts

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

곧 출시

익스플로러

모든 트랜잭션 완벽하게 탐색 가능: ZetaChain 내부 트랜잭션뿐만 아니라 한 체인에서 다른 체인으로 발생하는 모든 트랜잭션을 보고 모니터링합니다.

익스플로러로 가기

ZetaChain을 어디다 비교하시겠습니까?

As a blockchain and smart contract platform, ZetaChain provides a fully public, transparent, decentralized interoperability solution that supports both universal 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.

백서 읽기
ZetaChainCosmosPolkadotTHORChainBridges/Messaging일반 스마트 계약
아니오
아니오
크로스-체인 가치 전달 (체인 간 가치 전달)
크로스-체인 메시지 통과 (체인 간 메시지 통과)
아니오
체인-애그노스틱 (체인에 관계없이)
코스모스/IBC 체인만 (코스모스/IBC 제인 전용)
아니오
애플리케이션별 체인-짝
합의
즉시 네이티브 합의
'랩트'
'랩트'
즉시 네이티브 합의
'랩트', 상환 위험
네이티브 비트코인 볼트 관리
아니오
아니오
애플리케이션별 (응용프로그램별)
Universal Smart Contracts
코스모스/IBC 체인만 (코스모스/IBC 제인 전용)
Parachains만 (Parachains 전용)
아니오
아니오

위험 최소화

ZetaChain은 TSS 및 PoS 텐더민트 컨센서스로 구축되어 공격 면이 최소화된 분산형 네트워크입니다.

통합된 유동성

래핑된 자산, 중앙집중식 브리지 또는 상호의존 리스크의 증가가 없습니다. 더 많은 자유와 더 저렴한 거래가 있습니다.

무한한 호환성

ZetaChain은 모든 기존의 또는 새로운 블록체인을 지원할 수 있으며, 심지어 비-스마트 계약인 비트코인과 도지코인도 지원합니다.

구축 시작하기 (작성 시작하기)

사용된 실제 계약들로 점점 커지고 있는 예제 라이브러리를 활용하여 개발 작업을 시작하세요.

Deploy an Universal dApp
Universal lending
임의 방식 간 결제
Universal NFTs
크로스-체인 소유권 증명
도지코인 스마트 계약
크로스-체인 DEX (체인 간 분산형 거래소)
Universal DAOs
크로스-체인 스테이블스왑 (체인 간 안정
Universal lending
임의 방식 간 결제
Universal NFTs
크로스-체인 소유권 증명
도지코인 스마트 계약
크로스-체인 DEX (체인 간 분산형 거래소)
Universal DAOs
크로스-체인 스테이블스왑 (체인 간 안정

협업을 원하시나요?

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

최신 (최근)

최신 ZetaChain 업데이트 확인하기

Placeholder

Connecting ZetaChain to Base and Welcoming Coinbase to ZetaChain

We welcome Coinbase to ZetaChain, making ZetaChain mainnet one of the networks available on Coinbase. Users can now claim ZETA with Coinbase Earn and custody and stake ZETA with Coinbase Prime.

Placeholder

Goodbye Airdrops and Points, Hello Instant Rewards!

Mint your XP NFT, experience Instant Rewards, and claim ZETA now! ZetaChain’s Instant Rewards introduces a new model of continuous incentives, redefining how users earn in web3. Tune into today’s monthly update to learn more!

Placeholder

3.8M wallets now connected to the universal blockchain!

At ZetaChain, our mission is to power Universal Apps that span all chains from native Bitcoin and Ethereum to Cosmos, Solana and beyond. September brought us many steps closer towards realizing this goal. From new network milestones and major global events like Token 2049 to unlocking native BTC in web3 — let’s dive into the highlights!

Placeholder

bitSmiley launches the first native BTC-backed stablecoin on ZetaChain, accessible on all chains

bitSmiley launches the first native BTC-backed stablecoin, bitUSD, on ZetaChain testnet, unlocking seamless cross-chain DeFi with native Bitcoin.

Placeholder

August 2024: 16 improvements to the Universal Blockchain!

At ZetaChain, our mission is to power Universal Apps that span all chains from native Bitcoin and Ethereum to Cosmos, Solana and beyond. August brought us 16 steps closer towards realizing this goal. From universal memes and major global events to unlocking native BTC in web3 — let’s dive into the highlights!

Placeholder

Animoca Brands secures the first Universal Blockchain

At ZetaChain, our mission is to power Universal Apps that span all chains from native Bitcoin and Ethereum to Cosmos, Solana and beyond. Today, we’re excited to announce Animoca Brands, the company advancing digital property rights for gaming and the open metaverse, pledges to secure the universal blockchain.

Placeholder

July 2024: 22 big improvements to the universal blockchain!

At ZetaChain, our mission is to power Universal Apps that span all chains from native Bitcoin and Ethereum to Cosmos, Solana and beyond. In July, we took 22 additional steps towards realizing this goal!


질문 있으세요?
FAQ를 확인하거나 전문가와 채팅하세요.