Zabi - Interact with EVM based chains via Zig!

Hello everyone,

I wanted to share a library that I have been working on for the past couple of months and that is Zabi .

Zabi aims to add support for interacting with ethereum and EVM based chains with zig. By default it comes with almost all of the features you would expect from a ethereum library.

Here are some of the features currently supported.
RLP encoding/decoding,
ABI encoding/decoding,
Parsing “Human Readable” abi signatures.
Wallet (powered by libsecp256k1) and Contract instances
Http and Websocket (powered by websocket.zig) clients
Transaction Serialization and parsing.
EIP712 message signing/verifying
EIP4844 blobs and KZG commitments.
ABITypes translated to zig types.
Meta programming functions and other utils.

This is still a work in progress and expect things to change. If you are interested in the development consider checking out the project on github: GitHub - Raiden1411/zabi: Interact with EVM based chains via Zig!

And if you want to give it a honest try you can go to the documentation website: https://www.zabi.sh/ for more details and let me know what works, what doesn’t and what can be improved!

5 Likes