-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Hiro <[email protected]>
- Loading branch information
Hiro
committed
Sep 19, 2023
1 parent
f9a7eb1
commit 7c535ca
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,4 +69,6 @@ You can modify this file as per your specific requirements. | |
|
||
*.html | ||
|
||
node_modules/ | ||
node_modules/ | ||
|
||
*.bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |