Home

Awesome

<div align="center"> <img height="120px" src="./logo.png" /> <h1 style="margin-top: 0px">Zeta ABI 🧬</h1> <p> <a href="https://discord.gg/dD7YREfBkR" ><img alt="Discord Chat" src="https://img.shields.io/discord/841556000632078378?color=blueviolet" /></a> <a href="https://opensource.org/licenses/Apache-2.0" ><img alt="License" src="https://img.shields.io/github/license/project-serum/anchor?color=blueviolet" /></a> </p> </div>

Zeta ABI

ABI is Zeta's cross-program integration ecosystem.

This repository contains the Zeta Cross Program Invocation (CPI) interface as well as a usage example abi-wrapper.

# Add to dependencies
zeta-abi = "1.0.0"

Cross Program Invocations

Dependencies

Instructions

The instructions currently supported are as follows:

Accounts

The accounts and relevant data that is currently supported (non-exhaustive):

Programs

abi-wrapper

Basic usage example outlined in a dummy wrapper program, which simply calls the main zeta program instructions. Also includes account layouts and outlines how to read all relevant on-chain data from the Zeta program. This should give all the boilerplate needed to execute core program functionality both as the smart contract and off-chain client.