Swarm windows installation deployment and withdrawal tutorial

 

(After reading the document once, if you don’t understand, you can read it a second time)

Project file: https://docs.ethswarm.org/docs/installation/quick-start/

Preliminary preparation (both desktop and laptop computers are available, and the hard disk is large enough)

  1. First download the windows installation package https://github.com/ethersphere/bee/releases

Download the corresponding version (32-bit download ends with 386, 64-bit download ends with amd64)

  1. The download address of the windows version of bee-clef https://github.com/ethersphere/bee-clef/releases

 

  1. Put the downloaded exe in a new folder, without Chinese (the disk directory should be very large)

  1. Generate the default configuration file

bee printconfig > bee - default . yaml (This command must be entered all, note that there are spaces before and after >)

 

Note: Don’t worry about the internal or external commands prompted in cmd. The purpose of this step is to create a yaml file. After the execution is complete, go to your folder to see if there is a yaml file, and then open the file with notepad++ software, and set the following configuration Copy it in.

5. Configure the yaml file (install a notepad++, copy it in, modify your own directory, and save the file)

# Close clef

clef-signer-enable: false

# Store private key and other information

data-dir: F:/.bee (modify your own disk directory in this place)

swap-enable: true

swap-endpoint: https://rpc.goerli.mudit.blog

# Log level

verbosity: trace

welcome-message: "paul BZZ"

debug-api-enable: true

 

 

6. Start bee.exe

Execute cmd command in your folder directory

Bee-windows-amd64.exe start --config bee-default.yaml

Enter your own password (must remember, it will be used when exporting the private key to Little Fox later)

7. Record your own address and then go to collect the test coin (the address shown in the figure below is your private key address)

Faucet address https://faucet.ethswarm.org/

Enter your own private key address above, and submit it successfully

8. When your cmd window is out of the line and continuously gets these information, it proves that the program has been successfully run, just minimize and put the taskbar. (Don’t shut down, don’t disconnect the internet, keep it on)

 

9. When your computer restarts for some reason, or shuts down and restarts, you need to re-run this software

Execute cmd command in your folder directory

Bee-windows-amd64.exe start --config bee-default.yaml

Enter your own password to run normally.

10. Withdrawal and cash out of checks (cashout)

  After running the http://localhost:1635/chequebook/cheque project for a day, you can enter this address in your browser to view the number of your own checks.

Direct ctrl+F search function, enter lastreceived to indicate how many checks are there, which represents how many successful checks, and other nulls represent failures, invalids, and cannot be redeemed

Check cash withdrawal tool (in the current research, I have studied the specific steps and refused to cut the leeks)

(The cash-out action does not have to be done every day, to prevent server crashes, it is recommended to execute once two or three days, directly software execution, and then wait for the airdrop)

11. The operation of transferring the bee private key to the metamask wallet. (The following is the operation of win, Linux has to be simple to read the document by yourself) Metamask must be installed and you need to be able to overcome the wall, how to install it on Baidu.

Download main.exe tool

②Execute the private key export command, see the graphic operation below

This is your bee private key storage directory, corresponding to the path in the yaml file above. bee this folder

Main . I also put Exe directly under the bee directory to facilitate subsequent operations

Main.exe Space key Your private key path Space key The password you entered when starting bee Space key> 1.txt

Pay special attention that the above command is to generate a text file to facilitate the import of metamask without errors. You can also change 1.txt to 2.txt 3.txt. There is no special meaning here.

Open the file generated above, you can get your private key address, and import it into metamask.

 

There will be three private key addresses here, that is, the address after privatekey is the private key address,

It is recommended to import all three addresses, in no order, one for swarm, one for pss, one for libp2p

Modify the corresponding name to make it easier to remember.

 

For other common questions, please refer to the Q&A below (continuous update)

https://shimo.im/docs/ry9XJcYv6tXrhxDq/ "FAQs in Swarm Project", you can copy the link and open it with Graphite Document App or Mini Program

If you have any questions, you can add WeChat friends and WeChat groups to communicate, thank you.

 

Guess you like

Origin blog.csdn.net/somnuszhigang/article/details/114887274