Skip to content

InverterNetwork/abis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
mguleryuz
Dec 15, 2023
bd6cb7c · Dec 15, 2023

History

12 Commits
Dec 12, 2023
Dec 12, 2023
Dec 13, 2023
Dec 15, 2023
Dec 12, 2023
Dec 15, 2023
Dec 12, 2023
Dec 12, 2023
Dec 12, 2023
Dec 12, 2023
Dec 12, 2023
Dec 15, 2023
Dec 12, 2023
Dec 13, 2023
Dec 13, 2023
Dec 12, 2023
Dec 13, 2023
Dec 13, 2023
Dec 13, 2023
Dec 15, 2023
Dec 15, 2023
Dec 12, 2023
Dec 12, 2023

Repository files navigation

license npm latest package npm downloads Follow on Twitter

Inverter / ABIs

Bun + Npm + ABI Bundler = Type Safe ABIs

Summary

This package contains ABI Bundling scipts and the typescript ABIs themselves for INVERTER. Learn more about INVERTER on (https://inverter.network).

Check out the Changelog to see what changed in the last releases.

Install dependencies

Install Bun ( bun is used for testing for primitives no bun is needed ):

# Supported on macOS, Linux, and WSL

curl -fsSL https://bun.sh/install | bash

# Upgrade Bun every once in a while

bun upgrage

Install dependencies:

bun add @inverter-network/abis

or

npm install @inverter-network/abis

Adding a new ABI

Adding a new ABI:

  1. Add the .sol dir or json itseld to the ./in folder
# Dev dev is watch mode build

bun run dev

or

bun run bundle

How to make a release

For the Maintainer: Add NPM_TOKEN to the GitHub Secrets.

  1. PR with changes
  2. Merge PR into main
  3. Checkout main
  4. git pull
  5. npm run release
  6. Make sure everything looks good (e.g. in CHANGELOG.md)
  7. npm run postRelease
  8. Done

Summary

This package contains ABI Bundling scipts and the typescript ABIs themselves for INVERTER projects.