#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

#50 in #evm

Download history 275/week @ 2024-09-22 235/week @ 2024-09-29 94/week @ 2024-10-06 136/week @ 2024-10-13 2/week @ 2024-10-20

226 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