Skip to content

Boost is a tool for Filecoin storage providers to manage data storage and retrievals on Filecoin.

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

filecoin-project/boost

Repository files navigation

Boost

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/

Building

git clone https://github.com/filecoin-project/boost
cd boost
make build

Initialisation and Running

  1. Compile and install (move binaries to $PATH)
make build
make install
  1. Make sure you have a local Lotus fullnode and miner running and listening to localhost:1234 and localhost: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
  1. 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`
  1. Run Boost service
`lotus auth api-info --perm=admin` \
boost run
  1. 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 key Wallets.Miner
boost dummydeal <client address> <provider address>

Web UI

  1. Install and build
cd react
npm install
npm run build
  1. Open UI
http://localhost:8080

Development mode

To run the web UI in development mode:

  1. Run the server
cd react
npm install
npm start
  1. Open UI
http://localhost:3000

License

Dual-licensed under MIT + Apache 2.0