Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 982 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 982 Bytes

ABI Pack Framework

This is the system that generates ABI content for the GridPlus Lattice1 to use for adding contract metadata.

New contract metadata can be added to this repository by anyone via Pull Request (PR).

How to Add ABI Packs

To add contract data, open a PR targeting the main branch of this repository with your new contract files added.

Contract data must be in a file with a .json (or .jsonc if the file contains comments) extension in the /contracts directory. The data must conform to the following format:

{
  name: string;
  desc: string;
  version: string;
  website: string;
  addresses: [
    {
      address: string;
      network: "ethereum" | "polygon" | "binance" | "avalanche";
      tag: string;
    }
  ];
}

If your PR is approved and merged, the new data will be transformed into an ABI-compatible format that will be made available for all Lattice1 devices to consume.