개발자 리소스

제타체인은 완전 상호 운용이 가능한 스마트 컨트랙트 또는 범용 스마트 컨트랙트를 지원하는 최초의 L1 블록체인으로, 모든 블록체인을 연결하고 비트코인 및 도지코인과 같은 비스마트 컨트랙트에 프로그래밍이 가능한 능력을 제공합니다. 당사는 보안, 간결 및 유연함이 함께하는 전무후무한 조합을 개발자에게 제공합니다.

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

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

지원되는 체인마다 컨트랙트를 만들 필요 없이, 모든 체인에서 사용할 수 있는 단 하나의 범용 컨트랙트를 관리하세요. 비트코인과 같은 비스마트 컨트랙트 체인을 포함한 모든 체인에 있는 자산에 액세스하여 이더리움에서 간편하게 구축해 보세요.

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

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

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

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

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

범용 스마트 컨트랙트 및 메시징은 사용자가 곤란을 겪거나 자금 관련 위험을 감수하지 않도록, 개발자에게 직관적이고 추적 가능한 단일 단계 트랜잭션을 손쉽게 구축할 수 있는 툴킷을 제공합니다.

// 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;

범용 프리미티브

제타체인의 범용 프리미티브는 개발자에게 애플리케이션을 즉시 배포하고 단 하나의 로직에서 연결된 모든 체인에 있는 자산을 조정할 수 있는 기능을 제공합니다.

범용 툴킷

범용 스마트 컨트랙트

기존 이더리움 스마트 컨트랙트 생태계를 활용하여 제타체인에서 완전 상호 운용이 가능한 앱을 구축하세요. 마치 모든 것이 단 하나의 체인에 있는 것처럼 말이죠.

더 알아보기

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

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

더 알아보기

범용 계좌

제타체인의 새로운 TSS 아키텍처를 통해 사용자와 컨트랙트는 안전하고 탈중앙화된 방식으로 한 곳에서 자산을 보관하고 관리할 수 있습니다.

곧 출시

익스플로러

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

익스플로러로 가기

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

제타체인은 블록체인이자 스마트 컨트랙트 플랫폼으로써, 범용 메시징 및 스마트 컨트랙트를 모두 지원하는 완전 공개적이며 투명하고 탈중앙화된 상호 운용성 솔루션을 제공합니다. 제타체인이 신뢰를 최소화하는 방식으로 체인 간 데이터와 가치 거래를 처리하므로, 제타체인의 개발자는 디앱 로직만 구현하면 됩니다.

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

위험 최소화

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

통합된 유동성

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

무한한 호환성

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

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

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

범용 디앱 배포
범용 대출
임의 방식 간 결제
범용 NFT
크로스-체인 소유권 증명
도지코인 스마트 계약
크로스-체인 DEX (체인 간 분산형 거래소)
범용 DAO
크로스-체인 스테이블스왑 (체인 간 안정
범용 대출
임의 방식 간 결제
범용 NFT
크로스-체인 소유권 증명
도지코인 스마트 계약
크로스-체인 DEX (체인 간 분산형 거래소)
범용 DAO
크로스-체인 스테이블스왑 (체인 간 안정

협업을 원하시나요?

디스코드 개발 구역에서 아이디어를 공유하고 제타체인에 범용 디앱을 구축할 협력자를 찾아보세요. 저희 팀은 언제나 도움을 드릴 준비가 되어 있습니다.

최신 (최근)

최신 ZetaChain 업데이트 확인하기

Placeholder

stc Bahrain Partners with ZetaChain to Advance Interoperable Web3 Solutions in the Middle East

stc Bahrain, a world class digital enabler, partners with ZetaChain to secure its Universal Blockchain, as part of its Web3 Launchpad Program under the Pearling Path initiative.

Placeholder

Introducing Gateway: Your Unified Entry Point for Building Universal Apps

Gateway streamlines the developer experience for deploying Universal Apps that operate natively across any blockchain including Bitcoin. Discover Gateway, and start building!

Placeholder

From UAE Recognition to Google Cloud Support: ZetaChain November Highlights

At ZetaChain, our mission is to build a Universal Blockchain with native access to any blockchain, making crypto as accessible, diverse, and connected as the internet. November marked an uptick in global support for ZETA as tech giant Google Cloud launched support for ZetaChain and major influences like the United Arab Emirates’ DFSA recognized ZETA and our mission to bring users native access to any blockchain including Bitcoin. Let’s jump into the exciting highlights and new developments from last month!

Placeholder

Top 10 DeFi protocol Avalon Labs launches Universal Lending on ZetaChain

Lending protocol Avalon Labs, with $1B+ in TVL, is live on ZetaChain and is leading ZetaChain’s first Universal Lending App — including native BTC support. Interact with the ZetaChain market and earn points.

Placeholder

10,000,000 ZETA: ZetaChain Validator Delegation Program

ZetaChain introduces 10,000,000 ZETA in validator delegations to grow the Universal Blockchain. Submit an application before November 28th to join the program!

Placeholder

150 Million Transactions Processed on the Universal Blockchain!

At ZetaChain, our mission is to build a Universal Blockchain with native access to any blockchain, making crypto as accessible, diverse, and connected as the internet. October marked a major milestone: ZetaChain crossed 150 million transactions just nine months after its mainnet launch. Let’s jump into the exciting highlights and new developments from last month!

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.


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