Interact with Walrus

2024年10月22日 21:57:47

Walrus is a decentralized storage and data availability protocol on Sui. This page will introduce how to use the Walrus staking dapp.

walrus

1. Init Sui Client

sui keytool import --alias <WALLET_NICKNAME> <PRIVATE KEY> ed25519
sui keytool list

sui client switch --address <PUBLIC_ADDRESS>
sui client active-address

sui client faucet
sui client gas

sui client new-env --alias testnet --rpc https://fullnode.testnet.sui.io:443

2. Using Walrus CLI

SYSTEM= # set this to your system: ubuntu-x86_64, ubuntu-x86_64-generic, macos-x86_64, macos-arm64, windows-x86_64.exe
curl https://storage.googleapis.com/mysten-walrus-binaries/walrus-testnet-latest-$SYSTEM -o walrus
chmod +x walrus

mv walrus /usr/local/bin/

vim ~/.config/walrus/client_config.yaml

walrus get-wal # exchange testnet SUI to WAL 

3. Staking

Go to https://stake.walrus.site/ and select committee to stake at least 1 WAL

Reference

  1. https://www.walrus.xyz/
  2. https://docs.walrus.site/