@pooltogether/contract-list-schema
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

contract-list-schema

npm

A package for maintaining contract deployments & ABIs.

Notes

With hardcoded addresses in a schema, when swapping out a contract address there will be a period of time when this package doesn't match live chain data.

Maintaining

When swapping or removing a contract

  • Bump package MAJOR version
  • Add contract ABIs (if necessary)
  • Update relevant contracts in contracts

When deploying a new contract

  • Bump package MINOR version
  • Add contract ABIs (if necessary)
  • Add contracts to contracts (where necessary)

When adding a new tag

  • Bump package MINOR version
  • Add tag to tags
  • Add tag to relevant Contracts in contracts

Local use

In contract-list-schema yalc publish --push

In the repo you want to use contract-list-schema yalc add contract-list-schema

/@pooltogether/contract-list-schema/

    Package Sidebar

    Install

    npm i @pooltogether/contract-list-schema

    Weekly Downloads

    14,702

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    35.4 kB

    Total Files

    19

    Last publish

    Collaborators

    • asselstine