1. Install
cd && rm -r 0g-storage-client && git clone -b v0.6.1 <https://github.com/0glabs/0g-storage-client.git>
  1. Update
cd $HOME/0g-storage-client
git submodule update --init
  1. Build
go build
  1. Test File gen
./0g-storage-client gen --file test1.txt --size 5000
  1. Upload
./0g-storage-client upload \
--url <https://evmrpc-testnet.0g.ai> \
--key Your Privite key \
--indexer <https://indexer-storage-testnet-standard.0g.ai> \
--file test1.txt \
--finality-required
./0g-storage-client upload \
--url <https://evmrpc-testnet.0g.ai> \
--key Your Privite key \
--indexer <https://indexer-storage-testnet-turbo.0g.ai> \
--file test1.txt \
--finality-required