-
Set up Sui and Walrus as described here.
-
Optional: Set up a Python virtual environment:
python -m venv .venv source .venv/bin/activate -
Install the dependencies:
pip install -r requirements.txt
-
Update the paths
PATH_TO_WALRUSandPATH_TO_WALRUS_CONFIGand other constant inutils.py.
hello_walrus_jsonapi.pyshows how to store and read blobs using the JSON API of the Walrus client.hello_walrus_webapi.pyshows how to store and read blobs using the HTTP API of the Walrus client.track_walrus_events.pyis a simple script to track all Walrus-related events on Sui.