Boost is a tool for Filecoin storage providers to manage data storage and retrievals on Filecoin.
See the docs at https://boost.filecoin.io to get started.
-
Install using instructions in the building and installation section in the docs.
-
Make sure you have a local Lotus fullnode and miner running and listening to
localhost:1234
andlocalhost:2345
respectively, for example with a devnet:
devnet
Note that currently devnet
is using the default paths that lotus
and lotus-miner
use for their repositories, and you should make sure these directories are empty:
LOTUS_PATH=~/.lotus
LOTUS_MINER_PATH=~/.lotusminer
rm -rf ~/.lotus ~/.lotusminer
- Create Boost repository
export $(lotus auth api-info --perm=admin)
export $(lotus-miner auth api-info --perm=admin)
boostd --vv init \
--api-sealer=`lotus-miner auth api-info --perm=admin` \
--api-sector-index=`lotus-miner auth api-info --perm=admin` \
--wallet-publish-storage-deals=`lotus wallet new bls` \
--wallet-deal-collateral=`lotus wallet new bls` \
--max-staging-deals-bytes=50000000000
- Run the Boost daemon service
export $(lotus auth api-info --perm=admin)
boostd --vv run
- Interact with Boost
Pass the client address (wallet) and the provider address to the dummydeal
command.
Note that
- the client address is the address of a wallet with funds in
lotus wallet list
- you can find the provider address in
~/.boost/config.toml
under the config keyWallets.Miner
boostd dummydeal <client address> <provider address>
- Run the server
cd react
npm install
npm start
- Open UI
http://localhost:3000
Follow the instructions in the devnet guide
Dual-licensed under MIT + Apache 2.0