Skip to content

Abi parser for Cairo smart contracts, based on wagmi abitype

License

Notifications You must be signed in to change notification settings

Quadratic-Labs/abi-wan-kanabi

 
 

Repository files navigation

abi-wan-kanabi

Abi TypeScript parser for Cairo smart contracts, based on wagmi/abitype.

Setup

To use abiwan, you must first generate types from your contracts' ABI json files, for example using the helper script:

./scripts/extract_abi.sh <path>/<to>/<abi>.json <path>/<to>/<other_abi>.json ./

If you think that we should be able to import types directly from the json files, we think so too! See this typescript issue and thumb it up!

Demo

https://drive.google.com/file/d/1OpIgKlk-okvwJn-dkR2Pq2FvOVwlXTUJ/view?usp=sharing

Thanks!

Big thanks and shoutout to Francesco! 👏

About

Abi parser for Cairo smart contracts, based on wagmi abitype

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.8%
  • Shell 4.2%