Step 1: set market_version in $SWAN_PATH/provider/config.toml
[main]
market_version = "1.2" # Send deal type, 1.1 or 1.2, config(market_version=1.1) is DEPRECATION, will REMOVE SOON (default: "1.1"), If set to 1.2, you need to set the [market] section
Step 2: When market_version = "1.2", the storage provider will import deals using the Market like Boost, so you must ensure the storage provider is reachable. The following steps are:
Step 3: Disable the markets subsystem in miner config:
vi $LOTUS_MINER_PATH/config.toml
[Subsystems]
EnableMarkets = false
Step 4: Config the [market] section in the $SWAN_PATH/provider/config.toml
Step 5: Initialize the Market repo to the $SWAN_PATH/provider/boost:
(2) Edit the boost configuration in the $SWAN_PATH/boost/config.toml:
[Libp2p]
ListenAddresses = ["/ip4/0.0.0.0/tcp/24001", "/ip6/::/tcp/24001"] # Binding address for the libp2p host
AnnounceAddresses = ["/ip4/209.94.92.3/tcp/24001"] # Addresses to explicitly announce to other peers. If not specified, all interface addresses are announced
Change to run the swan-provider with
Boost
Step 1: set
market_version
in$SWAN_PATH/provider/config.toml
Step 2: When
market_version = "1.2"
, the storage provider will import deals using the Market likeBoost
, so you must ensure the storage provider is reachable. The following steps are:Step 3: Disable the markets subsystem in miner config:
Step 4: Config the
[market]
section in the$SWAN_PATH/provider/config.toml
Step 5: Initialize the Market repo to the
$SWAN_PATH/provider/boost
:Step 6: Config the
[Libp2p]
section(1) Ensure that the
swan-provider
andboostd
are not running(2) Edit the boost configuration in the
$SWAN_PATH/boost/config.toml
:(3) Run
swan-provider
in the background.Step 7: Publish Storage Provider's Multiaddrs and PeerID:
Step 8: Acquired from
boostd --boost-repo=$SWAN_PATH/provider/boost net listen
Step 9: Acquired from
boostd --boost-repo=$SWAN_PATH/provider/boost net id
Step 10: Set the storage provider's ask
Step 11: Set the
[market].publish_wallet
as a control address:Step 12: Add funds to the
collateral_wallet
Market ActorHow to check if it worked
Click here
Find “Check Storage Provider Connectivity", input your Storage Provider ID, and click "Check".
Boost
worked!