Here are an assortment of Walrus, or Walrus-dev related URLs to explore. Some are
- Public-facing docs are available at https://docs.wal.app/ and are built from here.
- Find Sui releases https://github.com/MystenLabs/sui/releases/
- Learn about
tracingin Rust: https://www.shuttle.dev/blog/2024/01/09/getting-started-tracing-rust - Visualize Walrus globally: https://walrus.chainviz.io/
- Learn about
suiup, the mainstream way of installingwalrusandsuiCLI apps: https://github.com/mystenLabs/suiup
I use ~/src as the place I store all the repositories I've cloned.
mkdir -p "$HOME"/src
cd "$HOME"/src
git clone git@github.com:MystenLabs/walrus.gitInstall the script (install-sui) into your PATH (See this page to find the script.) I recommend using ~/.local/bin, and making sure that that's in your PATH.
Run install-sui.
In a terminal window (or tmux pane):
RUST_LOG="on,error" sui start --with-faucet --force-regenesisIn another:
cd "$HOME"/src/walrus
./scripts/local-testbed.sh -Afn localnetIf all goes well, you'll see logs scrolling by in the second pane (walrus storage node logs).
In another pane, attempt to store some data.
cd "$HOME"/src/walrus
cargo build --release
./target/release/walrus --config working_dir/client_config.yaml store "$some_text_filename" --epochs 20If all goes well, you'll see a blob ID in the output.
./target/release/walrus --config working_dir/client_config.yaml read <blob_id>
Hopefully you see the contents of $some_text_filename now.