#evm #blockchain #calldata #conversion #blockchain-tool

kawala

A tool to view, manipulate and craft calldata

4 releases

0.1.5 Oct 12, 2024
0.1.4 Sep 30, 2024
0.1.3 Sep 28, 2024
0.1.2 Sep 27, 2024

#440 in Magic Beans

Download history 297/week @ 2024-09-23 216/week @ 2024-09-30 191/week @ 2024-10-07 38/week @ 2024-10-14

742 downloads per month

MIT license

1.5MB
474 lines

Kawala - Just a Kwl Data Companion (High in Kawality)


What can it be used for?

Kawala should be useful to anyone interested in analysing or crafting calldata.
Ranging from support at a protocol looking for a quick summary, to an operator debugging custom streams for their bot.
See tests and examples for inspiration.


codebase description
=> lib.rs Core lib, base types, Kawala specific functionality.
=> kwl32.rs Foundational mod, handles the 32 byte word operations.
=> bai.rs Foundational mod, handles the hex / byte conversions.
=> examples Examples, focused on realistic scenarios.
=> tests Kawala test suite.
=> 👨‍💻 =>🐇=>🐨 4920646f6e2774206576656e207365652074686520636f64652e
version history
=> v0.1.5
=> v0.1.4
=> v0.1.3
=> v0.1.2
=> v0.1.1
ʕ•ﻌ•ʔ
/* install *///------------//* import *///------------------------->
/* Run in dir:            */ use kawala::{ View, Calldata, WithSig }; 
cargo add kawala           // 
// or add to Cargo.toml:   //* init *///------------------------------------------------------->
kawala = "0.1.5"             let mut view = View::new(Calldata::from_hex("ff"), WithSig::False);

..416c6c204920736565206973206172726179206f66667365742c2075696e7432353620616e6420616464726573732e image

No runtime deps