├── .eslintignore ├── .eslintrc.js ├── .github ├── CODEOWNERS ├── dependabot.yml └── workflows │ ├── check-links.yaml │ ├── deploy.yml │ ├── update-from-protocol-contracts.yaml │ ├── update-from-toolkit.yaml │ └── update-from-zeta-node.yaml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── babel.config.js ├── bounty.md ├── next-env.d.ts ├── next-sitemap.config.js ├── next.config.js ├── package.json ├── postcss.config.js ├── public ├── data │ └── openapi.swagger.yaml ├── favicon │ ├── android-chrome-144x144.png │ ├── android-chrome-192x192.png │ ├── android-chrome-36x36.png │ ├── android-chrome-48x48.png │ ├── android-chrome-512x512.png │ ├── android-chrome-72x72.png │ ├── android-chrome-96x96.png │ ├── apple-touch-icon-114x114.png │ ├── apple-touch-icon-120x120.png │ ├── apple-touch-icon-144x144.png │ ├── apple-touch-icon-152x152.png │ ├── apple-touch-icon-180x180.png │ ├── apple-touch-icon-57x57.png │ ├── apple-touch-icon-60x60.png │ ├── apple-touch-icon-72x72.png │ ├── apple-touch-icon-76x76.png │ ├── apple-touch-icon.png │ ├── browserconfig.xml │ ├── favicon.png │ ├── safari-pinned-tab.svg │ └── site.webmanifest ├── fonts │ ├── inter │ │ ├── OFL.txt │ │ ├── inter-black.ttf │ │ ├── inter-bold.ttf │ │ ├── inter-extra-bold.ttf │ │ ├── inter-extra-light.ttf │ │ ├── inter-light.ttf │ │ ├── inter-medium.ttf │ │ ├── inter-regular.ttf │ │ ├── inter-semi-bold.ttf │ │ └── inter-thin.ttf │ ├── roboto │ │ ├── LICENSE.txt │ │ ├── roboto-mono-italic-variable-font-wght.ttf │ │ └── roboto-mono-variable-font-wght.ttf │ └── roobert │ │ ├── roobert-bold.ttf │ │ ├── roobert-heavy.ttf │ │ ├── roobert-light.ttf │ │ ├── roobert-medium.ttf │ │ ├── roobert-regular.ttf │ │ └── roobert-semi-bold.ttf ├── img │ ├── docs │ │ ├── ZetaChain-High-level-Architecture.png │ │ ├── alchemy-0.png │ │ ├── alchemy-1.5.png │ │ ├── alchemy-1.png │ │ ├── alchemy-2.png │ │ ├── alchemy-3.png │ │ ├── architecture-1.png │ │ ├── ccm-message-explorer.png │ │ ├── ccm-warriors-explorer.jpg │ │ ├── components-balances.png │ │ ├── components-connect-bitcoin.png │ │ ├── components-profile.png │ │ ├── components-staking-rewards.png │ │ ├── components-swap.png │ │ ├── goldrush-home.png │ │ ├── goldrush-key.png │ │ ├── keplr-add-zetachain-mainnet.png │ │ ├── keplr-add-zetachain.png │ │ ├── keplr-approve.png │ │ ├── keplr-assets.png │ │ ├── keplr-balances-mainnet.png │ │ ├── keplr-balances.png │ │ ├── keplr-dashboard.png │ │ ├── keplr-governance-dashboard.png │ │ ├── keplr-menu.png │ │ ├── keplr-send.png │ │ ├── keplr-setup.png │ │ ├── keplr-staking-approve.png │ │ ├── keplr-staking-confirm.png │ │ ├── keplr-staking-dashboard.png │ │ ├── keplr-staking-result.png │ │ ├── keplr-staking-validators.png │ │ ├── keplr-staking.png │ │ ├── keplr-validator-overview.png │ │ ├── keplr-voting.png │ │ ├── leap-balances.png │ │ ├── leap-chains.png │ │ ├── leap-confirm.png │ │ ├── leap-review.png │ │ ├── leap-stake.png │ │ ├── leap-validator.png │ │ ├── leap-wallet.png │ │ ├── nft.png │ │ ├── omnichain-smart-contracts.png │ │ ├── ping-connect.png │ │ ├── ping-dashboard.png │ │ ├── ping-delegate.png │ │ ├── ping-keplr.png │ │ ├── ping-staking.png │ │ ├── ping-success.png │ │ ├── ping-tx.png │ │ ├── release-draft.png │ │ ├── release-form.png │ │ ├── release-releases.png │ │ ├── tutorials-nft.png │ │ ├── uniswap.jpg │ │ ├── validator-compare.png │ │ ├── validator-fork.png │ │ ├── why-custody.png │ │ ├── why-orchestration.png │ │ ├── zeta-pools-example.jpg │ │ ├── zeta-pools-example.png │ │ ├── zetahub │ │ │ ├── connect-wallet-1.png │ │ │ ├── connect-wallet-2.png │ │ │ ├── connect-wallet-3.png │ │ │ ├── connect-wallet-4.png │ │ │ ├── create-wallet-1.png │ │ │ ├── create-wallet-2.png │ │ │ ├── earn-zeta-xp-1.png │ │ │ ├── earn-zeta-xp-2.png │ │ │ ├── earn-zeta-xp-3.png │ │ │ ├── earn-zeta-xp-4.png │ │ │ ├── get-zeta-1.png │ │ │ ├── pool-1.png │ │ │ ├── pool-2.png │ │ │ ├── pool-3.png │ │ │ ├── pool-4.png │ │ │ ├── pool-5.png │ │ │ ├── pool-6.png │ │ │ ├── pool-7.png │ │ │ ├── pool-8.png │ │ │ ├── pool-9.png │ │ │ ├── send-1.png │ │ │ ├── send-2.png │ │ │ ├── send-3.png │ │ │ ├── staking-1.png │ │ │ ├── staking-10.png │ │ │ ├── staking-11.png │ │ │ ├── staking-12.png │ │ │ ├── staking-13.png │ │ │ ├── staking-2.png │ │ │ ├── staking-3.png │ │ │ ├── staking-4.png │ │ │ ├── staking-5.png │ │ │ ├── staking-6.png │ │ │ ├── staking-7.png │ │ │ ├── staking-8.png │ │ │ ├── staking-9.png │ │ │ ├── xp-earn-5.png │ │ │ ├── xp-earn-6.png │ │ │ ├── xp-earn-7.png │ │ │ ├── xp-enroll-1.png │ │ │ ├── xp-enroll-2.png │ │ │ ├── xp-enroll-3.png │ │ │ └── xp-enroll-4.png │ │ ├── zetascan.png │ │ ├── zevm-dex.png │ │ ├── zrc-20-header.png │ │ └── zrc-20-multiswap-example.png │ ├── examples │ │ ├── cross-chain-counter.png │ │ └── cross-chain-nft-transfer.png │ ├── graphs │ │ ├── cross-chain-counter.svg │ │ ├── cross-chain-nft-transfer.svg │ │ ├── messaging-based-dex-using-zrc-20-graph.svg │ │ ├── omnichain-smart-contracts-graph.svg │ │ ├── omnichain-smart-contracts-orchestrate-graph.svg │ │ ├── withdraw.png │ │ ├── zeta-pools-example.svg │ │ ├── zeta-scan-contract.jpg │ │ ├── zeta-scan-files.jpg │ │ ├── zeta-scan-screen-capture.jpg │ │ ├── zeta-scan-select-contract.jpg │ │ ├── zeta-scan-verified.jpg │ │ ├── zetachain-architecture-overview-graph.svg │ │ ├── zevm-based-dex-using-zrc-20-graph.svg │ │ └── zrc-20-header.svg │ ├── icons │ │ ├── arrow-vector.png │ │ ├── arrow-vector.svg │ │ ├── discord-logo.png │ │ ├── dropdown.svg │ │ ├── history.png │ │ ├── history.svg │ │ ├── search-black.png │ │ ├── search.png │ │ ├── telegram-logo.png │ │ ├── twitter-logo.png │ │ ├── zeta-circle-icon-fixed-border.png │ │ ├── zeta-docs-logo.png │ │ ├── zeta-docs-logo.svg │ │ ├── zeta-horizontal-black.png │ │ ├── zeta-horizontal-white.png │ │ ├── zeta-logo-icon.png │ │ └── zetachain │ │ │ ├── horizontal │ │ │ ├── black-on-gray.png │ │ │ ├── black-on-gray.svg │ │ │ ├── black-on-gray@4x.png │ │ │ ├── black-on-white.png │ │ │ ├── black-on-white.svg │ │ │ ├── black-on-white@4x.png │ │ │ ├── green-on-gray.png │ │ │ ├── green-on-gray.svg │ │ │ ├── green-on-gray@4x.png │ │ │ ├── green-on-white.png │ │ │ ├── green-on-white.svg │ │ │ ├── green-on-white@4x.png │ │ │ ├── white-on-green.png │ │ │ ├── white-on-green.svg │ │ │ └── white-on-green@4x.png │ │ │ ├── round │ │ │ ├── black-on-white-1.png │ │ │ ├── black-on-white-1.svg │ │ │ ├── black-on-white.png │ │ │ ├── black-on-white.svg │ │ │ ├── black-on-white@4x-1.png │ │ │ ├── black-on-white@4x.png │ │ │ ├── green-on-white-1.png │ │ │ ├── green-on-white-1.svg │ │ │ ├── green-on-white.png │ │ │ ├── green-on-white.svg │ │ │ ├── green-on-white@4x-1.png │ │ │ ├── green-on-white@4x.png │ │ │ ├── white-on-green.png │ │ │ ├── white-on-green.svg │ │ │ └── white-on-green@4x.png │ │ │ ├── square │ │ │ ├── black-on-white-1.png │ │ │ ├── black-on-white-1.svg │ │ │ ├── black-on-white.png │ │ │ ├── black-on-white.svg │ │ │ ├── black-on-white@4x-1.png │ │ │ ├── black-on-white@4x.png │ │ │ ├── green-on-white-1.png │ │ │ ├── green-on-white-1.svg │ │ │ ├── green-on-white.png │ │ │ ├── green-on-white.svg │ │ │ ├── green-on-white@4x-1.png │ │ │ ├── green-on-white@4x.png │ │ │ ├── white-on-green.png │ │ │ ├── white-on-green.svg │ │ │ └── white-on-green@4x.png │ │ │ └── vertical │ │ │ ├── black-on-gray.png │ │ │ ├── black-on-gray.svg │ │ │ ├── black-on-gray@4x.png │ │ │ ├── black-on-white.png │ │ │ ├── black-on-white.svg │ │ │ ├── black-on-white@4x.png │ │ │ ├── green-on-gray.png │ │ │ ├── green-on-gray.svg │ │ │ ├── green-on-gray@4x.png │ │ │ ├── green-on-white.png │ │ │ ├── green-on-white.svg │ │ │ ├── green-on-white@4x.png │ │ │ ├── white-on-green.png │ │ │ ├── white-on-green.svg │ │ │ └── white-on-green@4x.png │ ├── logos │ │ ├── close.svg │ │ ├── og-banner.png │ │ └── zeta.svg │ └── pages │ │ ├── about.svg │ │ ├── bug-bounty.svg │ │ ├── build.svg │ │ ├── community-ambassador.svg │ │ ├── community.svg │ │ ├── developer-community.svg │ │ ├── feedback.svg │ │ ├── operate.svg │ │ ├── protocol-roadmap-dark.svg │ │ ├── protocol-roadmap.svg │ │ ├── provide-feedback.svg │ │ ├── start.svg │ │ ├── support.svg │ │ ├── tech-ambassador-program.svg │ │ ├── tools.svg │ │ ├── universalkit.svg │ │ ├── use.svg │ │ ├── work-with-us.svg │ │ └── zetachain-documentation.svg ├── robots.txt ├── sitemap-0.xml └── sitemap.xml ├── release.md ├── src ├── components │ ├── About │ │ ├── components │ │ │ ├── KeyFeatures.tsx │ │ │ ├── RoadmapPillars.tsx │ │ │ ├── TechnicalRoadmap.tsx │ │ │ └── WhatIsZetaChain.tsx │ │ └── index.ts │ ├── AppComponent.tsx │ ├── Community │ │ ├── Community.constants.ts │ │ ├── components │ │ │ ├── CommunityLedGroups.tsx │ │ │ ├── DeveloperCommunity.tsx │ │ │ ├── GetInvolved.tsx │ │ │ └── OfficialChannels.tsx │ │ └── index.ts │ ├── Docs │ │ ├── components │ │ │ ├── AddressConverter │ │ │ │ ├── AddressConverter.utils.ts │ │ │ │ ├── components │ │ │ │ │ └── AddressConverter.tsx │ │ │ │ └── index.ts │ │ │ ├── AdminPolicy.tsx │ │ │ ├── ConnectedChainsList.tsx │ │ │ ├── ContractAddresses.tsx │ │ │ ├── EndpointList.tsx │ │ │ ├── Fees.tsx │ │ │ ├── ForeignCoinsTable.tsx │ │ │ ├── GovParams.tsx │ │ │ ├── GovUpgradeProposals.tsx │ │ │ ├── NetworkDetails.tsx │ │ │ ├── NodeSnapshots.tsx │ │ │ ├── ObserverList.tsx │ │ │ ├── ObserverParams.tsx │ │ │ ├── OpenAPIBrowser.tsx │ │ │ ├── SubspaceKeyTable.tsx │ │ │ └── ZetaTokenTable.tsx │ │ └── index.ts │ ├── Home │ │ ├── components │ │ │ ├── GetStarted.tsx │ │ │ ├── HomeHero.tsx │ │ │ ├── HomeNavigationSections.tsx │ │ │ └── WorkWithUs.tsx │ │ └── index.ts │ ├── Support │ │ ├── components │ │ │ ├── GetSupport.tsx │ │ │ └── ShareFeedbackOrDiscoveries.tsx │ │ └── index.ts │ └── shared │ │ ├── components │ │ ├── Alert.tsx │ │ ├── AppHead.tsx │ │ ├── BugBounty.tsx │ │ ├── ClientOnlyPortal.tsx │ │ ├── CodeBlock │ │ │ ├── CodeBlock.helpers.ts │ │ │ ├── components │ │ │ │ ├── Code.tsx │ │ │ │ ├── CodeBlock.tsx │ │ │ │ ├── CopyToClipboard.tsx │ │ │ │ └── Pre.tsx │ │ │ └── index.ts │ │ ├── Error │ │ │ ├── components │ │ │ │ ├── ErrorContainer.tsx │ │ │ │ ├── PageNotFound.tsx │ │ │ │ └── ServerError.tsx │ │ │ └── index.ts │ │ ├── Footer.tsx │ │ ├── HeadProgressBar.tsx │ │ ├── Hero.tsx │ │ ├── Icons │ │ │ ├── components │ │ │ │ ├── HeroIconLightBulb.tsx │ │ │ │ ├── HeroIconMoon.tsx │ │ │ │ ├── HeroIconSun.tsx │ │ │ │ ├── IconAbout.tsx │ │ │ │ ├── IconArrowNarrowRight.tsx │ │ │ │ ├── IconArticle │ │ │ │ │ ├── components │ │ │ │ │ │ ├── DeterministicIconArticle.tsx │ │ │ │ │ │ ├── IconArticle001.tsx │ │ │ │ │ │ ├── IconArticle002.tsx │ │ │ │ │ │ ├── IconArticle003.tsx │ │ │ │ │ │ ├── IconArticle004.tsx │ │ │ │ │ │ ├── IconArticle005.tsx │ │ │ │ │ │ ├── IconArticle006.tsx │ │ │ │ │ │ ├── IconArticle007.tsx │ │ │ │ │ │ ├── IconArticle008.tsx │ │ │ │ │ │ ├── IconArticle009.tsx │ │ │ │ │ │ ├── IconArticle010.tsx │ │ │ │ │ │ ├── IconArticle011.tsx │ │ │ │ │ │ ├── IconArticle012.tsx │ │ │ │ │ │ ├── IconArticle013.tsx │ │ │ │ │ │ ├── IconArticle014.tsx │ │ │ │ │ │ ├── IconArticle015.tsx │ │ │ │ │ │ ├── IconArticle016.tsx │ │ │ │ │ │ ├── IconArticle017.tsx │ │ │ │ │ │ ├── IconArticle018.tsx │ │ │ │ │ │ ├── IconArticle019.tsx │ │ │ │ │ │ ├── IconArticle020.tsx │ │ │ │ │ │ ├── IconArticle021.tsx │ │ │ │ │ │ ├── IconArticle022.tsx │ │ │ │ │ │ ├── IconArticle023.tsx │ │ │ │ │ │ ├── IconArticle024.tsx │ │ │ │ │ │ ├── IconArticle025.tsx │ │ │ │ │ │ ├── IconArticle026.tsx │ │ │ │ │ │ ├── IconArticle027.tsx │ │ │ │ │ │ ├── IconArticle028.tsx │ │ │ │ │ │ ├── IconArticle029.tsx │ │ │ │ │ │ ├── IconArticle030.tsx │ │ │ │ │ │ ├── IconArticle031.tsx │ │ │ │ │ │ ├── IconArticle032.tsx │ │ │ │ │ │ ├── IconArticle033.tsx │ │ │ │ │ │ ├── IconArticle034.tsx │ │ │ │ │ │ ├── IconArticle035.tsx │ │ │ │ │ │ ├── IconArticle036.tsx │ │ │ │ │ │ ├── IconArticle037.tsx │ │ │ │ │ │ ├── IconArticle038.tsx │ │ │ │ │ │ ├── IconArticle039.tsx │ │ │ │ │ │ ├── IconArticle040.tsx │ │ │ │ │ │ ├── IconArticle041.tsx │ │ │ │ │ │ ├── IconArticle042.tsx │ │ │ │ │ │ ├── IconArticle043.tsx │ │ │ │ │ │ ├── IconArticle044.tsx │ │ │ │ │ │ ├── IconArticle045.tsx │ │ │ │ │ │ ├── IconArticle046.tsx │ │ │ │ │ │ ├── IconArticle047.tsx │ │ │ │ │ │ ├── IconArticle048.tsx │ │ │ │ │ │ ├── IconArticle049.tsx │ │ │ │ │ │ ├── IconArticle050.tsx │ │ │ │ │ │ ├── IconArticle051.tsx │ │ │ │ │ │ ├── IconArticle052.tsx │ │ │ │ │ │ ├── IconArticle053.tsx │ │ │ │ │ │ ├── IconArticle054.tsx │ │ │ │ │ │ ├── IconArticle055.tsx │ │ │ │ │ │ ├── IconArticle056.tsx │ │ │ │ │ │ ├── IconArticle057.tsx │ │ │ │ │ │ ├── IconArticle058.tsx │ │ │ │ │ │ ├── IconArticle059.tsx │ │ │ │ │ │ ├── IconArticle060.tsx │ │ │ │ │ │ ├── IconArticle061.tsx │ │ │ │ │ │ ├── IconArticle062.tsx │ │ │ │ │ │ ├── IconArticle063.tsx │ │ │ │ │ │ ├── IconArticle064.tsx │ │ │ │ │ │ ├── IconArticle065.tsx │ │ │ │ │ │ ├── IconArticle066.tsx │ │ │ │ │ │ ├── IconArticle067.tsx │ │ │ │ │ │ ├── IconArticle068.tsx │ │ │ │ │ │ ├── IconArticle069.tsx │ │ │ │ │ │ ├── IconArticle070.tsx │ │ │ │ │ │ ├── IconArticle071.tsx │ │ │ │ │ │ ├── IconArticle072.tsx │ │ │ │ │ │ ├── IconArticle073.tsx │ │ │ │ │ │ ├── IconArticle074.tsx │ │ │ │ │ │ ├── IconArticle075.tsx │ │ │ │ │ │ ├── IconArticle076.tsx │ │ │ │ │ │ ├── IconArticle077.tsx │ │ │ │ │ │ ├── IconArticle078.tsx │ │ │ │ │ │ ├── IconArticle079.tsx │ │ │ │ │ │ ├── IconArticle080.tsx │ │ │ │ │ │ ├── IconArticle081.tsx │ │ │ │ │ │ ├── IconArticle082.tsx │ │ │ │ │ │ ├── IconArticle083.tsx │ │ │ │ │ │ ├── IconArticle084.tsx │ │ │ │ │ │ ├── IconArticle085.tsx │ │ │ │ │ │ ├── IconArticle086.tsx │ │ │ │ │ │ ├── IconArticle087.tsx │ │ │ │ │ │ ├── IconArticle088.tsx │ │ │ │ │ │ ├── IconArticle089.tsx │ │ │ │ │ │ ├── IconArticle090.tsx │ │ │ │ │ │ ├── IconArticle091.tsx │ │ │ │ │ │ ├── IconArticle092.tsx │ │ │ │ │ │ ├── IconArticle093.tsx │ │ │ │ │ │ ├── IconArticle094.tsx │ │ │ │ │ │ ├── IconArticle095.tsx │ │ │ │ │ │ ├── IconArticle096.tsx │ │ │ │ │ │ ├── IconArticle097.tsx │ │ │ │ │ │ ├── IconArticle098.tsx │ │ │ │ │ │ ├── IconArticle099.tsx │ │ │ │ │ │ ├── IconArticle100.tsx │ │ │ │ │ │ ├── IconArticle101.tsx │ │ │ │ │ │ ├── IconArticle102.tsx │ │ │ │ │ │ ├── IconArticle103.tsx │ │ │ │ │ │ ├── IconArticle104.tsx │ │ │ │ │ │ ├── IconArticle105.tsx │ │ │ │ │ │ ├── IconArticle106.tsx │ │ │ │ │ │ ├── IconArticle107.tsx │ │ │ │ │ │ ├── IconArticle108.tsx │ │ │ │ │ │ ├── IconArticle109.tsx │ │ │ │ │ │ ├── IconArticle110.tsx │ │ │ │ │ │ ├── IconArticle111.tsx │ │ │ │ │ │ ├── IconArticle112.tsx │ │ │ │ │ │ ├── IconArticle113.tsx │ │ │ │ │ │ ├── IconArticle114.tsx │ │ │ │ │ │ ├── IconArticle115.tsx │ │ │ │ │ │ ├── IconArticle116.tsx │ │ │ │ │ │ ├── IconArticle117.tsx │ │ │ │ │ │ ├── IconArticle118.tsx │ │ │ │ │ │ ├── IconArticle119.tsx │ │ │ │ │ │ ├── IconArticle120.tsx │ │ │ │ │ │ ├── IconArticle121.tsx │ │ │ │ │ │ ├── IconArticle122.tsx │ │ │ │ │ │ ├── IconArticle123.tsx │ │ │ │ │ │ ├── IconArticle124.tsx │ │ │ │ │ │ └── IconArticle125.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── IconBug.tsx │ │ │ │ ├── IconChat.tsx │ │ │ │ ├── IconCheck.tsx │ │ │ │ ├── IconClaim.tsx │ │ │ │ ├── IconCode.tsx │ │ │ │ ├── IconCoffeeCup.tsx │ │ │ │ ├── IconCommunity.tsx │ │ │ │ ├── IconCopy.tsx │ │ │ │ ├── IconDiscord.tsx │ │ │ │ ├── IconDocs.tsx │ │ │ │ ├── IconDocument.tsx │ │ │ │ ├── IconDropDown.tsx │ │ │ │ ├── IconExclamation.tsx │ │ │ │ ├── IconExclamationCircle.tsx │ │ │ │ ├── IconGitHub.tsx │ │ │ │ ├── IconLineWrap.tsx │ │ │ │ ├── IconLink.tsx │ │ │ │ ├── IconMedium.tsx │ │ │ │ ├── IconReddit.tsx │ │ │ │ ├── IconSearch.tsx │ │ │ │ ├── IconServer.tsx │ │ │ │ ├── IconSparkle.tsx │ │ │ │ ├── IconSpeechBubble.tsx │ │ │ │ ├── IconStaking.tsx │ │ │ │ ├── IconSupport.tsx │ │ │ │ ├── IconTelegram.tsx │ │ │ │ ├── IconTime.tsx │ │ │ │ ├── IconTools.tsx │ │ │ │ ├── IconTwitter.tsx │ │ │ │ ├── IconWelcome.tsx │ │ │ │ ├── IconYouTube.tsx │ │ │ │ └── IconZetaDocsLogo.tsx │ │ │ └── index.ts │ │ ├── Layout │ │ │ ├── Layout.constants.tsx │ │ │ ├── components │ │ │ │ ├── Header.tsx │ │ │ │ ├── Layout.tsx │ │ │ │ ├── MainContentWrapper.tsx │ │ │ │ ├── MobileMenuButton.tsx │ │ │ │ ├── NavigationAccordionLink.tsx │ │ │ │ ├── NavigationItem.tsx │ │ │ │ ├── NavigationItemWrapper.tsx │ │ │ │ ├── NavigationLayout.tsx │ │ │ │ └── PrevNextNavigationWrapper.tsx │ │ │ └── index.ts │ │ ├── Link │ │ │ ├── components │ │ │ │ └── PrimaryLink.tsx │ │ │ └── index.ts │ │ ├── LoadingTable.tsx │ │ ├── NavigationSection │ │ │ ├── components │ │ │ │ ├── CurrentPageNavigationSections.tsx │ │ │ │ ├── NavigationCardLink.tsx │ │ │ │ └── NavigationSection.tsx │ │ │ └── index.ts │ │ ├── PageBlocked.tsx │ │ ├── PreloadedFonts.tsx │ │ ├── SectionTitle.tsx │ │ ├── TOC │ │ │ ├── TOC.helpers.ts │ │ │ ├── components │ │ │ │ ├── Heading.tsx │ │ │ │ ├── HeadingLink.tsx │ │ │ │ ├── TableOfContents.tsx │ │ │ │ └── TableOfContentsWrapper.tsx │ │ │ └── index.ts │ │ ├── Tabs │ │ │ ├── Tabs.constants.ts │ │ │ ├── components │ │ │ │ ├── NavTabs.tsx │ │ │ │ └── NetworkTypeTabs.tsx │ │ │ └── index.ts │ │ └── ThemeToggle.tsx │ │ └── index.ts ├── config │ ├── headers.config.json │ └── next-seo.config.ts ├── constants │ ├── globalLinks.ts │ └── index.ts ├── env.cjs ├── hooks │ ├── useAppAnalytics.ts │ ├── useCurrentBreakpoint.ts │ ├── useScrollToPageTop.ts │ └── useSetDirectoriesState.ts ├── lib │ ├── app.constants.ts │ ├── app.store.ts │ ├── app.types.ts │ ├── directories │ │ ├── directories.redux.ts │ │ └── directories.selectors.ts │ ├── github-edit-url.ts │ ├── helpers │ │ ├── animations.ts │ │ ├── createEmotionCache.ts │ │ └── nextra.ts │ ├── redux.types.ts │ ├── scripts │ │ └── chatbase.ts │ ├── scroll-to-page-top │ │ ├── scroll-to-page-top.redux.ts │ │ └── scroll-to-page-top.selectors.ts │ ├── theme │ │ └── useHydrateTheme.ts │ ├── tracking.ts │ └── withProviders.tsx ├── pages │ ├── 404.tsx │ ├── 451.tsx │ ├── 500.tsx │ ├── _app.mdx │ ├── _document.tsx │ ├── _meta.json │ ├── about │ │ ├── _meta.json │ │ ├── index.mdx │ │ ├── token-utility │ │ │ ├── _meta.json │ │ │ ├── distribution.mdx │ │ │ ├── gas.mdx │ │ │ ├── liquidity.mdx │ │ │ ├── overview.mdx │ │ │ ├── token.mdx │ │ │ └── validators.mdx │ │ └── zetachain │ │ │ ├── _meta.json │ │ │ └── bug-bounty.mdx │ ├── community.mdx │ ├── developers │ │ ├── _meta.json │ │ ├── architecture │ │ │ ├── _meta.json │ │ │ ├── modules │ │ │ │ ├── authority │ │ │ │ │ └── messages.md │ │ │ │ ├── crosschain │ │ │ │ │ ├── messages.md │ │ │ │ │ └── overview.md │ │ │ │ ├── emissions │ │ │ │ │ ├── messages.md │ │ │ │ │ └── overview.md │ │ │ │ ├── fungible │ │ │ │ │ ├── messages.md │ │ │ │ │ └── overview.md │ │ │ │ ├── index.mdx │ │ │ │ ├── lightclient │ │ │ │ │ └── messages.md │ │ │ │ └── observer │ │ │ │ │ ├── messages.md │ │ │ │ │ └── overview.md │ │ │ ├── observers.mdx │ │ │ ├── overview.mdx │ │ │ ├── privileged.mdx │ │ │ ├── protocol │ │ │ │ ├── README.md │ │ │ │ ├── SUMMARY.md │ │ │ │ ├── contracts │ │ │ │ │ ├── Errors.sol │ │ │ │ │ │ └── interface.INotSupportedMethods.md │ │ │ │ │ ├── README.md │ │ │ │ │ ├── Revert.sol │ │ │ │ │ │ ├── interface.Revertable.md │ │ │ │ │ │ ├── struct.RevertContext.md │ │ │ │ │ │ └── struct.RevertOptions.md │ │ │ │ │ ├── evm │ │ │ │ │ │ ├── ERC20Custody.sol │ │ │ │ │ │ │ └── contract.ERC20Custody.md │ │ │ │ │ │ ├── GatewayEVM.sol │ │ │ │ │ │ │ └── contract.GatewayEVM.md │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── ZetaConnectorBase.sol │ │ │ │ │ │ │ └── abstract.ZetaConnectorBase.md │ │ │ │ │ │ ├── ZetaConnectorNative.sol │ │ │ │ │ │ │ └── contract.ZetaConnectorNative.md │ │ │ │ │ │ ├── ZetaConnectorNonNative.sol │ │ │ │ │ │ │ └── contract.ZetaConnectorNonNative.md │ │ │ │ │ │ ├── interfaces │ │ │ │ │ │ │ ├── IERC20Custody.sol │ │ │ │ │ │ │ │ ├── interface.IERC20Custody.md │ │ │ │ │ │ │ │ ├── interface.IERC20CustodyErrors.md │ │ │ │ │ │ │ │ └── interface.IERC20CustodyEvents.md │ │ │ │ │ │ │ ├── IGatewayEVM.sol │ │ │ │ │ │ │ │ ├── interface.Callable.md │ │ │ │ │ │ │ │ ├── interface.IGatewayEVM.md │ │ │ │ │ │ │ │ ├── interface.IGatewayEVMErrors.md │ │ │ │ │ │ │ │ ├── interface.IGatewayEVMEvents.md │ │ │ │ │ │ │ │ └── struct.MessageContext.md │ │ │ │ │ │ │ ├── IZetaConnector.sol │ │ │ │ │ │ │ │ └── interface.IZetaConnectorEvents.md │ │ │ │ │ │ │ ├── IZetaNonEthNew.sol │ │ │ │ │ │ │ │ └── interface.IZetaNonEthNew.md │ │ │ │ │ │ │ └── README.md │ │ │ │ │ │ └── legacy │ │ │ │ │ │ │ ├── ConnectorErrors.sol │ │ │ │ │ │ │ └── interface.ConnectorErrors.md │ │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ │ ├── Zeta.eth.sol │ │ │ │ │ │ │ └── contract.ZetaEth.md │ │ │ │ │ │ │ ├── Zeta.non-eth.sol │ │ │ │ │ │ │ └── contract.ZetaNonEth.md │ │ │ │ │ │ │ ├── ZetaConnector.base.sol │ │ │ │ │ │ │ └── contract.ZetaConnectorBase.md │ │ │ │ │ │ │ ├── ZetaConnector.eth.sol │ │ │ │ │ │ │ └── contract.ZetaConnectorEth.md │ │ │ │ │ │ │ ├── ZetaConnector.non-eth.sol │ │ │ │ │ │ │ └── contract.ZetaConnectorNonEth.md │ │ │ │ │ │ │ ├── ZetaErrors.sol │ │ │ │ │ │ │ └── interface.ZetaErrors.md │ │ │ │ │ │ │ ├── ZetaInterfaces.sol │ │ │ │ │ │ │ ├── interface.ZetaCommonErrors.md │ │ │ │ │ │ │ ├── interface.ZetaConnector.md │ │ │ │ │ │ │ ├── interface.ZetaInterfaces.md │ │ │ │ │ │ │ ├── interface.ZetaReceiver.md │ │ │ │ │ │ │ └── interface.ZetaTokenConsumer.md │ │ │ │ │ │ │ └── ZetaNonEthInterface.sol │ │ │ │ │ │ │ └── interface.ZetaNonEthInterface.md │ │ │ │ │ └── zevm │ │ │ │ │ │ ├── GatewayZEVM.sol │ │ │ │ │ │ └── contract.GatewayZEVM.md │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ ├── SystemContract.sol │ │ │ │ │ │ ├── contract.SystemContract.md │ │ │ │ │ │ └── interface.SystemContractErrors.md │ │ │ │ │ │ ├── WZETA.sol │ │ │ │ │ │ └── contract.WETH9.md │ │ │ │ │ │ ├── ZRC20.sol │ │ │ │ │ │ ├── contract.ZRC20.md │ │ │ │ │ │ └── interface.ZRC20Errors.md │ │ │ │ │ │ ├── interfaces │ │ │ │ │ │ ├── IGatewayZEVM.sol │ │ │ │ │ │ │ ├── interface.IGatewayZEVM.md │ │ │ │ │ │ │ ├── interface.IGatewayZEVMErrors.md │ │ │ │ │ │ │ ├── interface.IGatewayZEVMEvents.md │ │ │ │ │ │ │ └── struct.CallOptions.md │ │ │ │ │ │ ├── ISystem.sol │ │ │ │ │ │ │ └── interface.ISystem.md │ │ │ │ │ │ ├── IWZETA.sol │ │ │ │ │ │ │ └── interface.IWETH9.md │ │ │ │ │ │ ├── IZRC20.sol │ │ │ │ │ │ │ ├── enum.CoinType.md │ │ │ │ │ │ │ ├── interface.IZRC20.md │ │ │ │ │ │ │ ├── interface.IZRC20Metadata.md │ │ │ │ │ │ │ └── interface.ZRC20Events.md │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ └── UniversalContract.sol │ │ │ │ │ │ │ ├── interface.UniversalContract.md │ │ │ │ │ │ │ ├── interface.zContract.md │ │ │ │ │ │ │ ├── struct.MessageContext.md │ │ │ │ │ │ │ └── struct.zContext.md │ │ │ │ │ │ └── legacy │ │ │ │ │ │ ├── README.md │ │ │ │ │ │ └── ZetaConnectorZEVM.sol │ │ │ │ │ │ ├── contract.ZetaConnectorZEVM.md │ │ │ │ │ │ ├── interface.ZetaInterfaces.md │ │ │ │ │ │ └── interface.ZetaReceiver.md │ │ │ │ └── index.md │ │ │ ├── rewards.mdx │ │ │ ├── whitelisting.mdx │ │ │ ├── zetacored.md │ │ │ └── zetacored │ │ │ │ └── cli.md │ │ ├── chains │ │ │ ├── _meta.json │ │ │ ├── bitcoin.mdx │ │ │ ├── evm.mdx │ │ │ ├── functionality.mdx │ │ │ ├── list.mdx │ │ │ ├── solana.mdx │ │ │ ├── sui.mdx │ │ │ ├── ton.mdx │ │ │ └── zetachain.mdx │ │ ├── evm │ │ │ ├── _meta.json │ │ │ ├── addresses.mdx │ │ │ ├── cctx.mdx │ │ │ ├── gas.mdx │ │ │ ├── gateway.mdx │ │ │ └── throughput.mdx │ │ ├── frontend │ │ │ ├── _meta.json │ │ │ ├── bitcoin.mdx │ │ │ ├── toolkit │ │ │ │ ├── Class.FieldsV0.md │ │ │ │ ├── Class.Header.md │ │ │ │ ├── Class.ZetaChainClient.md │ │ │ │ ├── Enumeration.EncodingFormat.md │ │ │ │ ├── Enumeration.OpCode.md │ │ │ │ ├── Function.encodeToBytes.md │ │ │ │ ├── Function.evmCall.md │ │ │ │ ├── Function.evmDeposit.md │ │ │ │ ├── Function.evmDepositAndCall.md │ │ │ │ ├── Function.getBalances.md │ │ │ │ ├── Function.getChainId.md │ │ │ │ ├── Function.getEndpoint.md │ │ │ │ ├── Function.getFees.md │ │ │ │ ├── Function.getForeignCoins.md │ │ │ │ ├── Function.getHardhatConfig.md │ │ │ │ ├── Function.getPools.md │ │ │ │ ├── Function.getQuote.md │ │ │ │ ├── Function.getRefundFee.md │ │ │ │ ├── Function.getSupportedChains.md │ │ │ │ ├── Function.getWithdrawFeeInInputToken.md │ │ │ │ ├── Function.getZRC20FromERC20.md │ │ │ │ ├── Function.getZRC20GasToken.md │ │ │ │ ├── Function.prepareData.md │ │ │ │ ├── Function.prepareParams.md │ │ │ │ ├── Function.sendZeta.md │ │ │ │ ├── Function.solanaDeposit.md │ │ │ │ ├── Function.solanaDepositAndCall.md │ │ │ │ ├── Function.trackCCTX.md │ │ │ │ ├── Function.zetachainCall.md │ │ │ │ ├── Function.zetachainWithdraw.md │ │ │ │ ├── Function.zetachainWithdrawAndCall.md │ │ │ │ ├── Interface.ZetaChainClientParamsBase.md │ │ │ │ ├── TypeAlias.SupportedArgType.md │ │ │ │ ├── TypeAlias.ZetaChainClientParams.md │ │ │ │ └── index.md │ │ │ └── universalkit.mdx │ │ ├── index.mdx │ │ ├── services │ │ │ ├── _meta.json │ │ │ ├── alchemy.mdx │ │ │ ├── apro.mdx │ │ │ ├── envio.mdx │ │ │ ├── goldrush.mdx │ │ │ ├── goldsky.mdx │ │ │ ├── particle.mdx │ │ │ ├── pyth.mdx │ │ │ ├── space-id.mdx │ │ │ ├── subquery.mdx │ │ │ └── the-graph.mdx │ │ ├── standards │ │ │ ├── _meta.json │ │ │ ├── nft.mdx │ │ │ └── token.mdx │ │ ├── tokens │ │ │ ├── _meta.json │ │ │ ├── erc20.mdx │ │ │ ├── zeta.mdx │ │ │ └── zrc20.mdx │ │ └── tutorials │ │ │ ├── _meta.json │ │ │ ├── call.mdx │ │ │ ├── hello.mdx │ │ │ ├── intro.mdx │ │ │ ├── localnet.mdx │ │ │ ├── solana.mdx │ │ │ ├── sui-withdraw-and-call.mdx │ │ │ ├── sui.mdx │ │ │ ├── swap.mdx │ │ │ └── testnet.mdx │ ├── index.mdx │ ├── nodes │ │ ├── _meta.json │ │ ├── index.mdx │ │ ├── start-here │ │ │ ├── _meta.json │ │ │ ├── requirements.mdx │ │ │ ├── setup.mdx │ │ │ └── syncing.mdx │ │ └── validate │ │ │ ├── _meta.json │ │ │ ├── validator-gcp.mdx │ │ │ └── validator.mdx │ ├── reference │ │ ├── _meta.json │ │ ├── apps │ │ │ ├── _meta.json │ │ │ ├── explorers.mdx │ │ │ ├── get-testnet-zeta.mdx │ │ │ ├── services.mdx │ │ │ └── wallets.mdx │ │ ├── index.mdx │ │ ├── learn │ │ │ ├── _meta.json │ │ │ ├── faq.mdx │ │ │ └── glossary.mdx │ │ └── network │ │ │ ├── _meta.json │ │ │ ├── address-converter.mdx │ │ │ ├── api.mdx │ │ │ ├── contracts.mdx │ │ │ ├── details.mdx │ │ │ ├── openapi.mdx │ │ │ └── proposals.mdx │ ├── start │ │ ├── _meta.json │ │ ├── app.mdx │ │ ├── build.mdx │ │ ├── evm.mdx │ │ ├── index.mdx │ │ └── zetachain.mdx │ ├── support.mdx │ └── users │ │ ├── _meta.json │ │ ├── cli │ │ ├── _meta.json │ │ ├── account.mdx │ │ ├── balances.mdx │ │ ├── delegate.mdx │ │ ├── governance │ │ │ ├── _meta.json │ │ │ ├── deposit.mdx │ │ │ ├── index.mdx │ │ │ ├── parameter.mdx │ │ │ ├── submit.mdx │ │ │ ├── text.mdx │ │ │ ├── upgrade.mdx │ │ │ └── voting.mdx │ │ ├── rewards.mdx │ │ └── setup.mdx │ │ ├── index.mdx │ │ ├── keplr │ │ ├── _meta.json │ │ ├── setup.mdx │ │ ├── staking.mdx │ │ ├── transfer.mdx │ │ └── voting.mdx │ │ ├── leap │ │ ├── _meta.json │ │ ├── delegate.mdx │ │ └── setup.mdx │ │ ├── pingpub │ │ ├── _meta.json │ │ └── delegate.mdx │ │ └── zetahub │ │ ├── _meta.json │ │ ├── connect-wallet.mdx │ │ ├── create-wallet.mdx │ │ ├── earn-zeta-xp.mdx │ │ ├── enroll-zeta-xp.mdx │ │ ├── get-zeta.mdx │ │ ├── pool.mdx │ │ ├── send.mdx │ │ └── stake.mdx ├── styles │ ├── GlobalStyles.tsx │ ├── fonts.css │ └── globals.css ├── theme.config.tsx └── types │ ├── emotion.d.ts │ ├── files.d.ts │ └── twin.d.ts ├── tailwind.config.js ├── tsconfig.eslint.json ├── tsconfig.json └── yarn.lock /.eslintignore: -------------------------------------------------------------------------------- 1 | .cache 2 | node_modules 3 | public 4 | .next 5 | .vscode 6 | .git 7 | .yarn 8 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @zeta-chain/devex @zeta-chain/fullstack @zeta-chain/protocol-engineering @zeta-chain/devops 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "npm" 4 | directories: 5 | - "/" 6 | - "/packages/zeta-app-contracts" 7 | - "/packages/zevm-app-contracts" 8 | schedule: 9 | interval: "daily" 10 | commit-message: 11 | prefix: "dependabot: " 12 | labels: 13 | - "dependencies" 14 | allow: 15 | - dependency-name: "@zetachain/addresses" 16 | - dependency-name: "@zetachain/toolkit" 17 | - dependency-name: "@zetachain/ui-toolkit" 18 | -------------------------------------------------------------------------------- /.github/workflows/check-links.yaml: -------------------------------------------------------------------------------- 1 | name: Check Broken Links 2 | on: 3 | push: 4 | branches: 5 | - main 6 | pull_request: 7 | branches: 8 | - main 9 | jobs: 10 | build: 11 | runs-on: ubuntu-latest 12 | 13 | steps: 14 | - name: Checkout repository 15 | uses: actions/checkout@v3 16 | 17 | - name: Set up Node.js 18 | uses: actions/setup-node@v3 19 | with: 20 | node-version: "20" 21 | 22 | - name: Install dependencies 23 | run: yarn 24 | 25 | - name: Build project 26 | run: EXPORT=true yarn build 27 | 28 | - name: Check for broken links 29 | run: yarn check-links 30 | -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- 1 | name: Deploy to Production 2 | env: 3 | VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} 4 | VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} 5 | on: 6 | push: 7 | tags: 8 | - "*" 9 | jobs: 10 | Deploy-Production: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - uses: actions/checkout@v3 14 | - name: Set up Node.js 20 15 | uses: actions/setup-node@v3 16 | with: 17 | node-version: 20 18 | - name: Install Vercel CLI 19 | run: npm install --global vercel@latest 20 | - name: Pull Vercel Environment Information 21 | run: vercel pull --yes --environment=production --token=${{ 22 | secrets.VERCEL_TOKEN }} 23 | - name: Build Project Artifacts 24 | run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} 25 | - name: Deploy Project Artifacts to Vercel 26 | run: vercel deploy --prebuilt --archive=tgz --prod --token=${{ secrets.VERCEL_TOKEN }} 27 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # dependencies 2 | /node_modules 3 | /.pnp 4 | .pnp.js 5 | 6 | # testing 7 | /coverage 8 | 9 | # next.js 10 | /.next/ 11 | /out/ 12 | .yarn 13 | 14 | # production 15 | /build 16 | 17 | # misc 18 | .DS_Store 19 | *.pem 20 | 21 | # debug 22 | npm-debug.log* 23 | yarn-debug.log* 24 | yarn-error.log* 25 | .pnpm-debug.log* 26 | 27 | # local env files 28 | .env*.local 29 | 30 | # vercel 31 | .vercel 32 | 33 | # typescript 34 | *.tsbuildinfo 35 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | .yarn 2 | node_modules 3 | **/.next/** 4 | **/dist/** 5 | **/build/** 6 | **/tmp/** 7 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 120 3 | } 4 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to ZetaChain 2 | 3 | First, thank you! We really appreciate that you're considering contributing to 4 | ZetaChain. 5 | 6 | ## Ways to contribute 7 | 8 | There are many ways to contribute to ZetaChain, writing code is one of them. 9 | Others are improving our docs, or being part of the network by running a node. 10 | 11 | ## Your first contribution 12 | 13 | First time contributing to Open Source? No worries, you can learn how to 14 | approach it from 15 | [this free video series](https://egghead.io/courses/how-to-contribute-to-an-open-source-project-on-github) 16 | or from [this guide](https://opensource.guide/how-to-contribute/) if you prefer 17 | reading. 18 | 19 | ## Opening a Pull Request 20 | 21 | A few rules of thumb based on the size of your Pull Request: 22 | 23 | - If it's small, like fixing a typo, just send it. 24 | - If it's medium, like working on a feature or a bug, you may want to open an 25 | issue to chat with the maintainers before working on it. 26 | - If it's big, do your best to split it into smaller ones. 27 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | [ 4 | "next/babel", 5 | { 6 | "preset-react": { 7 | runtime: "automatic", 8 | importSource: "@emotion/react", 9 | }, 10 | }, 11 | ], 12 | ], 13 | plugins: ["@emotion/babel-plugin", "babel-plugin-macros"], 14 | }; 15 | -------------------------------------------------------------------------------- /bounty.md: -------------------------------------------------------------------------------- 1 | # Bounty Guidelines 2 | 3 | - A contributor will be assigned based on the implementation plan they provided and their previous experience 4 | - To claim a bounty, you need to **provide a short demo video** of your changes in your pull request 5 | - If anything is unclear, **ask for clarification** before starting as this will help avoid potential rework 6 | - Low quality AI PRs will not receive review and will be closed 7 | - Do not begin work until you are assigned to the issue. Only the assigned contributor is eligible to submit a pull request and receive the bounty. This helps prevent duplicate work. 8 | - If a PR from the assigned contributor does not meet the requirements, the issue may be reassigned to another contributor. 9 | -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | 4 | // NOTE: This file should not be edited 5 | // see https://nextjs.org/docs/basic-features/typescript for more information. 6 | -------------------------------------------------------------------------------- /next-sitemap.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | siteUrl: process.env.SITE_URL || "https://www.zetachain.com/docs/", 3 | generateRobotsTxt: true, 4 | }; 5 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = require("@zetachain/ui-toolkit/theme/postcss.config"); 2 | -------------------------------------------------------------------------------- /public/favicon/android-chrome-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/android-chrome-144x144.png -------------------------------------------------------------------------------- /public/favicon/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/android-chrome-192x192.png -------------------------------------------------------------------------------- /public/favicon/android-chrome-36x36.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/android-chrome-36x36.png -------------------------------------------------------------------------------- /public/favicon/android-chrome-48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/android-chrome-48x48.png -------------------------------------------------------------------------------- /public/favicon/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/android-chrome-512x512.png -------------------------------------------------------------------------------- /public/favicon/android-chrome-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/android-chrome-72x72.png -------------------------------------------------------------------------------- /public/favicon/android-chrome-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/android-chrome-96x96.png -------------------------------------------------------------------------------- /public/favicon/apple-touch-icon-114x114.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/apple-touch-icon-114x114.png -------------------------------------------------------------------------------- /public/favicon/apple-touch-icon-120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/apple-touch-icon-120x120.png -------------------------------------------------------------------------------- /public/favicon/apple-touch-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/apple-touch-icon-144x144.png -------------------------------------------------------------------------------- /public/favicon/apple-touch-icon-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/apple-touch-icon-152x152.png -------------------------------------------------------------------------------- /public/favicon/apple-touch-icon-180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/apple-touch-icon-180x180.png -------------------------------------------------------------------------------- /public/favicon/apple-touch-icon-57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/apple-touch-icon-57x57.png -------------------------------------------------------------------------------- /public/favicon/apple-touch-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/apple-touch-icon-60x60.png -------------------------------------------------------------------------------- /public/favicon/apple-touch-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/apple-touch-icon-72x72.png -------------------------------------------------------------------------------- /public/favicon/apple-touch-icon-76x76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/apple-touch-icon-76x76.png -------------------------------------------------------------------------------- /public/favicon/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/apple-touch-icon.png -------------------------------------------------------------------------------- /public/favicon/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | #005741 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /public/favicon/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/favicon/favicon.png -------------------------------------------------------------------------------- /public/favicon/safari-pinned-tab.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/favicon/site.webmanifest: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ZetaDocs", 3 | "short_name": "ZetaDocs", 4 | "icons": [ 5 | { 6 | "src": "/favicon/android-chrome-192x192.png", 7 | "sizes": "192x192", 8 | "type": "image/png" 9 | }, 10 | { 11 | "src": "/favicon/android-chrome-512x512.png", 12 | "sizes": "512x512", 13 | "type": "image/png" 14 | } 15 | ], 16 | "theme_color": "#005741", 17 | "background_color": "#005741", 18 | "display": "standalone" 19 | } 20 | -------------------------------------------------------------------------------- /public/fonts/inter/inter-black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/inter/inter-black.ttf -------------------------------------------------------------------------------- /public/fonts/inter/inter-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/inter/inter-bold.ttf -------------------------------------------------------------------------------- /public/fonts/inter/inter-extra-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/inter/inter-extra-bold.ttf -------------------------------------------------------------------------------- /public/fonts/inter/inter-extra-light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/inter/inter-extra-light.ttf -------------------------------------------------------------------------------- /public/fonts/inter/inter-light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/inter/inter-light.ttf -------------------------------------------------------------------------------- /public/fonts/inter/inter-medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/inter/inter-medium.ttf -------------------------------------------------------------------------------- /public/fonts/inter/inter-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/inter/inter-regular.ttf -------------------------------------------------------------------------------- /public/fonts/inter/inter-semi-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/inter/inter-semi-bold.ttf -------------------------------------------------------------------------------- /public/fonts/inter/inter-thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/inter/inter-thin.ttf -------------------------------------------------------------------------------- /public/fonts/roboto/roboto-mono-italic-variable-font-wght.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/roboto/roboto-mono-italic-variable-font-wght.ttf -------------------------------------------------------------------------------- /public/fonts/roboto/roboto-mono-variable-font-wght.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/roboto/roboto-mono-variable-font-wght.ttf -------------------------------------------------------------------------------- /public/fonts/roobert/roobert-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/roobert/roobert-bold.ttf -------------------------------------------------------------------------------- /public/fonts/roobert/roobert-heavy.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/roobert/roobert-heavy.ttf -------------------------------------------------------------------------------- /public/fonts/roobert/roobert-light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/roobert/roobert-light.ttf -------------------------------------------------------------------------------- /public/fonts/roobert/roobert-medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/roobert/roobert-medium.ttf -------------------------------------------------------------------------------- /public/fonts/roobert/roobert-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/roobert/roobert-regular.ttf -------------------------------------------------------------------------------- /public/fonts/roobert/roobert-semi-bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/fonts/roobert/roobert-semi-bold.ttf -------------------------------------------------------------------------------- /public/img/docs/ZetaChain-High-level-Architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/ZetaChain-High-level-Architecture.png -------------------------------------------------------------------------------- /public/img/docs/alchemy-0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/alchemy-0.png -------------------------------------------------------------------------------- /public/img/docs/alchemy-1.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/alchemy-1.5.png -------------------------------------------------------------------------------- /public/img/docs/alchemy-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/alchemy-1.png -------------------------------------------------------------------------------- /public/img/docs/alchemy-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/alchemy-2.png -------------------------------------------------------------------------------- /public/img/docs/alchemy-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/alchemy-3.png -------------------------------------------------------------------------------- /public/img/docs/architecture-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/architecture-1.png -------------------------------------------------------------------------------- /public/img/docs/ccm-message-explorer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/ccm-message-explorer.png -------------------------------------------------------------------------------- /public/img/docs/ccm-warriors-explorer.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/ccm-warriors-explorer.jpg -------------------------------------------------------------------------------- /public/img/docs/components-balances.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/components-balances.png -------------------------------------------------------------------------------- /public/img/docs/components-connect-bitcoin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/components-connect-bitcoin.png -------------------------------------------------------------------------------- /public/img/docs/components-profile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/components-profile.png -------------------------------------------------------------------------------- /public/img/docs/components-staking-rewards.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/components-staking-rewards.png -------------------------------------------------------------------------------- /public/img/docs/components-swap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/components-swap.png -------------------------------------------------------------------------------- /public/img/docs/goldrush-home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/goldrush-home.png -------------------------------------------------------------------------------- /public/img/docs/goldrush-key.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/goldrush-key.png -------------------------------------------------------------------------------- /public/img/docs/keplr-add-zetachain-mainnet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-add-zetachain-mainnet.png -------------------------------------------------------------------------------- /public/img/docs/keplr-add-zetachain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-add-zetachain.png -------------------------------------------------------------------------------- /public/img/docs/keplr-approve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-approve.png -------------------------------------------------------------------------------- /public/img/docs/keplr-assets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-assets.png -------------------------------------------------------------------------------- /public/img/docs/keplr-balances-mainnet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-balances-mainnet.png -------------------------------------------------------------------------------- /public/img/docs/keplr-balances.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-balances.png -------------------------------------------------------------------------------- /public/img/docs/keplr-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-dashboard.png -------------------------------------------------------------------------------- /public/img/docs/keplr-governance-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-governance-dashboard.png -------------------------------------------------------------------------------- /public/img/docs/keplr-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-menu.png -------------------------------------------------------------------------------- /public/img/docs/keplr-send.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-send.png -------------------------------------------------------------------------------- /public/img/docs/keplr-setup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-setup.png -------------------------------------------------------------------------------- /public/img/docs/keplr-staking-approve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-staking-approve.png -------------------------------------------------------------------------------- /public/img/docs/keplr-staking-confirm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-staking-confirm.png -------------------------------------------------------------------------------- /public/img/docs/keplr-staking-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-staking-dashboard.png -------------------------------------------------------------------------------- /public/img/docs/keplr-staking-result.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-staking-result.png -------------------------------------------------------------------------------- /public/img/docs/keplr-staking-validators.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-staking-validators.png -------------------------------------------------------------------------------- /public/img/docs/keplr-staking.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-staking.png -------------------------------------------------------------------------------- /public/img/docs/keplr-validator-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-validator-overview.png -------------------------------------------------------------------------------- /public/img/docs/keplr-voting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/keplr-voting.png -------------------------------------------------------------------------------- /public/img/docs/leap-balances.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/leap-balances.png -------------------------------------------------------------------------------- /public/img/docs/leap-chains.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/leap-chains.png -------------------------------------------------------------------------------- /public/img/docs/leap-confirm.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/leap-confirm.png -------------------------------------------------------------------------------- /public/img/docs/leap-review.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/leap-review.png -------------------------------------------------------------------------------- /public/img/docs/leap-stake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/leap-stake.png -------------------------------------------------------------------------------- /public/img/docs/leap-validator.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/leap-validator.png -------------------------------------------------------------------------------- /public/img/docs/leap-wallet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/leap-wallet.png -------------------------------------------------------------------------------- /public/img/docs/nft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/nft.png -------------------------------------------------------------------------------- /public/img/docs/omnichain-smart-contracts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/omnichain-smart-contracts.png -------------------------------------------------------------------------------- /public/img/docs/ping-connect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/ping-connect.png -------------------------------------------------------------------------------- /public/img/docs/ping-dashboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/ping-dashboard.png -------------------------------------------------------------------------------- /public/img/docs/ping-delegate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/ping-delegate.png -------------------------------------------------------------------------------- /public/img/docs/ping-keplr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/ping-keplr.png -------------------------------------------------------------------------------- /public/img/docs/ping-staking.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/ping-staking.png -------------------------------------------------------------------------------- /public/img/docs/ping-success.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/ping-success.png -------------------------------------------------------------------------------- /public/img/docs/ping-tx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/ping-tx.png -------------------------------------------------------------------------------- /public/img/docs/release-draft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/release-draft.png -------------------------------------------------------------------------------- /public/img/docs/release-form.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/release-form.png -------------------------------------------------------------------------------- /public/img/docs/release-releases.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/release-releases.png -------------------------------------------------------------------------------- /public/img/docs/tutorials-nft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/tutorials-nft.png -------------------------------------------------------------------------------- /public/img/docs/uniswap.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/uniswap.jpg -------------------------------------------------------------------------------- /public/img/docs/validator-compare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/validator-compare.png -------------------------------------------------------------------------------- /public/img/docs/validator-fork.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/validator-fork.png -------------------------------------------------------------------------------- /public/img/docs/why-custody.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/why-custody.png -------------------------------------------------------------------------------- /public/img/docs/why-orchestration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/why-orchestration.png -------------------------------------------------------------------------------- /public/img/docs/zeta-pools-example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zeta-pools-example.jpg -------------------------------------------------------------------------------- /public/img/docs/zeta-pools-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zeta-pools-example.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/connect-wallet-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/connect-wallet-1.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/connect-wallet-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/connect-wallet-2.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/connect-wallet-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/connect-wallet-3.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/connect-wallet-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/connect-wallet-4.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/create-wallet-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/create-wallet-1.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/create-wallet-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/create-wallet-2.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/earn-zeta-xp-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/earn-zeta-xp-1.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/earn-zeta-xp-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/earn-zeta-xp-2.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/earn-zeta-xp-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/earn-zeta-xp-3.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/earn-zeta-xp-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/earn-zeta-xp-4.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/get-zeta-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/get-zeta-1.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/pool-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/pool-1.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/pool-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/pool-2.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/pool-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/pool-3.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/pool-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/pool-4.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/pool-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/pool-5.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/pool-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/pool-6.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/pool-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/pool-7.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/pool-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/pool-8.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/pool-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/pool-9.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/send-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/send-1.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/send-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/send-2.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/send-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/send-3.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/staking-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/staking-1.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/staking-10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/staking-10.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/staking-11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/staking-11.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/staking-12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/staking-12.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/staking-13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/staking-13.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/staking-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/staking-2.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/staking-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/staking-3.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/staking-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/staking-4.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/staking-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/staking-5.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/staking-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/staking-6.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/staking-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/staking-7.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/staking-8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/staking-8.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/staking-9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/staking-9.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/xp-earn-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/xp-earn-5.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/xp-earn-6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/xp-earn-6.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/xp-earn-7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/xp-earn-7.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/xp-enroll-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/xp-enroll-1.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/xp-enroll-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/xp-enroll-2.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/xp-enroll-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/xp-enroll-3.png -------------------------------------------------------------------------------- /public/img/docs/zetahub/xp-enroll-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetahub/xp-enroll-4.png -------------------------------------------------------------------------------- /public/img/docs/zetascan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zetascan.png -------------------------------------------------------------------------------- /public/img/docs/zevm-dex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zevm-dex.png -------------------------------------------------------------------------------- /public/img/docs/zrc-20-header.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zrc-20-header.png -------------------------------------------------------------------------------- /public/img/docs/zrc-20-multiswap-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/docs/zrc-20-multiswap-example.png -------------------------------------------------------------------------------- /public/img/examples/cross-chain-counter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/examples/cross-chain-counter.png -------------------------------------------------------------------------------- /public/img/examples/cross-chain-nft-transfer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/examples/cross-chain-nft-transfer.png -------------------------------------------------------------------------------- /public/img/graphs/withdraw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/graphs/withdraw.png -------------------------------------------------------------------------------- /public/img/graphs/zeta-scan-contract.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/graphs/zeta-scan-contract.jpg -------------------------------------------------------------------------------- /public/img/graphs/zeta-scan-files.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/graphs/zeta-scan-files.jpg -------------------------------------------------------------------------------- /public/img/graphs/zeta-scan-screen-capture.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/graphs/zeta-scan-screen-capture.jpg -------------------------------------------------------------------------------- /public/img/graphs/zeta-scan-select-contract.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/graphs/zeta-scan-select-contract.jpg -------------------------------------------------------------------------------- /public/img/graphs/zeta-scan-verified.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/graphs/zeta-scan-verified.jpg -------------------------------------------------------------------------------- /public/img/icons/arrow-vector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/arrow-vector.png -------------------------------------------------------------------------------- /public/img/icons/arrow-vector.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/img/icons/discord-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/discord-logo.png -------------------------------------------------------------------------------- /public/img/icons/dropdown.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/img/icons/history.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/history.png -------------------------------------------------------------------------------- /public/img/icons/history.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /public/img/icons/search-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/search-black.png -------------------------------------------------------------------------------- /public/img/icons/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/search.png -------------------------------------------------------------------------------- /public/img/icons/telegram-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/telegram-logo.png -------------------------------------------------------------------------------- /public/img/icons/twitter-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/twitter-logo.png -------------------------------------------------------------------------------- /public/img/icons/zeta-circle-icon-fixed-border.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zeta-circle-icon-fixed-border.png -------------------------------------------------------------------------------- /public/img/icons/zeta-docs-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zeta-docs-logo.png -------------------------------------------------------------------------------- /public/img/icons/zeta-horizontal-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zeta-horizontal-black.png -------------------------------------------------------------------------------- /public/img/icons/zeta-horizontal-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zeta-horizontal-white.png -------------------------------------------------------------------------------- /public/img/icons/zeta-logo-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zeta-logo-icon.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/horizontal/black-on-gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/horizontal/black-on-gray.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/horizontal/black-on-gray@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/horizontal/black-on-gray@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/horizontal/black-on-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/horizontal/black-on-white.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/horizontal/black-on-white@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/horizontal/black-on-white@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/horizontal/green-on-gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/horizontal/green-on-gray.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/horizontal/green-on-gray@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/horizontal/green-on-gray@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/horizontal/green-on-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/horizontal/green-on-white.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/horizontal/green-on-white@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/horizontal/green-on-white@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/horizontal/white-on-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/horizontal/white-on-green.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/horizontal/white-on-green@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/horizontal/white-on-green@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/black-on-white-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/round/black-on-white-1.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/black-on-white-1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/black-on-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/round/black-on-white.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/black-on-white.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/black-on-white@4x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/round/black-on-white@4x-1.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/black-on-white@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/round/black-on-white@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/green-on-white-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/round/green-on-white-1.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/green-on-white-1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/green-on-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/round/green-on-white.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/green-on-white.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/green-on-white@4x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/round/green-on-white@4x-1.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/green-on-white@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/round/green-on-white@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/white-on-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/round/white-on-green.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/white-on-green.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/img/icons/zetachain/round/white-on-green@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/round/white-on-green@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/black-on-white-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/square/black-on-white-1.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/black-on-white-1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/black-on-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/square/black-on-white.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/black-on-white.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/black-on-white@4x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/square/black-on-white@4x-1.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/black-on-white@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/square/black-on-white@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/green-on-white-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/square/green-on-white-1.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/green-on-white-1.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/green-on-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/square/green-on-white.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/green-on-white.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/green-on-white@4x-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/square/green-on-white@4x-1.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/green-on-white@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/square/green-on-white@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/white-on-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/square/white-on-green.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/white-on-green.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/img/icons/zetachain/square/white-on-green@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/square/white-on-green@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/vertical/black-on-gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/vertical/black-on-gray.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/vertical/black-on-gray@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/vertical/black-on-gray@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/vertical/black-on-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/vertical/black-on-white.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/vertical/black-on-white@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/vertical/black-on-white@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/vertical/green-on-gray.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/vertical/green-on-gray.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/vertical/green-on-gray@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/vertical/green-on-gray@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/vertical/green-on-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/vertical/green-on-white.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/vertical/green-on-white@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/vertical/green-on-white@4x.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/vertical/white-on-green.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/vertical/white-on-green.png -------------------------------------------------------------------------------- /public/img/icons/zetachain/vertical/white-on-green@4x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/icons/zetachain/vertical/white-on-green@4x.png -------------------------------------------------------------------------------- /public/img/logos/close.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/img/logos/og-banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zeta-chain/docs/fea0fb9e77d8eee6914f40efbea83cce8e748e39/public/img/logos/og-banner.png -------------------------------------------------------------------------------- /public/img/logos/zeta.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # * 2 | User-agent: * 3 | Allow: / 4 | 5 | # Host 6 | Host: https://www.zetachain.com/docs/ 7 | 8 | # Sitemaps 9 | Sitemap: https://www.zetachain.com/docs/sitemap.xml 10 | -------------------------------------------------------------------------------- /public/sitemap.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | https://www.zetachain.com/docs/sitemap-0.xml 4 | -------------------------------------------------------------------------------- /src/components/About/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/KeyFeatures"; 2 | export * from "./components/RoadmapPillars"; 3 | export * from "./components/TechnicalRoadmap"; 4 | export * from "./components/WhatIsZetaChain"; 5 | -------------------------------------------------------------------------------- /src/components/Community/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/CommunityLedGroups"; 2 | export * from "./components/DeveloperCommunity"; 3 | export * from "./components/GetInvolved"; 4 | export * from "./components/OfficialChannels"; 5 | -------------------------------------------------------------------------------- /src/components/Docs/components/AddressConverter/AddressConverter.utils.ts: -------------------------------------------------------------------------------- 1 | import { bech32 } from "bech32"; 2 | 3 | export const convertAddress = (address: string) => { 4 | let convertedAddress; 5 | 6 | if (address.startsWith("0x")) { 7 | const data = Buffer.from(address.substr(2), "hex"); 8 | convertedAddress = bech32.encode("zeta", bech32.toWords(data)); 9 | } else { 10 | const decoded = bech32.decode(address); 11 | convertedAddress = `0x${Buffer.from(bech32.fromWords(decoded.words)).toString("hex")}`; 12 | } 13 | 14 | return convertedAddress; 15 | }; 16 | -------------------------------------------------------------------------------- /src/components/Docs/components/AddressConverter/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/AddressConverter"; 2 | -------------------------------------------------------------------------------- /src/components/Docs/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/AddressConverter"; 2 | export * from "./components/AdminPolicy"; 3 | export * from "./components/ConnectedChainsList"; 4 | export * from "./components/ContractAddresses"; 5 | export * from "./components/EndpointList"; 6 | export * from "./components/Fees"; 7 | export * from "./components/ForeignCoinsTable"; 8 | export * from "./components/GovParams"; 9 | export * from "./components/GovUpgradeProposals"; 10 | export * from "./components/NetworkDetails"; 11 | export { default as NodeSnapshots } from "./components/NodeSnapshots"; 12 | export * from "./components/ObserverList"; 13 | export * from "./components/ObserverParams"; 14 | export * from "./components/OpenAPIBrowser"; 15 | export * from "./components/SubspaceKeyTable"; 16 | export * from "./components/ZetaTokenTable"; 17 | -------------------------------------------------------------------------------- /src/components/Home/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/GetStarted"; 2 | export * from "./components/HomeHero"; 3 | export * from "./components/HomeNavigationSections"; 4 | export * from "./components/WorkWithUs"; 5 | -------------------------------------------------------------------------------- /src/components/Support/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/GetSupport"; 2 | export * from "./components/ShareFeedbackOrDiscoveries"; 3 | -------------------------------------------------------------------------------- /src/components/shared/components/ClientOnlyPortal.tsx: -------------------------------------------------------------------------------- 1 | import { useRouter } from "next/router"; 2 | import { useEffect, useRef, useState } from "react"; 3 | import { createPortal } from "react-dom"; 4 | 5 | type ClientOnlyPortalProps = { 6 | children: React.ReactNode; 7 | selector: string; 8 | }; 9 | 10 | export const ClientOnlyPortal: React.FC = ({ children, selector }) => { 11 | const router = useRouter(); 12 | const ref = useRef(null); 13 | const [mounted, setMounted] = useState(false); 14 | 15 | useEffect(() => { 16 | const portal = document.querySelector(selector); 17 | 18 | if (!portal) { 19 | ref.current = null; 20 | setMounted(false); 21 | return; 22 | } 23 | 24 | if (portal && ref.current) return; 25 | 26 | ref.current = portal; 27 | setMounted(true); 28 | }, [selector, router.pathname]); 29 | 30 | return mounted && ref.current ? createPortal(children, ref.current) : null; 31 | }; 32 | -------------------------------------------------------------------------------- /src/components/shared/components/CodeBlock/components/Code.tsx: -------------------------------------------------------------------------------- 1 | import clsx from "clsx"; 2 | import type { ComponentProps } from "react"; 3 | import tw, { styled } from "twin.macro"; 4 | 5 | const StyledCode = styled.code` 6 | &[data-line-numbers] > .line:before { 7 | ${tw`text-grey-300 dark:text-grey-400 text-center`} 8 | } 9 | `; 10 | 11 | export const Code = ({ children, className, ...props }: ComponentProps<"code">) => { 12 | const hasLineNumbers = "data-line-numbers" in props; 13 | 14 | return ( 15 | 24 | {children} 25 | 26 | ); 27 | }; 28 | -------------------------------------------------------------------------------- /src/components/shared/components/CodeBlock/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/Code"; 2 | export * from "./components/CodeBlock"; 3 | export * from "./components/Pre"; 4 | -------------------------------------------------------------------------------- /src/components/shared/components/Error/components/ErrorContainer.tsx: -------------------------------------------------------------------------------- 1 | import { Typography } from "@mui/material"; 2 | 3 | import { IconDocument } from "../../Icons"; 4 | import { PrimaryLink } from "../../Link"; 5 | 6 | type ErrorContainerProps = { 7 | title: string; 8 | children: React.ReactNode; 9 | }; 10 | 11 | export const ErrorContainer: React.FC = ({ title, children }) => { 12 | return ( 13 |
14 |
15 | 16 | {title} 17 | 18 | 19 |
{children}
20 | 21 | }> 22 | Home 23 | 24 |
25 |
26 | ); 27 | }; 28 | -------------------------------------------------------------------------------- /src/components/shared/components/Error/components/PageNotFound.tsx: -------------------------------------------------------------------------------- 1 | import { ThemeToggle } from "../../ThemeToggle"; 2 | import { ErrorContainer } from "./ErrorContainer"; 3 | 4 | export const PageNotFound: React.FC = () => { 5 | return ( 6 | <> 7 |
8 | 9 |
10 | 11 | 12 |

13 | We were unable to find this page. Please make sure the url you are trying to visit is valid. 14 |

15 |
16 | 17 | ); 18 | }; 19 | -------------------------------------------------------------------------------- /src/components/shared/components/Error/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/ErrorContainer"; 2 | export * from "./components/PageNotFound"; 3 | export * from "./components/ServerError"; 4 | -------------------------------------------------------------------------------- /src/components/shared/components/HeadProgressBar.tsx: -------------------------------------------------------------------------------- 1 | import { LinearProgress } from "@mui/material"; 2 | import { Router } from "next/router"; 3 | import React, { useEffect, useState } from "react"; 4 | 5 | export const HeadProgressBar = () => { 6 | const [loading, setLoading] = useState(false); 7 | 8 | useEffect(() => { 9 | Router.events.on("routeChangeStart", () => setLoading(true)); 10 | Router.events.on("routeChangeComplete", () => setLoading(false)); 11 | Router.events.on("routeChangeError", () => setLoading(false)); 12 | 13 | return () => { 14 | Router.events.off("routeChangeStart", () => {}); 15 | Router.events.off("routeChangeComplete", () => {}); 16 | Router.events.off("routeChangeError", () => {}); 17 | }; 18 | }, []); 19 | 20 | return loading ? ( 21 | 31 | ) : null; 32 | }; 33 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/HeroIconMoon.tsx: -------------------------------------------------------------------------------- 1 | import clsx from "clsx"; 2 | import { SVGProps } from "react"; 3 | 4 | const HeroIconMoon = ({ color, ...otherProps }: SVGProps & { color?: string }) => ( 5 | 14 | 21 | 22 | ); 23 | 24 | export { HeroIconMoon }; 25 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/HeroIconSun.tsx: -------------------------------------------------------------------------------- 1 | import clsx from "clsx"; 2 | import { SVGProps } from "react"; 3 | 4 | const HeroIconSun = ({ color, ...otherProps }: SVGProps & { color?: string }) => ( 5 | 14 | 21 | 22 | ); 23 | 24 | export { HeroIconSun }; 25 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconAbout.tsx: -------------------------------------------------------------------------------- 1 | import clsx from "clsx"; 2 | import { SVGProps } from "react"; 3 | 4 | const IconAbout = ({ color, ...otherProps }: SVGProps & { color?: string }) => ( 5 | 14 | 18 | 19 | ); 20 | 21 | export { IconAbout }; 22 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArrowNarrowRight.tsx: -------------------------------------------------------------------------------- 1 | import clsx from "clsx"; 2 | import { SVGProps } from "react"; 3 | 4 | const IconArrowNarrowRight = ({ 5 | color, 6 | ...otherProps 7 | }: SVGProps & { color?: string }) => ( 8 | 17 | 23 | 24 | ); 25 | 26 | export { IconArrowNarrowRight }; 27 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle011.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle011 = () => ( 2 | 3 | 4 | 5 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | ); 18 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle012.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle012 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | ); 20 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle013.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle013 = () => ( 2 | 3 | 4 | 5 | 6 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | ); 19 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle016.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle016 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | ); 21 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle017.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle017 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | ); 17 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle036.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle036 = () => ( 2 | 3 | 4 | 5 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | ); 18 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle037.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle037 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | ); 17 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle038.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle038 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | ); 16 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle041.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle041 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | ); 21 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle042.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle042 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | ); 17 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle061.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle061 = () => ( 2 | 3 | 4 | 5 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | ); 18 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle062.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle062 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | ); 17 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle063.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle063 = () => ( 2 | 3 | 4 | 5 | 6 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | ); 19 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle066.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle066 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | ); 21 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle067.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle067 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | ); 17 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle071.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle071 = () => ( 2 | 3 | 4 | 5 | 11 | 12 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | ); 26 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle086.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle086 = () => ( 2 | 3 | 4 | 5 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | ); 18 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle087.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle087 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | ); 17 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle088.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle088 = () => ( 2 | 3 | 4 | 5 | 6 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | ); 19 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle091.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle091 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | ); 21 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle092.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle092 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | ); 17 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle111.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle111 = () => ( 2 | 3 | 4 | 5 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | ); 18 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle112.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle112 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | ); 17 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle113.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle113 = () => ( 2 | 3 | 4 | 5 | 6 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | ); 19 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle116.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle116 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | ); 21 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/components/IconArticle117.tsx: -------------------------------------------------------------------------------- 1 | export const IconArticle117 = () => ( 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | ); 17 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconArticle/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/DeterministicIconArticle"; 2 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconCheck.tsx: -------------------------------------------------------------------------------- 1 | import clsx from "clsx"; 2 | import { SVGProps } from "react"; 3 | 4 | const IconCheck = ({ color, ...otherProps }: SVGProps & { color?: string }) => ( 5 | 14 | 21 | 22 | ); 23 | 24 | export { IconCheck }; 25 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconDropDown.tsx: -------------------------------------------------------------------------------- 1 | import clsx from "clsx"; 2 | import { SVGProps } from "react"; 3 | 4 | const IconDropDown = ({ color, ...otherProps }: SVGProps & { color?: string }) => ( 5 | 14 | 20 | 21 | ); 22 | 23 | export { IconDropDown }; 24 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconLineWrap.tsx: -------------------------------------------------------------------------------- 1 | import clsx from "clsx"; 2 | import { SVGProps } from "react"; 3 | 4 | const IconLineWrap = ({ color, ...otherProps }: SVGProps & { color?: string }) => ( 5 | 14 | 20 | 21 | ); 22 | 23 | export { IconLineWrap }; 24 | -------------------------------------------------------------------------------- /src/components/shared/components/Icons/components/IconTwitter.tsx: -------------------------------------------------------------------------------- 1 | import clsx from "clsx"; 2 | import { SVGProps } from "react"; 3 | 4 | const IconTwitter = ({ color, ...otherProps }: SVGProps & { color?: string }) => ( 5 | 14 | 18 | 19 | ); 20 | 21 | export { IconTwitter }; 22 | -------------------------------------------------------------------------------- /src/components/shared/components/Layout/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/Layout"; 2 | export * from "./components/MainContentWrapper"; 3 | export * from "./Layout.constants"; 4 | -------------------------------------------------------------------------------- /src/components/shared/components/Link/components/PrimaryLink.tsx: -------------------------------------------------------------------------------- 1 | import clsx from "clsx"; 2 | import Link, { LinkProps as NextLinkProps } from "next/link"; 3 | import { PropsWithChildren } from "react"; 4 | 5 | type PrimaryLinkProps = { 6 | icon?: React.ReactNode; 7 | } & NextLinkProps & 8 | React.AnchorHTMLAttributes; 9 | 10 | export const PrimaryLink: React.FC> = ({ 11 | icon, 12 | children, 13 | className, 14 | ...linkProps 15 | }) => { 16 | return ( 17 | 24 | {icon} 25 | {children} → 26 | 27 | ); 28 | }; 29 | -------------------------------------------------------------------------------- /src/components/shared/components/Link/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/PrimaryLink"; 2 | -------------------------------------------------------------------------------- /src/components/shared/components/LoadingTable.tsx: -------------------------------------------------------------------------------- 1 | import { Skeleton } from "@mui/material"; 2 | import { range } from "lodash-es"; 3 | 4 | type LoadingTableProps = { 5 | rowCount?: number; 6 | }; 7 | 8 | export const LoadingTable: React.FC = ({ rowCount = 2 }) => ( 9 |
10 | 11 | 12 | 13 | 16 | 17 | 18 | 19 | {range(rowCount).map((number) => ( 20 | 21 | 24 | 25 | ))} 26 | 27 |
14 | 15 |
22 | 23 |
28 |
29 | ); 30 | -------------------------------------------------------------------------------- /src/components/shared/components/NavigationSection/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/CurrentPageNavigationSections"; 2 | export * from "./components/NavigationCardLink"; 3 | export * from "./components/NavigationSection"; 4 | -------------------------------------------------------------------------------- /src/components/shared/components/PageBlocked.tsx: -------------------------------------------------------------------------------- 1 | import { Typography } from "@mui/material"; 2 | 3 | type PageBlockedProps = { 4 | title: string; 5 | subtitle?: string; 6 | }; 7 | 8 | export const PageBlocked: React.FC = ({ title, subtitle }) => { 9 | return ( 10 |
11 |
12 | 13 | {title} 14 | 15 | 16 | {subtitle && {subtitle}} 17 |
18 |
19 | ); 20 | }; 21 | -------------------------------------------------------------------------------- /src/components/shared/components/TOC/components/Heading.tsx: -------------------------------------------------------------------------------- 1 | import clsx from "clsx"; 2 | import { PropsWithChildren } from "react"; 3 | 4 | type HeadingProps = PropsWithChildren<{ 5 | tag: "h2" | "h3" | "h4" | "h5" | "h6"; 6 | }>; 7 | 8 | export const Heading: React.FC = ({ tag: Tag, children }) => { 9 | if (!children) return null; 10 | 11 | return ( 12 | 18 | 26 | {children} 27 | 28 | 29 | ); 30 | }; 31 | -------------------------------------------------------------------------------- /src/components/shared/components/TOC/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/Heading"; 2 | export * from "./components/HeadingLink"; 3 | export * from "./components/TableOfContentsWrapper"; 4 | -------------------------------------------------------------------------------- /src/components/shared/components/Tabs/Tabs.constants.ts: -------------------------------------------------------------------------------- 1 | import { NetworkType } from "~/lib/app.types"; 2 | 3 | export type Tab = { 4 | label: string; 5 | }; 6 | 7 | export type NetworkTypeTab = Tab & { 8 | networkType: NetworkType; 9 | }; 10 | 11 | export const networkTypeTabs: NetworkTypeTab[] = [ 12 | { label: "Mainnet Beta", networkType: "mainnet" }, 13 | { label: "Testnet", networkType: "testnet" }, 14 | ]; 15 | 16 | export const rpcByNetworkType: Record = { 17 | mainnet: "https://zetachain.blockpi.network/lcd/v1/public", 18 | testnet: "https://zetachain-athens.blockpi.network/lcd/v1/public", 19 | }; 20 | 21 | export const lsSelectedNetworkType = "zetaDocs.networkType"; 22 | -------------------------------------------------------------------------------- /src/components/shared/components/Tabs/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/NavTabs"; 2 | export * from "./components/NetworkTypeTabs"; 3 | export * from "./Tabs.constants"; 4 | -------------------------------------------------------------------------------- /src/components/shared/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./components/Alert"; 2 | export * from "./components/AppHead"; 3 | export * from "./components/BugBounty"; 4 | export * from "./components/CodeBlock"; 5 | export * from "./components/Error"; 6 | export * from "./components/Footer"; 7 | export * from "./components/HeadProgressBar"; 8 | export * from "./components/Hero"; 9 | export * from "./components/Icons"; 10 | export * from "./components/Layout"; 11 | export * from "./components/Link"; 12 | export * from "./components/LoadingTable"; 13 | export * from "./components/NavigationSection"; 14 | export * from "./components/PageBlocked"; 15 | export * from "./components/PreloadedFonts"; 16 | export * from "./components/SectionTitle"; 17 | export * from "./components/Tabs"; 18 | export * from "./components/ThemeToggle"; 19 | export * from "./components/TOC"; 20 | -------------------------------------------------------------------------------- /src/config/headers.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "nextHeadersConfig": [ 3 | { 4 | "source": "/:path*", 5 | "headers": [ 6 | { 7 | "key": "Strict-Transport-Security", 8 | "value": "max-age=63072000; includeSubDomains; preload" 9 | }, 10 | { 11 | "key": "X-Frame-Options", 12 | "value": "DENY" 13 | }, 14 | { 15 | "key": "Content-Security-Policy", 16 | "value": "frame-ancestors 'none'" 17 | }, 18 | { 19 | "key": "X-Content-Type-Options", 20 | "value": "nosniff" 21 | }, 22 | { 23 | "key": "Vercel-CDN-Cache-Control", 24 | "value": "s-maxage=0" 25 | } 26 | ] 27 | } 28 | ] 29 | } 30 | -------------------------------------------------------------------------------- /src/config/next-seo.config.ts: -------------------------------------------------------------------------------- 1 | import { NextSeoProps } from "next-seo"; 2 | 3 | export const defaultTitle = "ZetaChain Docs"; 4 | export const defaultDescription = "ZetaChain Docs are designed to help you build with ZetaChain."; 5 | export const defaultBaseUrl = "https://www.zetachain.com/docs/"; 6 | 7 | export const nextSeoProps: NextSeoProps = { 8 | titleTemplate: `%s – ${defaultTitle}`, 9 | description: defaultDescription, 10 | openGraph: { 11 | title: defaultTitle, 12 | description: defaultDescription, 13 | locale: "en", 14 | type: "website", 15 | site_name: defaultTitle, 16 | url: defaultBaseUrl, 17 | images: [ 18 | { 19 | url: `${defaultBaseUrl}img/logos/og-banner.png`, 20 | alt: "ZetaChain", 21 | }, 22 | ], 23 | }, 24 | twitter: { 25 | handle: "@zetablockchain", 26 | cardType: "summary_large_image", 27 | }, 28 | }; 29 | -------------------------------------------------------------------------------- /src/constants/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./globalLinks"; 2 | -------------------------------------------------------------------------------- /src/hooks/useAppAnalytics.ts: -------------------------------------------------------------------------------- 1 | import { Router } from "next/router"; 2 | import { useEffect } from "react"; 3 | 4 | import { trackPageView } from "../lib/tracking"; 5 | 6 | export const useAppAnalytics = (router: Router) => { 7 | /** 8 | * Track every page view/change 9 | */ 10 | useEffect(() => { 11 | if (router.pathname) trackPageView(router.pathname); 12 | }, [router.pathname]); 13 | }; 14 | -------------------------------------------------------------------------------- /src/hooks/useSetDirectoriesState.ts: -------------------------------------------------------------------------------- 1 | import { getAllPages } from "nextra/context"; 2 | import { useEffect, useMemo } from "react"; 3 | 4 | import { useAppDispatch } from "../lib/app.store"; 5 | import { setDirectories, setPages } from "../lib/directories/directories.redux"; 6 | import { getDirectories } from "../lib/helpers/nextra"; 7 | 8 | export const useSetDirectoriesState = () => { 9 | const allPages = getAllPages(); 10 | 11 | const { flatDirectories, directoriesByRoute } = useMemo(() => getDirectories(allPages), [allPages]); 12 | 13 | const dispatch = useAppDispatch(); 14 | 15 | useEffect(() => { 16 | if (!allPages.length) return; 17 | 18 | dispatch(setPages(allPages)); 19 | }, [allPages]); 20 | 21 | useEffect(() => { 22 | if (!flatDirectories.length || !directoriesByRoute) return; 23 | 24 | dispatch(setDirectories({ flatDirectories, directoriesByRoute })); 25 | }, [flatDirectories, directoriesByRoute]); 26 | }; 27 | -------------------------------------------------------------------------------- /src/lib/app.constants.ts: -------------------------------------------------------------------------------- 1 | import { environment } from "../env.cjs"; 2 | 3 | export const isServer = typeof window === "undefined"; 4 | 5 | export const isClient = !isServer; 6 | 7 | export const isVercel = Boolean(environment.NEXT_PUBLIC_VERCEL); 8 | 9 | export const isVercelProd = Boolean(environment.NEXT_PUBLIC_VERCEL_ENV === "production"); 10 | 11 | export const isVercelPreview = Boolean(environment.NEXT_PUBLIC_VERCEL_ENV === "preview"); 12 | 13 | export const isNodeEnvProd = process.env.NODE_ENV === "production"; 14 | 15 | export const isNodeEnvDev = process.env.NODE_ENV === "development"; 16 | 17 | export const isDevelopmentEnv = !(isVercelPreview || isVercelProd); 18 | 19 | export const isLocalEnv = !isVercelProd && !isVercelPreview; 20 | 21 | export const basePath = process.env.NEXT_PUBLIC_BASE_PATH || ""; 22 | -------------------------------------------------------------------------------- /src/lib/app.store.ts: -------------------------------------------------------------------------------- 1 | import { configureStore } from "@reduxjs/toolkit"; 2 | import { createWrapper } from "next-redux-wrapper"; 3 | import { useDispatch } from "react-redux"; 4 | 5 | import { isVercelProd } from "./app.constants"; 6 | import { directoriesReducer } from "./directories/directories.redux"; 7 | import { scrollToPageTopReducer } from "./scroll-to-page-top/scroll-to-page-top.redux"; 8 | 9 | export const makeStore = () => 10 | configureStore({ 11 | reducer: { 12 | directories: directoriesReducer, 13 | scrollToPageTop: scrollToPageTopReducer, 14 | }, 15 | devTools: !isVercelProd, 16 | middleware: (getDefaultMiddleware) => getDefaultMiddleware(), 17 | }); 18 | 19 | export type AppStore = ReturnType; 20 | 21 | export const wrapper = createWrapper(makeStore, { debug: false }); 22 | 23 | export type AppDispatch = ReturnType["dispatch"]; 24 | export const useAppDispatch: () => AppDispatch = useDispatch; 25 | -------------------------------------------------------------------------------- /src/lib/app.types.ts: -------------------------------------------------------------------------------- 1 | export type NetworkType = "testnet" | "mainnet"; 2 | -------------------------------------------------------------------------------- /src/lib/directories/directories.selectors.ts: -------------------------------------------------------------------------------- 1 | import { createSelector } from "@reduxjs/toolkit"; 2 | 3 | import ReduxTypes from "../redux.types"; 4 | 5 | export const selectPages = createSelector( 6 | (state: ReduxTypes.RootState) => state.directories.pages, 7 | (pages) => pages 8 | ); 9 | 10 | export const selectFlatDirectories = createSelector( 11 | (state: ReduxTypes.RootState) => state.directories.flatDirectories, 12 | (flatDirectories) => flatDirectories 13 | ); 14 | 15 | export const selectDirectoriesByRoute = createSelector( 16 | (state: ReduxTypes.RootState) => state.directories.directoriesByRoute, 17 | (directoriesByRoute) => directoriesByRoute 18 | ); 19 | -------------------------------------------------------------------------------- /src/lib/github-edit-url.ts: -------------------------------------------------------------------------------- 1 | import nextraDocsThemeConfig from "~/theme.config"; 2 | 3 | export function getGitHubEditUrl(route: string): string { 4 | let githubFilePath = route 5 | .replace(/^\//, "") 6 | .replace(/\[\[...(.+)\]\]/, "$1") 7 | .replace(/\[([^\]]+)\]/g, "$1") 8 | .replace(/\/$/, ""); 9 | if (githubFilePath === "") githubFilePath = "index"; 10 | githubFilePath = `src/pages/${githubFilePath}.mdx`; 11 | return `${nextraDocsThemeConfig.docsRepositoryBase}/edit/main/${githubFilePath}`; 12 | } 13 | -------------------------------------------------------------------------------- /src/lib/helpers/createEmotionCache.ts: -------------------------------------------------------------------------------- 1 | import createCache from "@emotion/cache"; 2 | 3 | export const createEmotionCache = () => createCache({ key: "css", prepend: true }); 4 | -------------------------------------------------------------------------------- /src/lib/redux.types.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable import/no-default-export */ 2 | import { makeStore } from "./app.store"; 3 | 4 | const store = makeStore(); 5 | 6 | declare namespace ReduxTypes { 7 | // Infer the `RootState` and `AppDispatch` types from the store itself 8 | export type RootState = ReturnType; 9 | export type AppDispatch = typeof store.dispatch; 10 | } 11 | 12 | export default ReduxTypes; 13 | -------------------------------------------------------------------------------- /src/lib/scripts/chatbase.ts: -------------------------------------------------------------------------------- 1 | export const chatbaseScript = ` 2 | (function(){ 3 | if(!window.chatbase||window.chatbase("getState")!=="initialized"){ 4 | window.chatbase=(...arguments)=>{ 5 | if(!window.chatbase.q){window.chatbase.q=[]} 6 | window.chatbase.q.push(arguments) 7 | }; 8 | window.chatbase=new Proxy(window.chatbase,{ 9 | get(target,prop){ 10 | if(prop==="q"){return target.q} 11 | return(...args)=>target(prop,...args) 12 | } 13 | }) 14 | } 15 | const onLoad=function(){ 16 | const script=document.createElement("script"); 17 | script.src="https://www.chatbase.co/embed.min.js"; 18 | script.id="HwoQ2Sf9rFFtdW59sbYKF"; 19 | script.domain="www.chatbase.co"; 20 | document.body.appendChild(script) 21 | }; 22 | if(document.readyState==="complete"){ 23 | onLoad() 24 | }else{ 25 | window.addEventListener("load",onLoad) 26 | } 27 | })(); 28 | `; 29 | -------------------------------------------------------------------------------- /src/lib/scroll-to-page-top/scroll-to-page-top.redux.ts: -------------------------------------------------------------------------------- 1 | import { createSlice, PayloadAction } from "@reduxjs/toolkit"; 2 | 3 | const SCROLL_TO_PAGE_SLICE_NAME = "scroll-to-page-top"; 4 | 5 | type ScrollToPageTopState = { 6 | scrollPositionFromBottom: number; 7 | shouldScrollToTop: boolean; 8 | }; 9 | 10 | const initialState: ScrollToPageTopState = { 11 | scrollPositionFromBottom: 0, 12 | shouldScrollToTop: false, 13 | }; 14 | 15 | export const scrollToPageTopSlice = createSlice({ 16 | name: SCROLL_TO_PAGE_SLICE_NAME, 17 | initialState, 18 | reducers: { 19 | setScrollPositionFromBottom: (state, { payload }: PayloadAction) => { 20 | state.scrollPositionFromBottom = payload; 21 | }, 22 | setShouldScrollToPageTop: (state, { payload }: PayloadAction) => { 23 | state.shouldScrollToTop = payload; 24 | }, 25 | }, 26 | }); 27 | 28 | export const { setScrollPositionFromBottom, setShouldScrollToPageTop } = scrollToPageTopSlice.actions; 29 | 30 | export const scrollToPageTopReducer = scrollToPageTopSlice.reducer; 31 | -------------------------------------------------------------------------------- /src/lib/scroll-to-page-top/scroll-to-page-top.selectors.ts: -------------------------------------------------------------------------------- 1 | import { createSelector } from "@reduxjs/toolkit"; 2 | 3 | import ReduxTypes from "../redux.types"; 4 | 5 | export const selectScrollPositionFromBottom = createSelector( 6 | (state: ReduxTypes.RootState) => state.scrollToPageTop.scrollPositionFromBottom, 7 | (scrollPositionFromBottom) => scrollPositionFromBottom 8 | ); 9 | 10 | export const selectShouldScrollToTop = createSelector( 11 | (state: ReduxTypes.RootState) => state.scrollToPageTop.shouldScrollToTop, 12 | (shouldScrollToTop) => shouldScrollToTop 13 | ); 14 | -------------------------------------------------------------------------------- /src/lib/theme/useHydrateTheme.ts: -------------------------------------------------------------------------------- 1 | import { ThunkDispatch } from "@reduxjs/toolkit"; 2 | import { darkMode } from "@zetachain/ui-toolkit/theme/mui.dark.theme"; 3 | import { lightMode } from "@zetachain/ui-toolkit/theme/mui.light.theme"; 4 | import { useTheme } from "nextra-theme-docs"; 5 | import { useEffect, useState } from "react"; 6 | 7 | export const useHydrateTheme = >({ appDispatch }: { appDispatch: T }) => { 8 | const { resolvedTheme, setTheme } = useTheme(); 9 | const [theme, setInitialTheme] = useState(darkMode); 10 | 11 | // Set theme on initial load 12 | useEffect(() => { 13 | const storedTheme = localStorage.getItem("theme"); 14 | const initialTheme = storedTheme || resolvedTheme; 15 | 16 | if (initialTheme === "dark") { 17 | setTheme("dark"); 18 | setInitialTheme(darkMode); 19 | } 20 | 21 | if (initialTheme === "light") { 22 | setTheme("light"); 23 | setInitialTheme(lightMode); 24 | } 25 | }, []); 26 | 27 | return { 28 | theme, 29 | }; 30 | }; 31 | -------------------------------------------------------------------------------- /src/lib/withProviders.tsx: -------------------------------------------------------------------------------- 1 | import { NextPage } from "next"; 2 | 3 | import { environment } from "../env.cjs"; 4 | 5 | export const withProviders = 6 | () => 7 | = {}, InitialProps = Props>( 8 | PageComponent: NextPage 9 | ): NextPage => { 10 | const WithProviders = ({ session, ...props }: any) => ; 11 | 12 | if (environment.NEXT_PUBLIC_VERCEL_ENV !== "production") { 13 | const displayName = PageComponent.displayName || PageComponent.name || "Component"; 14 | 15 | WithProviders.displayName = `withProviders(${displayName})`; 16 | } 17 | 18 | WithProviders.getInitialProps = PageComponent.getInitialProps; 19 | 20 | return WithProviders; 21 | }; 22 | -------------------------------------------------------------------------------- /src/pages/404.tsx: -------------------------------------------------------------------------------- 1 | import type { NextPage } from "next"; 2 | 3 | import { PageNotFound } from "~/components/shared"; 4 | 5 | const Custom404: NextPage = () => ; 6 | 7 | export default Custom404; 8 | -------------------------------------------------------------------------------- /src/pages/451.tsx: -------------------------------------------------------------------------------- 1 | import type { NextPage } from "next"; 2 | 3 | import { PageBlocked } from "~/components/shared"; 4 | 5 | const CustomPageBlocked: NextPage = () => { 6 | return ; 7 | }; 8 | 9 | export default CustomPageBlocked; 10 | -------------------------------------------------------------------------------- /src/pages/500.tsx: -------------------------------------------------------------------------------- 1 | import type { NextPage } from "next"; 2 | 3 | import { ServerError } from "~/components/shared"; 4 | 5 | const Custom500: NextPage = () => ; 6 | 7 | export default Custom500; 8 | -------------------------------------------------------------------------------- /src/pages/_app.mdx: -------------------------------------------------------------------------------- 1 | {/* To circumvent performance issues when using .tsx instead of .mdx, we use this as passthrough */} 2 | import "src/styles/globals.css"; 3 | 4 | export { default } from "../components/AppComponent"; 5 | -------------------------------------------------------------------------------- /src/pages/about/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "index": { 3 | "title": "About", 4 | "description": "All about ZetaChain, the foundational, public blockchain that enables omnichain, generic smart contracts and messaging between any blockchain.", 5 | "readTime": "10 min" 6 | }, 7 | "token-utility": { 8 | "title": "About ZETA Token", 9 | "description": "Understand more about the token underpinning ZetaChain", 10 | "readTime": "5 min" 11 | } 12 | } -------------------------------------------------------------------------------- /src/pages/about/zetachain/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "bounty": { 3 | "title": "Bug Bounty Program", 4 | "description": "Contribute to ZetaChain by finding and reporting bugs.", 5 | "readTime": "5 min", 6 | "readType": "Beginner" 7 | } 8 | } -------------------------------------------------------------------------------- /src/pages/community.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Community 3 | description: Join an active community of ZetaChain enthusiasts, builders and supporters for news, local events, support and more. 4 | heroImgUrl: /img/pages/community.svg 5 | heroImgWidth: 525 6 | --- 7 | 8 | import { CommunityLedGroups, DeveloperCommunity, GetInvolved, OfficialChannels } from "~/components/Community"; 9 | 10 |
11 | 12 | 13 | 14 | 15 |
16 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "overview": { 3 | "title": "Architecture", 4 | "description": "Overview of the architecture of ZetaChain" 5 | }, 6 | "observers": { 7 | "title": "Observer-Signer Validators", 8 | "description": "List of currently active observer-signer validators" 9 | }, 10 | "privileged": { 11 | "title": "Privileged Actions", 12 | "description": "Administrative actions that can only be executed by dedicated groups" 13 | }, 14 | "rewards": { 15 | "title": "Staking Rewards", 16 | "description": "How staking rewards are calculated" 17 | }, 18 | "whitelisting": { 19 | "title": "Whitelisting ERC-20", 20 | "description": "How to whitelist an ERC-20 as a supported ZRC-20" 21 | }, 22 | "modules": { 23 | "title": "Modules", 24 | "description": "ZetaChain's Cosmos SDK modules" 25 | }, 26 | "zetacored": { 27 | "title": "ZetaChain Node CLI", 28 | "description": "Command-line interface of the ZetaChain node binary" 29 | } 30 | } -------------------------------------------------------------------------------- /src/pages/developers/architecture/modules/emissions/messages.md: -------------------------------------------------------------------------------- 1 | # Messages 2 | 3 | ## MsgUpdateParams 4 | 5 | UpdateParams defines a governance operation for updating the x/emissions module parameters. 6 | The authority is hard-coded to the x/gov module account. 7 | 8 | ```proto 9 | message MsgUpdateParams { 10 | string authority = 1; 11 | Params params = 2; 12 | } 13 | ``` 14 | 15 | ## MsgWithdrawEmission 16 | 17 | WithdrawEmission allows the user to withdraw from their withdrawable emissions. 18 | on a successful withdrawal, the amount is transferred from the undistributed rewards pool to the user's account. 19 | if the amount to be withdrawn is greater than the available withdrawable emission, the max available amount is withdrawn. 20 | if the pool does not have enough balance to process this request, an error is returned. 21 | 22 | ```proto 23 | message MsgWithdrawEmission { 24 | string creator = 1; 25 | string amount = 2; 26 | } 27 | ``` 28 | 29 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/modules/emissions/overview.md: -------------------------------------------------------------------------------- 1 | --- 2 | sidebar_position: 1 3 | --- 4 | 5 | # Overview 6 | 7 | The `emissions` module is responsible for orchestrating rewards distribution for 8 | observers, validators and TSS signers. Currently, it only distributes rewards to 9 | validators every block. The undistributed amount for TSS and observers is stored 10 | in their respective pools. 11 | 12 | The distribution of rewards is implemented in the begin blocker. 13 | 14 | The module keeps track of parameters used for calculating rewards: 15 | 16 | - Maximum bond factor 17 | - Minimum bond factor 18 | - Average block time 19 | - Target bond ratio 20 | - Validator emission percentage 21 | - Observer emission percentage 22 | - TSS Signer emission percentage 23 | - Duration factor constant 24 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/modules/index.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Modules Overview 3 | description: Overview of ZetaChain modules 4 | --- 5 | 6 | # Modules Overview 7 | 8 | This section provides documentation for the various modules that make up the ZetaChain protocol. 9 | 10 | ## Available Modules 11 | - [Authority Module](./modules/authority/messages) 12 | - [Crosschain Module](./modules/crosschain/messages) 13 | - [Emissions Module](./modules/emissions/messages) 14 | - [Fungible Module](./modules/fungible/messages) 15 | - [Lightclient Module](./modules/lightclient/messages) 16 | - [Observer Module](./modules/observer/messages) 17 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/modules/lightclient/messages.md: -------------------------------------------------------------------------------- 1 | # Messages 2 | 3 | ## MsgEnableHeaderVerification 4 | 5 | EnableHeaderVerification enables the verification flags for the given chain IDs 6 | Enabled chains allow the submissions of block headers and using it to verify the correctness of proofs 7 | 8 | ```proto 9 | message MsgEnableHeaderVerification { 10 | string creator = 1; 11 | int64 chain_id_list = 2; 12 | } 13 | ``` 14 | 15 | ## MsgDisableHeaderVerification 16 | 17 | DisableHeaderVerification disables the verification flags for the given chain IDs 18 | Disabled chains do not allow the submissions of block headers or using it to verify the correctness of proofs 19 | 20 | ```proto 21 | message MsgDisableHeaderVerification { 22 | string creator = 1; 23 | int64 chain_id_list = 2; 24 | } 25 | ``` 26 | 27 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/Errors.sol/interface.INotSupportedMethods.md: -------------------------------------------------------------------------------- 1 | # INotSupportedMethods 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/Errors.sol) 3 | 4 | Interface for contracts that with non supported methods. 5 | 6 | 7 | ## Errors 8 | ### ZETANotSupported 9 | 10 | ```solidity 11 | error ZETANotSupported(); 12 | ``` 13 | 14 | ### CallOnRevertNotSupported 15 | 16 | ```solidity 17 | error CallOnRevertNotSupported(); 18 | ``` 19 | 20 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # Contents 4 | - [evm](/contracts/evm) 5 | - [zevm](/contracts/zevm) 6 | - [INotSupportedMethods](Errors.sol/interface.INotSupportedMethods.md) 7 | - [RevertOptions](Revert.sol/struct.RevertOptions.md) 8 | - [RevertContext](Revert.sol/struct.RevertContext.md) 9 | - [Revertable](Revert.sol/interface.Revertable.md) 10 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/Revert.sol/interface.Revertable.md: -------------------------------------------------------------------------------- 1 | # Revertable 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/Revert.sol) 3 | 4 | Interface for contracts that support revertable calls. 5 | 6 | 7 | ## Functions 8 | ### onRevert 9 | 10 | Called when a revertable call is made. 11 | 12 | 13 | ```solidity 14 | function onRevert(RevertContext calldata revertContext) external; 15 | ``` 16 | **Parameters** 17 | 18 | |Name|Type|Description| 19 | |----|----|-----------| 20 | |`revertContext`|`RevertContext`|Revert context to pass to onRevert.| 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/Revert.sol/struct.RevertContext.md: -------------------------------------------------------------------------------- 1 | # RevertContext 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/Revert.sol) 3 | 4 | Struct containing revert context passed to onRevert. 5 | 6 | 7 | ```solidity 8 | struct RevertContext { 9 | address sender; 10 | address asset; 11 | uint256 amount; 12 | bytes revertMessage; 13 | } 14 | ``` 15 | 16 | **Properties** 17 | 18 | |Name|Type|Description| 19 | |----|----|-----------| 20 | |`sender`|`address`|Address of account that initiated smart contract call.| 21 | |`asset`|`address`|Address of asset. On a connected chain, it contains the fungible token address or is empty if it's a gas token. On ZetaChain, it contains the address of the ZRC20.| 22 | |`amount`|`uint256`|Amount specified with the transaction.| 23 | |`revertMessage`|`bytes`|Arbitrary data sent back in onRevert.| 24 | 25 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/Revert.sol/struct.RevertOptions.md: -------------------------------------------------------------------------------- 1 | # RevertOptions 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/Revert.sol) 3 | 4 | Struct containing revert options 5 | 6 | 7 | ```solidity 8 | struct RevertOptions { 9 | address revertAddress; 10 | bool callOnRevert; 11 | address abortAddress; 12 | bytes revertMessage; 13 | uint256 onRevertGasLimit; 14 | } 15 | ``` 16 | 17 | **Properties** 18 | 19 | |Name|Type|Description| 20 | |----|----|-----------| 21 | |`revertAddress`|`address`|Address to receive revert.| 22 | |`callOnRevert`|`bool`|Flag if onRevert hook should be called.| 23 | |`abortAddress`|`address`|Address to receive funds if aborted.| 24 | |`revertMessage`|`bytes`|Arbitrary data sent back in onRevert.| 25 | |`onRevertGasLimit`|`uint256`|Gas limit for revert tx, unused on GatewayZEVM methods| 26 | 27 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/evm/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # Contents 4 | - [interfaces](/contracts/evm/interfaces) 5 | - [legacy](/contracts/evm/legacy) 6 | - [ERC20Custody](ERC20Custody.sol/contract.ERC20Custody.md) 7 | - [GatewayEVM](GatewayEVM.sol/contract.GatewayEVM.md) 8 | - [ZetaConnectorBase](ZetaConnectorBase.sol/abstract.ZetaConnectorBase.md) 9 | - [ZetaConnectorNative](ZetaConnectorNative.sol/contract.ZetaConnectorNative.md) 10 | - [ZetaConnectorNonNative](ZetaConnectorNonNative.sol/contract.ZetaConnectorNonNative.md) 11 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/evm/interfaces/IERC20Custody.sol/interface.IERC20CustodyErrors.md: -------------------------------------------------------------------------------- 1 | # IERC20CustodyErrors 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/evm/interfaces/IERC20Custody.sol) 3 | 4 | Interface for the errors used in the ERC20 custody contract. 5 | 6 | 7 | ## Errors 8 | ### ZeroAddress 9 | Error for zero address input. 10 | 11 | 12 | ```solidity 13 | error ZeroAddress(); 14 | ``` 15 | 16 | ### NotWhitelisted 17 | Error for not whitelisted ERC20 token 18 | 19 | 20 | ```solidity 21 | error NotWhitelisted(); 22 | ``` 23 | 24 | ### LegacyMethodsNotSupported 25 | Error for calling not supported legacy methods. 26 | 27 | 28 | ```solidity 29 | error LegacyMethodsNotSupported(); 30 | ``` 31 | 32 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/evm/interfaces/IGatewayEVM.sol/interface.Callable.md: -------------------------------------------------------------------------------- 1 | # Callable 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/evm/interfaces/IGatewayEVM.sol) 3 | 4 | Interface implemented by contracts receiving authenticated calls. 5 | 6 | 7 | ## Functions 8 | ### onCall 9 | 10 | 11 | ```solidity 12 | function onCall(MessageContext calldata context, bytes calldata message) external payable returns (bytes memory); 13 | ``` 14 | 15 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/evm/interfaces/IGatewayEVM.sol/struct.MessageContext.md: -------------------------------------------------------------------------------- 1 | # MessageContext 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/evm/interfaces/IGatewayEVM.sol) 3 | 4 | Message context passed to execute function. 5 | 6 | 7 | ```solidity 8 | struct MessageContext { 9 | address sender; 10 | } 11 | ``` 12 | 13 | **Properties** 14 | 15 | |Name|Type|Description| 16 | |----|----|-----------| 17 | |`sender`|`address`|Sender from omnichain contract.| 18 | 19 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/evm/interfaces/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # Contents 4 | - [IERC20CustodyEvents](IERC20Custody.sol/interface.IERC20CustodyEvents.md) 5 | - [IERC20CustodyErrors](IERC20Custody.sol/interface.IERC20CustodyErrors.md) 6 | - [IERC20Custody](IERC20Custody.sol/interface.IERC20Custody.md) 7 | - [IGatewayEVMEvents](IGatewayEVM.sol/interface.IGatewayEVMEvents.md) 8 | - [IGatewayEVMErrors](IGatewayEVM.sol/interface.IGatewayEVMErrors.md) 9 | - [IGatewayEVM](IGatewayEVM.sol/interface.IGatewayEVM.md) 10 | - [MessageContext](IGatewayEVM.sol/struct.MessageContext.md) 11 | - [Callable](IGatewayEVM.sol/interface.Callable.md) 12 | - [IZetaConnectorEvents](IZetaConnector.sol/interface.IZetaConnectorEvents.md) 13 | - [IZetaNonEthNew](IZetaNonEthNew.sol/interface.IZetaNonEthNew.md) 14 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/evm/legacy/ConnectorErrors.sol/interface.ConnectorErrors.md: -------------------------------------------------------------------------------- 1 | # ConnectorErrors 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/evm/legacy/ConnectorErrors.sol) 3 | 4 | *Interface with connector custom errors* 5 | 6 | 7 | ## Errors 8 | ### CallerIsNotPauser 9 | 10 | ```solidity 11 | error CallerIsNotPauser(address caller); 12 | ``` 13 | 14 | ### CallerIsNotTss 15 | 16 | ```solidity 17 | error CallerIsNotTss(address caller); 18 | ``` 19 | 20 | ### CallerIsNotTssUpdater 21 | 22 | ```solidity 23 | error CallerIsNotTssUpdater(address caller); 24 | ``` 25 | 26 | ### CallerIsNotTssOrUpdater 27 | 28 | ```solidity 29 | error CallerIsNotTssOrUpdater(address caller); 30 | ``` 31 | 32 | ### ZetaTransferError 33 | 34 | ```solidity 35 | error ZetaTransferError(); 36 | ``` 37 | 38 | ### ExceedsMaxSupply 39 | 40 | ```solidity 41 | error ExceedsMaxSupply(uint256 maxSupply); 42 | ``` 43 | 44 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/evm/legacy/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # Contents 4 | - [ConnectorErrors](ConnectorErrors.sol/interface.ConnectorErrors.md) 5 | - [ZetaEth](Zeta.eth.sol/contract.ZetaEth.md) 6 | - [ZetaNonEth](Zeta.non-eth.sol/contract.ZetaNonEth.md) 7 | - [ZetaConnectorBase](ZetaConnector.base.sol/contract.ZetaConnectorBase.md) 8 | - [ZetaConnectorEth](ZetaConnector.eth.sol/contract.ZetaConnectorEth.md) 9 | - [ZetaConnectorNonEth](ZetaConnector.non-eth.sol/contract.ZetaConnectorNonEth.md) 10 | - [ZetaErrors](ZetaErrors.sol/interface.ZetaErrors.md) 11 | - [ZetaInterfaces](ZetaInterfaces.sol/interface.ZetaInterfaces.md) 12 | - [ZetaConnector](ZetaInterfaces.sol/interface.ZetaConnector.md) 13 | - [ZetaReceiver](ZetaInterfaces.sol/interface.ZetaReceiver.md) 14 | - [ZetaTokenConsumer](ZetaInterfaces.sol/interface.ZetaTokenConsumer.md) 15 | - [ZetaCommonErrors](ZetaInterfaces.sol/interface.ZetaCommonErrors.md) 16 | - [ZetaNonEthInterface](ZetaNonEthInterface.sol/interface.ZetaNonEthInterface.md) 17 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/evm/legacy/Zeta.eth.sol/contract.ZetaEth.md: -------------------------------------------------------------------------------- 1 | # ZetaEth 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/evm/legacy/Zeta.eth.sol) 3 | 4 | **Inherits:** 5 | ERC20 6 | 7 | *ZetaEth is an implementation of OpenZeppelin's ERC20* 8 | 9 | 10 | ## Functions 11 | ### constructor 12 | 13 | 14 | ```solidity 15 | constructor(address creator, uint256 initialSupply); 16 | ``` 17 | 18 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/evm/legacy/ZetaErrors.sol/interface.ZetaErrors.md: -------------------------------------------------------------------------------- 1 | # ZetaErrors 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/evm/legacy/ZetaErrors.sol) 3 | 4 | *Common custom errors* 5 | 6 | 7 | ## Errors 8 | ### CallerIsNotTss 9 | 10 | ```solidity 11 | error CallerIsNotTss(address caller); 12 | ``` 13 | 14 | ### CallerIsNotConnector 15 | 16 | ```solidity 17 | error CallerIsNotConnector(address caller); 18 | ``` 19 | 20 | ### CallerIsNotTssUpdater 21 | 22 | ```solidity 23 | error CallerIsNotTssUpdater(address caller); 24 | ``` 25 | 26 | ### CallerIsNotTssOrUpdater 27 | 28 | ```solidity 29 | error CallerIsNotTssOrUpdater(address caller); 30 | ``` 31 | 32 | ### InvalidAddress 33 | 34 | ```solidity 35 | error InvalidAddress(); 36 | ``` 37 | 38 | ### ZetaTransferError 39 | 40 | ```solidity 41 | error ZetaTransferError(); 42 | ``` 43 | 44 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/evm/legacy/ZetaInterfaces.sol/interface.ZetaCommonErrors.md: -------------------------------------------------------------------------------- 1 | # ZetaCommonErrors 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/evm/legacy/ZetaInterfaces.sol) 3 | 4 | 5 | ## Errors 6 | ### InvalidAddress 7 | 8 | ```solidity 9 | error InvalidAddress(); 10 | ``` 11 | 12 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/evm/legacy/ZetaInterfaces.sol/interface.ZetaConnector.md: -------------------------------------------------------------------------------- 1 | # ZetaConnector 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/evm/legacy/ZetaInterfaces.sol) 3 | 4 | 5 | ## Functions 6 | ### send 7 | 8 | *Sending value and data cross-chain is as easy as calling connector.send(SendInput)* 9 | 10 | 11 | ```solidity 12 | function send(ZetaInterfaces.SendInput calldata input) external; 13 | ``` 14 | 15 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/evm/legacy/ZetaInterfaces.sol/interface.ZetaReceiver.md: -------------------------------------------------------------------------------- 1 | # ZetaReceiver 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/evm/legacy/ZetaInterfaces.sol) 3 | 4 | 5 | ## Functions 6 | ### onZetaMessage 7 | 8 | *onZetaMessage is called when a cross-chain message reaches a contract* 9 | 10 | 11 | ```solidity 12 | function onZetaMessage(ZetaInterfaces.ZetaMessage calldata zetaMessage) external; 13 | ``` 14 | 15 | ### onZetaRevert 16 | 17 | *onZetaRevert is called when a cross-chain message reverts. 18 | It's useful to rollback to the original state* 19 | 20 | 21 | ```solidity 22 | function onZetaRevert(ZetaInterfaces.ZetaRevert calldata zetaRevert) external; 23 | ``` 24 | 25 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/evm/legacy/ZetaNonEthInterface.sol/interface.ZetaNonEthInterface.md: -------------------------------------------------------------------------------- 1 | # ZetaNonEthInterface 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/evm/legacy/ZetaNonEthInterface.sol) 3 | 4 | **Inherits:** 5 | IERC20 6 | 7 | *ZetaNonEthInterface is a mintable / burnable version of IERC20* 8 | 9 | 10 | ## Functions 11 | ### burnFrom 12 | 13 | 14 | ```solidity 15 | function burnFrom(address account, uint256 amount) external; 16 | ``` 17 | 18 | ### mint 19 | 20 | 21 | ```solidity 22 | function mint(address mintee, uint256 value, bytes32 internalSendHash) external; 23 | ``` 24 | 25 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/zevm/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # Contents 4 | - [interfaces](/contracts/zevm/interfaces) 5 | - [legacy](/contracts/zevm/legacy) 6 | - [GatewayZEVM](GatewayZEVM.sol/contract.GatewayZEVM.md) 7 | - [SystemContractErrors](SystemContract.sol/interface.SystemContractErrors.md) 8 | - [SystemContract](SystemContract.sol/contract.SystemContract.md) 9 | - [WETH9](WZETA.sol/contract.WETH9.md) 10 | - [ZRC20Errors](ZRC20.sol/interface.ZRC20Errors.md) 11 | - [ZRC20](ZRC20.sol/contract.ZRC20.md) 12 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/zevm/SystemContract.sol/interface.SystemContractErrors.md: -------------------------------------------------------------------------------- 1 | # SystemContractErrors 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/zevm/SystemContract.sol) 3 | 4 | *Custom errors for SystemContract* 5 | 6 | 7 | ## Errors 8 | ### CallerIsNotFungibleModule 9 | 10 | ```solidity 11 | error CallerIsNotFungibleModule(); 12 | ``` 13 | 14 | ### InvalidTarget 15 | 16 | ```solidity 17 | error InvalidTarget(); 18 | ``` 19 | 20 | ### CantBeIdenticalAddresses 21 | 22 | ```solidity 23 | error CantBeIdenticalAddresses(); 24 | ``` 25 | 26 | ### CantBeZeroAddress 27 | 28 | ```solidity 29 | error CantBeZeroAddress(); 30 | ``` 31 | 32 | ### ZeroAddress 33 | 34 | ```solidity 35 | error ZeroAddress(); 36 | ``` 37 | 38 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/zevm/ZRC20.sol/interface.ZRC20Errors.md: -------------------------------------------------------------------------------- 1 | # ZRC20Errors 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/zevm/ZRC20.sol) 3 | 4 | *Custom errors for ZRC20* 5 | 6 | 7 | ## Errors 8 | ### CallerIsNotFungibleModule 9 | 10 | ```solidity 11 | error CallerIsNotFungibleModule(); 12 | ``` 13 | 14 | ### InvalidSender 15 | 16 | ```solidity 17 | error InvalidSender(); 18 | ``` 19 | 20 | ### GasFeeTransferFailed 21 | 22 | ```solidity 23 | error GasFeeTransferFailed(); 24 | ``` 25 | 26 | ### ZeroGasCoin 27 | 28 | ```solidity 29 | error ZeroGasCoin(); 30 | ``` 31 | 32 | ### ZeroGasPrice 33 | 34 | ```solidity 35 | error ZeroGasPrice(); 36 | ``` 37 | 38 | ### LowAllowance 39 | 40 | ```solidity 41 | error LowAllowance(); 42 | ``` 43 | 44 | ### LowBalance 45 | 46 | ```solidity 47 | error LowBalance(); 48 | ``` 49 | 50 | ### ZeroAddress 51 | 52 | ```solidity 53 | error ZeroAddress(); 54 | ``` 55 | 56 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/zevm/interfaces/IGatewayZEVM.sol/struct.CallOptions.md: -------------------------------------------------------------------------------- 1 | # CallOptions 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/zevm/interfaces/IGatewayZEVM.sol) 3 | 4 | CallOptions struct passed to call and withdrawAndCall functions. 5 | 6 | 7 | ```solidity 8 | struct CallOptions { 9 | uint256 gasLimit; 10 | bool isArbitraryCall; 11 | } 12 | ``` 13 | 14 | **Properties** 15 | 16 | |Name|Type|Description| 17 | |----|----|-----------| 18 | |`gasLimit`|`uint256`|Gas limit.| 19 | |`isArbitraryCall`|`bool`|Indicates if call should be arbitrary or authenticated.| 20 | 21 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/zevm/interfaces/IZRC20.sol/enum.CoinType.md: -------------------------------------------------------------------------------- 1 | # CoinType 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/zevm/interfaces/IZRC20.sol) 3 | 4 | *Coin types for ZRC20. Zeta value should not be used.* 5 | 6 | 7 | ```solidity 8 | enum CoinType { 9 | Zeta, 10 | Gas, 11 | ERC20 12 | } 13 | ``` 14 | 15 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/zevm/interfaces/IZRC20.sol/interface.IZRC20Metadata.md: -------------------------------------------------------------------------------- 1 | # IZRC20Metadata 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/zevm/interfaces/IZRC20.sol) 3 | 4 | **Inherits:** 5 | [IZRC20](/contracts/zevm/interfaces/IZRC20.sol/interface.IZRC20.md) 6 | 7 | Interface for the ZRC20 metadata. 8 | 9 | 10 | ## Functions 11 | ### name 12 | 13 | 14 | ```solidity 15 | function name() external view returns (string memory); 16 | ``` 17 | 18 | ### symbol 19 | 20 | 21 | ```solidity 22 | function symbol() external view returns (string memory); 23 | ``` 24 | 25 | ### decimals 26 | 27 | 28 | ```solidity 29 | function decimals() external view returns (uint8); 30 | ``` 31 | 32 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/zevm/interfaces/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # Contents 4 | - [IGatewayZEVMEvents](IGatewayZEVM.sol/interface.IGatewayZEVMEvents.md) 5 | - [IGatewayZEVMErrors](IGatewayZEVM.sol/interface.IGatewayZEVMErrors.md) 6 | - [IGatewayZEVM](IGatewayZEVM.sol/interface.IGatewayZEVM.md) 7 | - [CallOptions](IGatewayZEVM.sol/struct.CallOptions.md) 8 | - [ISystem](ISystem.sol/interface.ISystem.md) 9 | - [IWETH9](IWZETA.sol/interface.IWETH9.md) 10 | - [IZRC20](IZRC20.sol/interface.IZRC20.md) 11 | - [IZRC20Metadata](IZRC20.sol/interface.IZRC20Metadata.md) 12 | - [ZRC20Events](IZRC20.sol/interface.ZRC20Events.md) 13 | - [CoinType](IZRC20.sol/enum.CoinType.md) 14 | - [zContext](UniversalContract.sol/struct.zContext.md) 15 | - [zContract](UniversalContract.sol/interface.zContract.md) 16 | - [MessageContext](UniversalContract.sol/struct.MessageContext.md) 17 | - [UniversalContract](UniversalContract.sol/interface.UniversalContract.md) 18 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/zevm/interfaces/UniversalContract.sol/interface.UniversalContract.md: -------------------------------------------------------------------------------- 1 | # UniversalContract 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/zevm/interfaces/UniversalContract.sol) 3 | 4 | 5 | ## Functions 6 | ### onCall 7 | 8 | 9 | ```solidity 10 | function onCall(MessageContext calldata context, address zrc20, uint256 amount, bytes calldata message) external; 11 | ``` 12 | 13 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/zevm/interfaces/UniversalContract.sol/interface.zContract.md: -------------------------------------------------------------------------------- 1 | # zContract 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/zevm/interfaces/UniversalContract.sol) 3 | 4 | **Note:** 5 | deprecated: should be removed once v2 SystemContract is not used anymore. 6 | UniversalContract should be used 7 | 8 | 9 | ## Functions 10 | ### onCrossChainCall 11 | 12 | 13 | ```solidity 14 | function onCrossChainCall(zContext calldata context, address zrc20, uint256 amount, bytes calldata message) external; 15 | ``` 16 | 17 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/zevm/interfaces/UniversalContract.sol/struct.MessageContext.md: -------------------------------------------------------------------------------- 1 | # MessageContext 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/zevm/interfaces/UniversalContract.sol) 3 | 4 | 5 | ```solidity 6 | struct MessageContext { 7 | bytes origin; 8 | address sender; 9 | uint256 chainID; 10 | } 11 | ``` 12 | 13 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/zevm/interfaces/UniversalContract.sol/struct.zContext.md: -------------------------------------------------------------------------------- 1 | # zContext 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/zevm/interfaces/UniversalContract.sol) 3 | 4 | **Note:** 5 | deprecated: should be removed once v2 SystemContract is not used anymore. 6 | MessageContext should be used 7 | 8 | 9 | ```solidity 10 | struct zContext { 11 | bytes origin; 12 | address sender; 13 | uint256 chainID; 14 | } 15 | ``` 16 | 17 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/zevm/legacy/README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | # Contents 4 | - [ZetaInterfaces](ZetaConnectorZEVM.sol/interface.ZetaInterfaces.md) 5 | - [ZetaReceiver](ZetaConnectorZEVM.sol/interface.ZetaReceiver.md) 6 | - [ZetaConnectorZEVM](ZetaConnectorZEVM.sol/contract.ZetaConnectorZEVM.md) 7 | -------------------------------------------------------------------------------- /src/pages/developers/architecture/protocol/contracts/zevm/legacy/ZetaConnectorZEVM.sol/interface.ZetaReceiver.md: -------------------------------------------------------------------------------- 1 | # ZetaReceiver 2 | [Git Source](https://github.com/zeta-chain/protocol-contracts/blob/main/v2/contracts/zevm/legacy/ZetaConnectorZEVM.sol) 3 | 4 | 5 | ## Functions 6 | ### onZetaMessage 7 | 8 | *onZetaMessage is called when a cross-chain message reaches a contract* 9 | 10 | 11 | ```solidity 12 | function onZetaMessage(ZetaInterfaces.ZetaMessage calldata zetaMessage) external; 13 | ``` 14 | 15 | ### onZetaRevert 16 | 17 | *onZetaRevert is called when a cross-chain message reverts. 18 | It's useful to rollback to the original state* 19 | 20 | 21 | ```solidity 22 | function onZetaRevert(ZetaInterfaces.ZetaRevert calldata zetaRevert) external; 23 | ``` 24 | 25 | -------------------------------------------------------------------------------- /src/pages/developers/chains/list.mdx: -------------------------------------------------------------------------------- 1 | import { ConnectedChainsList } from "~/components/Docs"; 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/pages/developers/evm/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "gateway": { 3 | "title": "Gateway", 4 | "description": "A single point of entry for interacting with universal apps" 5 | }, 6 | "connector": { 7 | "title": "Connector Contract", 8 | "description": "Enables message passing and ZETA transfer to and from universal apps" 9 | }, 10 | "gas": { 11 | "title": "Gas Fees", 12 | "description": "Learn about ZRC-20 withdraw fees, message passing fees" 13 | }, 14 | "cctx": { 15 | "title": "Cross-Chain Transactions", 16 | "description": "Cross-Chain Transactions" 17 | }, 18 | "addresses": { 19 | "title": "Account Addresses", 20 | "description": "Learn about types of account address, how to use and convert between them" 21 | }, 22 | "throughput": { 23 | "title": "Liquidity Throughput", 24 | "description": "Liquidity caps on tokens and rate limiting" 25 | } 26 | } -------------------------------------------------------------------------------- /src/pages/developers/frontend/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "universalkit": { 3 | "title": "UniversalKit", 4 | "description": "A set of ready to use React components that lets you build user interfaces for universal apps on ZetaChain", 5 | "readType": "Beginner", 6 | "readTime": "30 min" 7 | }, 8 | "bitcoin": { 9 | "title": "Bitcoin Frontend", 10 | "description": "Learn how to build a simple frontend app that let's you call a universal app on ZetaChain from Bitcoin using a browser wallet extension", 11 | "readType": "Beginner", 12 | "readTime": "30 min" 13 | } 14 | } -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Enumeration.EncodingFormat.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / EncodingFormat 2 | 3 | # Enumeration: EncodingFormat 4 | 5 | ## Enumeration Members 6 | 7 | ### EncodingFmtABI 8 | 9 | > **EncodingFmtABI**: `0` 10 | 11 | #### Defined in 12 | 13 | [encodeToBytes.ts:17](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/encodeToBytes.ts#L17) 14 | 15 | *** 16 | 17 | ### EncodingFmtCompactLong 18 | 19 | > **EncodingFmtCompactLong**: `2` 20 | 21 | #### Defined in 22 | 23 | [encodeToBytes.ts:19](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/encodeToBytes.ts#L19) 24 | 25 | *** 26 | 27 | ### EncodingFmtCompactShort 28 | 29 | > **EncodingFmtCompactShort**: `1` 30 | 31 | #### Defined in 32 | 33 | [encodeToBytes.ts:18](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/encodeToBytes.ts#L18) 34 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.encodeToBytes.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / encodeToBytes 2 | 3 | # Function: encodeToBytes() 4 | 5 | > **encodeToBytes**(`header`, `fields`): `Uint8Array` 6 | 7 | ## Parameters 8 | 9 | • **header**: [`Header`](toolkit/Class.Header.md) 10 | 11 | • **fields**: [`FieldsV0`](toolkit/Class.FieldsV0.md) 12 | 13 | ## Returns 14 | 15 | `Uint8Array` 16 | 17 | ## Defined in 18 | 19 | [encodeToBytes.ts:50](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/encodeToBytes.ts#L50) 20 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.getBalances.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / getBalances 2 | 3 | # Function: getBalances() 4 | 5 | > **getBalances**(`this`, `__namedParameters`): `Promise`\<`TokenBalance`[]\> 6 | 7 | Get token balances of all tokens on all chains connected to ZetaChain. 8 | 9 | ## Parameters 10 | 11 | • **this**: [`ZetaChainClient`](toolkit/Class.ZetaChainClient.md) 12 | 13 | ZetaChainClient instance. 14 | 15 | • **\_\_namedParameters** 16 | 17 | • **\_\_namedParameters.btcAddress?**: `string` 18 | 19 | • **\_\_namedParameters.evmAddress?**: `string` 20 | 21 | • **\_\_namedParameters.solanaAddress?**: `string` 22 | 23 | ## Returns 24 | 25 | `Promise`\<`TokenBalance`[]\> 26 | 27 | ## Defined in 28 | 29 | [getBalances.ts:35](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/getBalances.ts#L35) 30 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.getChainId.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / getChainId 2 | 3 | # Function: getChainId() 4 | 5 | > **getChainId**(`this`, `chainNameOrAlias`): `null` \| `number` 6 | 7 | Get chain ID from a chain label. 8 | 9 | ## Parameters 10 | 11 | • **this**: [`ZetaChainClient`](toolkit/Class.ZetaChainClient.md) 12 | 13 | ZetaChainClient instance. 14 | 15 | • **chainNameOrAlias**: `string` 16 | 17 | Chain label like goerli_testnet 18 | 19 | ## Returns 20 | 21 | `null` \| `number` 22 | 23 | ## Defined in 24 | 25 | [getChainId.ts:12](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/getChainId.ts#L12) 26 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.getEndpoint.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / getEndpoint 2 | 3 | # Function: getEndpoint() 4 | 5 | > **getEndpoint**(`this`, `type`, `network`): `string` 6 | 7 | ## Parameters 8 | 9 | • **this**: [`ZetaChainClient`](toolkit/Class.ZetaChainClient.md) 10 | 11 | • **type**: `string` 12 | 13 | • **network**: `string` 14 | 15 | ## Returns 16 | 17 | `string` 18 | 19 | ## Defined in 20 | 21 | [getEndpoint.ts:3](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/getEndpoint.ts#L3) 22 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.getFees.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / getFees 2 | 3 | # Function: getFees() 4 | 5 | > **getFees**(`this`, `gas`): `Promise`\<`Fees`\> 6 | 7 | ## Parameters 8 | 9 | • **this**: [`ZetaChainClient`](toolkit/Class.ZetaChainClient.md) 10 | 11 | • **gas**: `number` 12 | 13 | ## Returns 14 | 15 | `Promise`\<`Fees`\> 16 | 17 | ## Defined in 18 | 19 | [getFees.ts:107](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/getFees.ts#L107) 20 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.getForeignCoins.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / getForeignCoins 2 | 3 | # Function: getForeignCoins() 4 | 5 | > **getForeignCoins**(`this`): `Promise`\<`ForeignCoin`[]\> 6 | 7 | ## Parameters 8 | 9 | • **this**: [`ZetaChainClient`](toolkit/Class.ZetaChainClient.md) 10 | 11 | ## Returns 12 | 13 | `Promise`\<`ForeignCoin`[]\> 14 | 15 | ## Defined in 16 | 17 | [getForeignCoins.ts:6](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/getForeignCoins.ts#L6) 18 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.getHardhatConfig.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / getHardhatConfig 2 | 3 | # Function: getHardhatConfig() 4 | 5 | > **getHardhatConfig**(`__namedParameters`): `GetHardhatConfigReturnType` 6 | 7 | ## Parameters 8 | 9 | • **\_\_namedParameters**: `GetHardhatConfigArgs` 10 | 11 | ## Returns 12 | 13 | `GetHardhatConfigReturnType` 14 | 15 | ## Defined in 16 | 17 | [getHardhatConfig.ts:47](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/getHardhatConfig.ts#L47) 18 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.getPools.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / getPools 2 | 3 | # Function: getPools() 4 | 5 | > **getPools**(`this`): `Promise`\<`object`[]\> 6 | 7 | ## Parameters 8 | 9 | • **this**: [`ZetaChainClient`](toolkit/Class.ZetaChainClient.md) 10 | 11 | ## Returns 12 | 13 | `Promise`\<`object`[]\> 14 | 15 | ## Defined in 16 | 17 | [getPools.ts:31](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/getPools.ts#L31) 18 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.getQuote.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / getQuote 2 | 3 | # Function: getQuote() 4 | 5 | > **getQuote**(`this`, `inputAmount`, `inputToken`, `outputToken`): `Promise`\<`object`\> 6 | 7 | Retrieves a quote for swapping input ZRC20 token to output ZRC20 token. 8 | 9 | ## Parameters 10 | 11 | • **this**: [`ZetaChainClient`](toolkit/Class.ZetaChainClient.md) 12 | 13 | • **inputAmount**: `string` 14 | 15 | The amount of input ZRC20 token. 16 | 17 | • **inputToken**: `string` 18 | 19 | • **outputToken**: `string` 20 | 21 | ## Returns 22 | 23 | `Promise`\<`object`\> 24 | 25 | - An object containing the output amount and its decimals. 26 | 27 | ### amount 28 | 29 | > **amount**: `BigNumber` 30 | 31 | ### decimals 32 | 33 | > **decimals**: `number` = `outputDecimals` 34 | 35 | ## Defined in 36 | 37 | [getQuote.ts:202](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/getQuote.ts#L202) 38 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.getRefundFee.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / getRefundFee 2 | 3 | # Function: getRefundFee() 4 | 5 | > **getRefundFee**(`this`, `inputZRC20`): `Promise`\<`object`\> 6 | 7 | Calculates the refund fee in the input ZRC20 token. 8 | 9 | ## Parameters 10 | 11 | • **this**: [`ZetaChainClient`](toolkit/Class.ZetaChainClient.md) 12 | 13 | • **inputZRC20**: `string` 14 | 15 | The input ZRC20 token address. 16 | 17 | ## Returns 18 | 19 | `Promise`\<`object`\> 20 | 21 | - An object containing the refund fee amount and its decimals. 22 | 23 | ### amount 24 | 25 | > **amount**: `BigNumber` = `withdrawFee` 26 | 27 | ### decimals 28 | 29 | > **decimals**: `number` = `inputDecimals` 30 | 31 | ## Defined in 32 | 33 | [getQuote.ts:106](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/getQuote.ts#L106) 34 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.getSupportedChains.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / getSupportedChains 2 | 3 | # Function: getSupportedChains() 4 | 5 | > **getSupportedChains**(`this`): `Promise`\<`ObserverSupportedChain`[]\> 6 | 7 | ## Parameters 8 | 9 | • **this**: [`ZetaChainClient`](toolkit/Class.ZetaChainClient.md) 10 | 11 | ## Returns 12 | 13 | `Promise`\<`ObserverSupportedChain`[]\> 14 | 15 | ## Defined in 16 | 17 | [getSupportedChains.ts:6](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/getSupportedChains.ts#L6) 18 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.getZRC20FromERC20.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / getZRC20FromERC20 2 | 3 | # Function: getZRC20FromERC20() 4 | 5 | > **getZRC20FromERC20**(`this`, `erc20`): `Promise`\<`string`\> 6 | 7 | Retrieves the ZRC20 contract address for a given ERC20 token. 8 | 9 | ## Parameters 10 | 11 | • **this**: [`ZetaChainClient`](toolkit/Class.ZetaChainClient.md) 12 | 13 | • **erc20**: `string` 14 | 15 | The ERC20 token address. 16 | 17 | ## Returns 18 | 19 | `Promise`\<`string`\> 20 | 21 | - The ZRC20 contract address. 22 | 23 | ## Throws 24 | 25 | Will throw an error if the ERC-20 token is not supported. 26 | 27 | ## Defined in 28 | 29 | [getQuote.ts:56](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/getQuote.ts#L56) 30 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.getZRC20GasToken.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / getZRC20GasToken 2 | 3 | # Function: getZRC20GasToken() 4 | 5 | > **getZRC20GasToken**(`this`, `network`): `Promise`\<`undefined` \| `string`\> 6 | 7 | Retrieves the ZRC20 contract address for the gas token of a given network. 8 | 9 | ## Parameters 10 | 11 | • **this**: [`ZetaChainClient`](toolkit/Class.ZetaChainClient.md) 12 | 13 | • **network**: `string` 14 | 15 | The network name. 16 | 17 | ## Returns 18 | 19 | `Promise`\<`undefined` \| `string`\> 20 | 21 | - The ZRC20 contract address for the gas token. 22 | 23 | ## Defined in 24 | 25 | [getQuote.ts:73](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/getQuote.ts#L73) 26 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.prepareData.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / prepareData 2 | 3 | # Function: prepareData() 4 | 5 | > **prepareData**(`contract`, `types`, `args`): `string` 6 | 7 | ## Parameters 8 | 9 | • **contract**: `string` 10 | 11 | • **types**: `string`[] 12 | 13 | • **args**: [`SupportedArgType`](toolkit/TypeAlias.SupportedArgType.md)[] 14 | 15 | ## Returns 16 | 17 | `string` 18 | 19 | ## Defined in 20 | 21 | [prepareData.ts:11](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/prepareData.ts#L11) 22 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.prepareParams.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / prepareParams 2 | 3 | # Function: prepareParams() 4 | 5 | > **prepareParams**(`types`, `args`): `string` 6 | 7 | ## Parameters 8 | 9 | • **types**: `string`[] 10 | 11 | • **args**: [`SupportedArgType`](toolkit/TypeAlias.SupportedArgType.md)[] 12 | 13 | ## Returns 14 | 15 | `string` 16 | 17 | ## Defined in 18 | 19 | [prepareData.ts:20](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/prepareData.ts#L20) 20 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.solanaDeposit.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / solanaDeposit 2 | 3 | # Function: solanaDeposit() 4 | 5 | > **solanaDeposit**(`this`, `args`): `Promise`\<`string`\> 6 | 7 | ## Parameters 8 | 9 | • **this**: [`ZetaChainClient`](toolkit/Class.ZetaChainClient.md) 10 | 11 | • **args** 12 | 13 | • **args.amount**: `number` 14 | 15 | • **args.recipient**: `string` 16 | 17 | ## Returns 18 | 19 | `Promise`\<`string`\> 20 | 21 | ## Defined in 22 | 23 | [solanaDeposit.ts:15](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/solanaDeposit.ts#L15) 24 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.solanaDepositAndCall.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / solanaDepositAndCall 2 | 3 | # Function: solanaDepositAndCall() 4 | 5 | > **solanaDepositAndCall**(`this`, `args`): `Promise`\<`string`\> 6 | 7 | ## Parameters 8 | 9 | • **this**: [`ZetaChainClient`](toolkit/Class.ZetaChainClient.md) 10 | 11 | • **args** 12 | 13 | • **args.amount**: `number` 14 | 15 | • **args.recipient**: `string` 16 | 17 | • **args.types**: `string`[] 18 | 19 | • **args.values**: `ParseAbiValuesReturnType` 20 | 21 | ## Returns 22 | 23 | `Promise`\<`string`\> 24 | 25 | ## Defined in 26 | 27 | [solanaDepositAndCall.ts:16](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/solanaDepositAndCall.ts#L16) 28 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Function.trackCCTX.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / trackCCTX 2 | 3 | # Function: trackCCTX() 4 | 5 | > **trackCCTX**(`this`, `__namedParameters`): `Promise`\<`CCTXs`\> 6 | 7 | ## Parameters 8 | 9 | • **this**: [`ZetaChainClient`](toolkit/Class.ZetaChainClient.md) 10 | 11 | • **\_\_namedParameters** 12 | 13 | • **\_\_namedParameters.emitter**: `null` \| `Emitter` = `null` 14 | 15 | • **\_\_namedParameters.hash**: `string` 16 | 17 | • **\_\_namedParameters.json**: `boolean` = `false` 18 | 19 | ## Returns 20 | 21 | `Promise`\<`CCTXs`\> 22 | 23 | ## Defined in 24 | 25 | [trackCCTX.ts:169](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/trackCCTX.ts#L169) 26 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/Interface.ZetaChainClientParamsBase.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / ZetaChainClientParamsBase 2 | 3 | # Interface: ZetaChainClientParamsBase 4 | 5 | ## Properties 6 | 7 | ### chains? 8 | 9 | > `optional` **chains**: `Chains` 10 | 11 | #### Defined in 12 | 13 | [client.ts:38](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/client.ts#L38) 14 | 15 | *** 16 | 17 | ### contracts? 18 | 19 | > `optional` **contracts**: `LocalnetAddress`[] \| `MainnetTestnetAddress`[] 20 | 21 | #### Defined in 22 | 23 | [client.ts:39](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/client.ts#L39) 24 | 25 | *** 26 | 27 | ### network? 28 | 29 | > `optional` **network**: `string` 30 | 31 | #### Defined in 32 | 33 | [client.ts:40](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/client.ts#L40) 34 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/TypeAlias.SupportedArgType.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / SupportedArgType 2 | 3 | # Type Alias: SupportedArgType 4 | 5 | > **SupportedArgType**: `string` \| `bigint` \| `boolean` \| `Uint8Array` \| `BytesLike` 6 | 7 | ## Defined in 8 | 9 | [prepareData.ts:4](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/prepareData.ts#L4) 10 | -------------------------------------------------------------------------------- /src/pages/developers/frontend/toolkit/TypeAlias.ZetaChainClientParams.md: -------------------------------------------------------------------------------- 1 | [@zetachain/toolkit](toolkit/index.md) / ZetaChainClientParams 2 | 3 | # Type Alias: ZetaChainClientParams 4 | 5 | > **ZetaChainClientParams**: [`ZetaChainClientParamsBase`](toolkit/Interface.ZetaChainClientParamsBase.md) & `object` \| `object` \| `object` \| `object` \| `object` 6 | 7 | ## Defined in 8 | 9 | [client.ts:43](https://github.com/zeta-chain/toolkit/blob/542ef856894da0ed38ef2a757d2c0d70c2bb020d/packages/client/src/client.ts#L43) 10 | -------------------------------------------------------------------------------- /src/pages/developers/index.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Build 3 | description: ZetaChain is a blockchain for universal omnichain apps that span across any blockchain, from Ethereum and Cosmos to Bitcoin and beyond. 4 | heroImgUrl: /img/pages/build.svg 5 | heroImgWidth: 688 6 | --- 7 | 8 | import { WorkWithUs } from "~/components/Home"; 9 | 10 | import { GetSupport } from "~/components/Support"; 11 | 12 | import { BugBounty, CurrentPageNavigationSections } from "~/components/shared"; 13 | 14 |
15 | , 19 | }} 20 | /> 21 | 22 | 23 |
24 | -------------------------------------------------------------------------------- /src/pages/developers/services/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "the-graph": { 3 | "title": "The Graph", 4 | "description": "Subgraphs, Decentralized indexing protocol" 5 | }, 6 | "alchemy": { 7 | "title": "Alchemy", 8 | "description": "Node API and Subgraphs" 9 | }, 10 | "goldsky": { 11 | "title": "Goldsky", 12 | "description": "Subgraph indexer" 13 | }, 14 | "pyth": { 15 | "title": "Pyth", 16 | "description": "Price and VRF Oracle" 17 | }, 18 | "particle": { 19 | "title": "Particle Network", 20 | "description": "Account Abstraction" 21 | }, 22 | "envio": { 23 | "title": "Envio", 24 | "description": "Real-time data indexer" 25 | }, 26 | "subquery": { 27 | "title": "SubQuery", 28 | "description": "Open-source, flexible, multi-chain data indexer" 29 | }, 30 | "goldrush": { 31 | "title": "GoldRush", 32 | "description": "Historical blockchain data API" 33 | }, 34 | "space-id": { 35 | "title": "Web3 Name SDK", 36 | "description": "SPACE ID Web3 Name SDK" 37 | } 38 | } -------------------------------------------------------------------------------- /src/pages/developers/standards/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "nft": { 3 | "title": "Universal NFT", 4 | "description": "The Universal NFT standard enables non-fungible tokens (ERC-721 NFT) to be minted on any chain and seamlessly transferred between connected chains." 5 | }, 6 | "token": { 7 | "title": "Universal Token", 8 | "description": "The Universal Token standard enables ERC-20 fungible tokens to be minted on any chain and seamlessly transferred between connected chains." 9 | } 10 | } -------------------------------------------------------------------------------- /src/pages/developers/tokens/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "zeta": { 3 | "title": "ZETA", 4 | "description": "ZETA is the native staking, gas and governance token of ZetaChain" 5 | }, 6 | "zrc20": { 7 | "title": "ZRC-20", 8 | "description": "Native gas and supported ERC-20 tokens from connected chains are represented as ZRC-20 on ZetaChain" 9 | }, 10 | "erc20": { 11 | "title": "ERC-20", 12 | "description": "ZetaChain's universal EVM supports standard ERC-20 tokens" 13 | } 14 | } -------------------------------------------------------------------------------- /src/pages/developers/tokens/erc20.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: ERC-20 on ZetaChain 3 | --- 4 | 5 | import { Alert } from "~/components/shared"; 6 | 7 | ZetaChain is fully compatible with the Ethereum Virtual Machine (EVM) and 8 | [ERC-20](https://ethereum.org/en/developers/docs/standards/tokens/erc-20) token 9 | contracts can be deployed to ZetaChain permissionlessly. 10 | 11 | 12 | {" "} 13 | An ERC-20 token deployed to ZetaChain **does not** have the properties of [ZRC-20](/developers/tokens/zrc20), specifically, 14 | it can't be withdrawn from ZetaChain to a connected chain.{" "} 15 | 16 | -------------------------------------------------------------------------------- /src/pages/index.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: ZetaChain Documentation 3 | description: ZetaChain is the only decentralized blockchain and smart contract platform built for omnichain interoperability. 4 | --- 5 | 6 | import { NextSeo } from "next-seo"; 7 | import { defaultTitle, defaultDescription } from "~/config/next-seo.config"; 8 | 9 | import { GetStarted, HomeHero, HomeNavigationSections } from "~/components/Home"; 10 | import { GetSupport } from "~/components/Support"; 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 |
20 | -------------------------------------------------------------------------------- /src/pages/nodes/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "index": { 3 | "title": "Run a Node", 4 | "description": "Become an important part of the ZetaChain network by running a node. It’s easy to get started on Testnet or Mainnet" 5 | }, 6 | "start-here": { 7 | "title": "Start Here", 8 | "description": "These docs will provide you with all the necessary steps to successfully set up your node" 9 | }, 10 | "validate": { 11 | "title": "Validate", 12 | "description": "Start validating transactions for the chain." 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/pages/nodes/index.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Run a Node 3 | description: Become an important part of the ZetaChain network by running a node. It’s easy to get started on Testnet or Mainnet. 4 | heroImgUrl: /img/pages/operate.svg 5 | heroImgWidth: 549 6 | --- 7 | 8 | import { CurrentPageNavigationSections } from "~/components/shared"; 9 | import { GetSupport } from "~/components/Support"; 10 | 11 |
12 | 13 | 14 |
15 | -------------------------------------------------------------------------------- /src/pages/nodes/start-here/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "requirements": { 3 | "title": "Technical Requirements", 4 | "description": "Before you start running a node, make sure you have the following technical requirements.", 5 | "readTime": "5 min", 6 | "readType": "Beginner" 7 | }, 8 | "setup": { 9 | "title": "Setting Up a Node", 10 | "description": "A guide to set up a ZetaChain Mainnet or Testnet node.", 11 | "readTime": "30 min", 12 | "readType": "Intermediate" 13 | }, 14 | "syncing": { 15 | "title": "Syncing a Node", 16 | "description": "Syncing a node using snapshots or KSYNC.", 17 | "readTime": "15 min", 18 | "readType": "Beginner" 19 | }, 20 | "validator": { 21 | "title": "Create a Core Validator", 22 | "description": "Become a core validator on the ZetaChain network.", 23 | "readTime": "1 hr", 24 | "readType": "Advanced" 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/pages/nodes/validate/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "validator": { 3 | "title": "Create a Core Validator", 4 | "description": "Become a core validator on the ZetaChain network.", 5 | "readTime": "1 hr", 6 | "readType": "Advanced" 7 | }, 8 | "validator-gcp": { 9 | "title": "Create a Core Validator on Google Compute Engine", 10 | "description": "Host a core validator on Google Compute Engine.", 11 | "readTime": "1 hr", 12 | "readType": "Advanced" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/pages/reference/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "index": { 3 | "title": "Tools", 4 | "description": "Useful articles to help you get up and running, work with the network, APIs or simply learn key terms." 5 | }, 6 | "network": { 7 | "title": "Network & APIs", 8 | "description": "The basics of working with our APIs, RPC Endpoints and the network" 9 | }, 10 | "apps": "Apps & Services", 11 | "learn": { 12 | "title": "Learn", 13 | "description": "Common terms, questions and answers for ZetaChain" 14 | } 15 | } -------------------------------------------------------------------------------- /src/pages/reference/apps/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "wallets": { 3 | "title": "Wallets", 4 | "description": "Supported EVM, Bitcoin and Cosmos wallets", 5 | "readTime": "5 min" 6 | }, 7 | "services": { 8 | "title": "Services & Providers", 9 | "description": "Oracles, subgraphs, data providers, account abstraction and more", 10 | "readTime": "5 min" 11 | }, 12 | "get-testnet-zeta": { 13 | "title": "Faucet: Get testnet ZETA", 14 | "description": "A guide to get Testnet ZETA through the Faucet", 15 | "readTime": "5 min", 16 | "readType": "Beginner" 17 | }, 18 | "explorers": { 19 | "title": "ZetaScan", 20 | "description": "Explorer information and also instructions for verifying smart contracts.", 21 | "readTime": "5 min", 22 | "readType": "Beginner" 23 | } 24 | } -------------------------------------------------------------------------------- /src/pages/reference/index.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Tools 3 | description: Useful articles to help you get up and running, work with the network, APIs or simply learn key terms. 4 | heroImgUrl: /img/pages/tools.svg 5 | heroImgWidth: 574 6 | --- 7 | 8 | import { BugBounty, CurrentPageNavigationSections } from "~/components/shared"; 9 | 10 |
11 | , 14 | }} 15 | /> 16 |
17 | -------------------------------------------------------------------------------- /src/pages/reference/learn/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "glossary": { 3 | "title": "Glossary", 4 | "description": "Common terms used with ZetaChain.", 5 | "readTime": "5 min" 6 | }, 7 | "faq": { 8 | "title": "FAQs", 9 | "description": "Frequently asked questions about building on Zetachain.", 10 | "readTime": "5 min" 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /src/pages/reference/network/address-converter.mdx: -------------------------------------------------------------------------------- 1 | import { AddressConverter } from "~/components/Docs"; 2 | 3 | To convert between bech32 and EVM addresses, you can use the following tool: 4 | 5 | 6 | 7 | Converting between bech32 and EVM addresses is an off-chain operation and can be 8 | implemented in any programming language, for example, [in 9 | TypeScript](https://github.com/zeta-chain/docs/blob/main/src/components/Docs/components/AddressConverter/AddressConverter.utils.ts). 10 | On the CLI you can also use [`zetacored debug addr`](/developers/architecture/zetacored#zetacored-debug-addr) command. 11 | -------------------------------------------------------------------------------- /src/pages/reference/network/contracts.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Contract Addresses 3 | --- 4 | 5 | import { ContractAddresses } from "~/components/Docs"; 6 | import { Alert } from "~/components/shared"; 7 | 8 | For a list of RPC endpoints, refer to the [API endpoints page](/reference/network/api). 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/pages/reference/network/details.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Network Details 3 | --- 4 | 5 | import { NetworkDetails } from "~/components/Docs"; 6 | 7 | 8 | 9 | For additional EVM RPC endpoints, see the [API/RPC 10 | endpoints](/reference/network/api) page. 11 | 12 | For additional explorers, see the [Services and 13 | Providers](/reference/apps/services/) page. 14 | -------------------------------------------------------------------------------- /src/pages/reference/network/openapi.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: ZetaChain HTTP API 3 | --- 4 | 5 | import { OpenAPIBrowser } from "~/components/Docs"; 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/pages/reference/network/proposals.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Governance Upgrade Proposals 3 | --- 4 | 5 | import { GovUpgradeProposals } from "~/components/Docs"; 6 | import { Alert } from "~/components/shared"; 7 | 8 | 9 | The upgrade binary to use for versions v12 and below may not match the version listed in the upgrade proposal plan. 10 | Please see the [release notes on GitHub](https://github.com/zeta-chain/node/releases) for more information. 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/pages/start/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "index": { 3 | "title": "Get Started" 4 | }, 5 | "zetachain": { 6 | "title": "What is ZetaChain?", 7 | "description": "Universal Blockchain with native access to any chain, making crypto as accessible, diverse, and connected as the internet." 8 | }, 9 | "build": { 10 | "title": "Why Build on ZetaChain?", 11 | "description": "Chain orchestration, cross-chain native token transfers, gasless execution environment." 12 | }, 13 | "evm": { 14 | "title": "Universal EVM", 15 | "description": "Smart contract platform with built-in interoperability." 16 | }, 17 | "app": { 18 | "title": "Universal Apps", 19 | "description": "Apps that seamlessly interact with multiple blockchains, including Ethereum, Bitcoin, Solana, and more." 20 | } 21 | } -------------------------------------------------------------------------------- /src/pages/start/index.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Get Started 3 | heroImgUrl: /img/pages/start.svg 4 | heroImgWidth: 464 5 | --- 6 | 7 | import { CurrentPageNavigationSections } from "~/components/shared"; 8 | import { GetSupport } from "~/components/Support"; 9 | 10 |
11 | 12 | 13 |
14 | -------------------------------------------------------------------------------- /src/pages/support.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Support 3 | description: Get the support you need with building, validating and using ZetaChain Products. 4 | heroImgUrl: /img/pages/support.svg 5 | heroImgWidth: 506 6 | --- 7 | 8 | import { GetSupport, ShareFeedbackOrDiscoveries } from "~/components/Support"; 9 | 10 |
11 | 12 | 13 |
14 | -------------------------------------------------------------------------------- /src/pages/users/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "index": { 3 | "title": "Use", 4 | "description": "Learn more about connecting to, using and troubleshooting ZetaChain products for your omnichain needs." 5 | }, 6 | "zetahub": { 7 | "title": "ZetaHub", 8 | "description": "Using ZetaHub" 9 | }, 10 | "pingpub": { 11 | "title": "Ping Pub Explorer", 12 | "description": "Using a block explorer for Cosmos based blockchains" 13 | }, 14 | "keplr": { 15 | "title": "Keplr Wallet", 16 | "description": "Setting up and using Keplr Wallet with ZetaChain" 17 | }, 18 | "leap": { 19 | "title": "Leap Wallet", 20 | "description": "Setting up and using Leap Wallet with ZetaChain" 21 | }, 22 | "cli": { 23 | "title": "ZetaChain's CLI", 24 | "description": "Interact with ZetaChain from a terminal using a command-line interface" 25 | } 26 | } -------------------------------------------------------------------------------- /src/pages/users/cli/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "setup": { 3 | "title": "Installing the CLI", 4 | "description": "ZetaChain's CLI is a command line tool that allows you to interact with the ZetaChain network." 5 | }, 6 | "account": "Adding an Account", 7 | "balances": "Querying Balances", 8 | "delegate": "Delegating to a Validator", 9 | "rewards": "Withdrawing Rewards", 10 | "governance": "Governance" 11 | } 12 | -------------------------------------------------------------------------------- /src/pages/users/cli/governance/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "index": "Governance", 3 | "text": "Text Proposal", 4 | "parameter": "Parameter Change Proposal", 5 | "upgrade": "Software Upgrade Proposal", 6 | "submit": "Submit a Proposal", 7 | "deposit": "Making a Deposit", 8 | "voting": "Voting on a Proposal" 9 | } -------------------------------------------------------------------------------- /src/pages/users/index.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Use 3 | description: Learn more about connecting to, using and troubleshooting ZetaChain products for your omnichain needs. 4 | heroImgUrl: /img/pages/use.svg 5 | heroImgWidth: 664 6 | --- 7 | 8 | import { CurrentPageNavigationSections } from "~/components/shared"; 9 | import { GetSupport } from "~/components/Support"; 10 | 11 |
12 | 13 | 14 |
15 | -------------------------------------------------------------------------------- /src/pages/users/keplr/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "setup": "Setup", 3 | "transfer": "Transfer Tokens" 4 | } 5 | -------------------------------------------------------------------------------- /src/pages/users/leap/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "setup": "Setup", 3 | "delegate": "Delegating to a Validator" 4 | } 5 | -------------------------------------------------------------------------------- /src/pages/users/leap/delegate.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Delegating to a Validator 3 | --- 4 | 5 | import Image from "next/image"; 6 | 7 | import { basePath } from "~/lib/app.constants"; 8 | 9 | To delegate your ZETA tokens to a validator, select the "Stake" tag in Leap: 10 | 11 | Leap extension - Staking 12 | 13 | Choose a validator to delegate to: 14 | 15 | Leap extension - Stake tZETA 16 | 17 | Enter the amount of ZETA you would like to delegate and click "Review": 18 | 19 | Leap extension - Stake Review 20 | 21 | Review the transaction details and click "Confirm" to sign and broadcast the 22 | transaction: 23 | 24 | Leap extension - Confirm Stake 25 | -------------------------------------------------------------------------------- /src/pages/users/leap/setup.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Setup 3 | --- 4 | 5 | import Image from "next/image"; 6 | 7 | import { basePath } from "~/lib/app.constants"; 8 | 9 | Leap is a popular multi-chain and cross-platform browser extension wallet. Leap 10 | features account management, token transfers, staking, governance and more. 11 | 12 | To install Leap, visit the [Leap website](https://www.leapwallet.io/) and follow 13 | the instructions. 14 | 15 | Once installed, follow the setup procedure to create a new account. You can 16 | either create a new account, import an existing one or use a hardware wallet. 17 | 18 | ![Welcome to Leap](/img/docs/leap-wallet.png) 19 | 20 | To add ZetaChain to Leap: 21 | 22 | - go to https://developers.leapwallet.io/chain-store 23 | - Type "ZetaChain" in the search box 24 | - Click "Add" 25 | 26 | ![Chain Store](/img/docs/leap-chains.png) 27 | 28 | Now open the Leap extension and you should see your ZetaChain balance: 29 | 30 | Leap extension 31 | -------------------------------------------------------------------------------- /src/pages/users/pingpub/_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "delegate": { 3 | "title": "Delegating to a Validator" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/pages/users/zetahub/create-wallet.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Add ZetaChain to your Wallet 3 | --- 4 | 5 | To start, make sure you have an EVM-compatible wallet, like MetaMask. 6 | 7 | Once you enter ZetaHub and connect your wallet, if you’re not already connected 8 | to ZetaChain, you can head to any page that requires you to switch networks, 9 | such as the Send Assets page. Once prompted to switch to ZetaChain, MetaMask 10 | will add the ZetaChain network to your wallet. 11 | 12 | ![Switch Network](/img/docs/zetahub/create-wallet-1.png) 13 | 14 | Another way to add ZetaChain directly to your wallet is to add the network 15 | through [ChainList](https://chainlist.org/?search=zetachain). 16 | 17 | The ZetaChain mainnet ChainID is 7000, and the currency is ZETA. If you click 18 | “Connect Wallet” through ChainList, you can follow your wallet’s prompts to add 19 | ZetaChain. 20 | 21 | ![Approve Network](/img/docs/zetahub/create-wallet-2.png) 22 | -------------------------------------------------------------------------------- /src/pages/users/zetahub/get-zeta.mdx: -------------------------------------------------------------------------------- 1 | --- 2 | title: Get ZETA 3 | --- 4 | 5 | In order to get more ZETA, you can head to the top navigation in ZetaHub and 6 | select “Get ZETA”. 7 | 8 | ![Get ZETA](/img/docs/zetahub/get-zeta-1.png) 9 | 10 | This will open up a modal where you can select an exchange from which you will 11 | be able to get ZETA. Once you decide on where you’d like to go, an external site 12 | will open, and you will be able to follow the CEX/DEX’s instructions on how to 13 | proceed. 14 | 15 | You will also be able to access this modal within most ZetaHub pages where 16 | having a ZETA balance is necessary to transact. If you don’t have sufficient 17 | balance, you will come across a button that prompts you to “Get ZETA.” 18 | -------------------------------------------------------------------------------- /src/styles/GlobalStyles.tsx: -------------------------------------------------------------------------------- 1 | import { Global } from "@emotion/react"; 2 | import tw, { css } from "twin.macro"; 3 | 4 | const customStyles = css({ 5 | body: { 6 | ...tw`antialiased font-primary text-black dark:text-white !bg-grey-50 dark:!bg-grey-900 min-w-[320px]`, 7 | scrollbarGutter: "stable", 8 | }, 9 | 10 | "::selection": { 11 | ...tw`text-black dark:text-white bg-[#00A5C6]/20 dark:bg-[#B0FF61]/20`, 12 | }, 13 | 14 | "::-webkit-scrollbar": { 15 | ...tw`block overflow-auto w-2 h-2 bg-none`, 16 | }, 17 | 18 | "::-webkit-scrollbar-thumb": { 19 | ...tw`bg-grey-300 dark:bg-grey-700 rounded-full`, 20 | }, 21 | 22 | "::-webkit-scrollbar-corner": { 23 | backgroundColor: "transparent", 24 | }, 25 | }); 26 | 27 | export const GlobalStyles = () => ; 28 | -------------------------------------------------------------------------------- /src/types/emotion.d.ts: -------------------------------------------------------------------------------- 1 | import "@emotion/react"; 2 | 3 | import type { CustomTheme } from "@zetachain/ui-toolkit/theme/app.theme"; 4 | 5 | declare module "@emotion/react" { 6 | export interface Theme extends CustomTheme {} 7 | } 8 | -------------------------------------------------------------------------------- /src/types/files.d.ts: -------------------------------------------------------------------------------- 1 | declare module "*.svg" { 2 | const content: any; 3 | export default content; 4 | } 5 | 6 | declare module "*.png" { 7 | const content: any; 8 | export default content; 9 | } 10 | -------------------------------------------------------------------------------- /src/types/twin.d.ts: -------------------------------------------------------------------------------- 1 | import "twin.macro"; 2 | 3 | import { css as cssImport } from "@emotion/react"; 4 | import { CSSInterpolation } from "@emotion/serialize"; 5 | import styledImport from "@emotion/styled"; 6 | 7 | declare module "twin.macro" { 8 | // The styled and css imports 9 | const styled: typeof styledImport; 10 | const css: typeof cssImport; 11 | } 12 | 13 | declare module "react" { 14 | // The css prop 15 | interface HTMLAttributes extends DOMAttributes { 16 | css?: CSSInterpolation; 17 | } 18 | // The inline svg css prop 19 | interface SVGProps extends SVGProps { 20 | css?: CSSInterpolation; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- 1 | const tailwindTheme = require("@zetachain/ui-toolkit/theme/tailwind.config"); 2 | 3 | tailwindTheme.content = ["./src/**/*.{ts,tsx,js,jsx,md,mdx}"]; 4 | tailwindTheme.plugins = [require("@tailwindcss/line-clamp")]; 5 | tailwindTheme.theme.screens = { 6 | ...tailwindTheme.theme.screens, 7 | xl: "1512px", 8 | }; 9 | 10 | module.exports = tailwindTheme; 11 | -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "include": [".eslintrc.js", "**/*/.eslintrc.js", "./eslint/**/*.js"], 3 | "comments": true 4 | } 5 | --------------------------------------------------------------------------------