Boost is an initial experiment/prototype of markets v2 module for Filecoin. It aims to replace the lotus-miner
markets service. For more information, see: https://docs.filecoin.io/mine/lotus/split-markets-miners/
git clone https://github.com/filecoin-project/boost
cd boost
make build
- Compile and install (move binaries to $PATH)
make build
make install
- 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
`lotus auth api-info --perm=admin` \
boost --vv init \
--api-sector-index=`lotus-miner auth api-info --perm=admin` \
--wallet-publish-storage-deals=`lotus wallet new bls` \
--wallet-collateral-pledge=`lotus wallet new bls`
- Run Boost service
`lotus auth api-info --perm=admin` \
boost 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
boost dummydeal <client address> <provider address>
- Install and build
cd react
npm install
npm run build
- Open UI
http://localhost:8080
To run the web UI in development mode:
- Run the server
cd react
npm install
npm start
- Open UI
http://localhost:3000
Dual-licensed under MIT + Apache 2.0