$ ./spd -d $HOME/ScPrime/MetaData -M gctwh
./spd. For this instance, it was ‘./spd -d $HOME/ScPrime/MetaData -M gctwh’.
./spdis the program. -d points the program to the directory where the metadata is stored including consensus, wallets and file contracts. -M refers to which modules will be loaded at startup. This is where the CLI shines by letting you cut some fat in not loading modules you won’t be using
./spcto see the status. You will want to make sure your host is synced at a block height above 109,000. You will also notice that your wallet is still locked.
./spc wallet unlockand then enter your wallet password (which is most likely your passphrase seed unless you changed it to a password). You can copy/paste your 28 or 29 word seed in from a text file or you can manually type it. In either case it will not show up on the screen for privacy reasons. Once you have entered it fully, hit enter and you should return to the command prompt if entered correctly.
./spccommand again, you will see the wallet is now unlocked.
$ mkdir $HOME/SCP– create a storage folder
./spchost folder add (your drive and folder) (amount of storage offered).
./spc host config maxduration [value]
./spc host config collateral [value]
./spc host config minstorageprice [value]
./spc host config mindownloadbandwidthprice [value]
./spc host config minuploadbandwidthprice [value]
./spc host config collateralbudget [value]
./spc host config maxcollateral [value]
./spc host announceand that’s it, you are now a Storage Provider! Sometimes this command will not effectively announce you Storage Provider, in that case type in
./spc host announce <ip-address/ddns>:<port (default port is 4282)>
./spc host -vor explore https://scpri.me/network
./spdand announce your Storage Provider with different ports. Currently 5 ports are in use, of which 3 need to be portforwarded (4282, 4283, 4285). We generally advise people to skip at least 10 ports for your next host but some community members simply add a number in front of default ports, in any case they need to be unused. For example:
./spd --host-addr :14282 --siamux-addr :14283 --host-api-addr :14285 -d $HOME/ScPrime/MetaData -M gctwh
./spc host announce <ip-address/ddns>:14282