2024-06-08 01:00:23
Update Commands

Update Commands with Your Variables

Update Commands

Build Storage CLI with source code

git clone https://github.com/0glabs/0g-storage-client.git
cd 0g-storage-client
go build

Generate Test file for uploading via Storage CLI

cd $HOME/0g-storage-client \
./0g-storage-client gen \
--file Nodebrand_with_0G.txt \
--size 50000000

Upload test file with storage CLI

./0g-storage-client upload \
--url http://your_validator_ip:8545 \
--contract 0xB7e39604f47c0e4a6Ad092a281c1A8429c2440d3 \
--key PRIVATE_KEY \
--node http://your_storage_ip:5678 \
--file Nodebrand_with_0G.txt

'0g_Labs' 카테고리의 다른 글

0G-Useful-Command  (0) 2024.07.05
0G Labs Storage Node Guide(v.0.4.4)  (0) 2024.07.03
0G Config & Guide list  (0) 2024.07.03
0G Validator Node Guide-with Cosmovisor  (0) 2024.06.28