sunafu0304 / zetachain

ZetaChain monorepo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZetaChain

ZetaChain is a public, decentralized blockchain and smart contract platform built for omnichain interoperability.

What's in this repo?

  • Utilities to interact with ZetaChain's contracts from your dApp, scripts, or tests.
  • Interfaces to easily develop omnichain contracts.
  • Omnichain dApp example contracts.
  • Protocol native contracts (Zeta Token, Zeta Connector).

Learn more about ZetaChain

Usage

  1. Install Node.js LTS (previous versions may, but are not guaranteed to work).

  2. Install yarn (make sure NPM has the right permissions to add global packages):

     npm i -g yarn
    
  3. Install the dependencies:

     yarn
    
  4. From the root folder, compile the contracts:

     yarn compile
    

Packages

Cross-repo commands

Package-specific commands

They run independently, only on the packages that implement them:

yarn compile
yarn clean
yarn test

Repo commands

They run once, across the whole repo:

yarn lint
yarn lint:fix

Contributing

We welcome (and appreciate) everyone's contributions. If you wanna contribute, read CONTRIBUTING.md for next steps.

About

ZetaChain monorepo

License:MIT License


Languages

Language:TypeScript 64.8%Language:Solidity 28.2%Language:JavaScript 6.8%Language:Dockerfile 0.3%