Skip to content

Commit

Permalink
doc: lotus
Browse files Browse the repository at this point in the history
Signed-off-by: Hiro <[email protected]>
  • Loading branch information
Hiro committed Sep 19, 2023
1 parent f9a7eb1 commit 7c535ca
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,6 @@ You can modify this file as per your specific requirements.

*.html

node_modules/
node_modules/

*.bin
16 changes: 16 additions & 0 deletions lotus-cli/upload.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#! /bin/sh

# lotus wallet new bls
# code ~/.lotus/config.toml

# https://lotus.filecoin.io/lotus/configure/defaults/

# 1. Prepare your data. For example, you can create a dummy file with random data.
dd if=/dev/urandom of=5gb-filecoin-payload.bin bs=1M count=52
# dd if=/dev/urandom of=5gb-filecoin-payload.bin bs=1M count=5200

# 2. Import the payload into the Lotus daemon.
lotus client import 5gb-filecoin-payload.bin

# 3. Create a storage deal with a Filecoin storage provider. You can find suitable providers using the Filecoin Plus Registry.
lotus client deal

0 comments on commit 7c535ca

Please sign in to comment.