planet-nine-app / sessionless

A repo for the sessionless protocol
https://sessionless.org
MIT License
38 stars 10 forks source link

Rust cli #43

Closed zach-planet-nine closed 3 months ago

zach-planet-nine commented 4 months ago

This is a naive port of the node cli to Rust for testing server examples locally (it even found a bug with one of the servers while I was testing it out!).

Of course I don't know Rust, so I have no idea if this is good or not, but it compiles (👍 ) and does what I need it to (👍 👍 ) so it's a start.

Pull this, and build with cargo build then run it with ./target/debug/slapper -h that'll print usage.

I only ported the single color_test thus far. Figured I'd get feedback on my spaghetti before adding anymore to it.