Abi TypeScript parser for Cairo smart contracts, based on wagmi/abitype.
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!
https://drive.google.com/file/d/1OpIgKlk-okvwJn-dkR2Pq2FvOVwlXTUJ/view?usp=sharing
Big thanks and shoutout to Francesco! 👏