Block Chain application: Introduction to Bitshares (a) build Bitshares local full volume node (heavy wallet)

Source: Internet
Author: User



This article is synchronized from [Wing local pub]


It's written in front.


90 's missed the Internet dividend, the 10 's missed the Android dividend, 20, you still have to miss the block chain bonus Mody.


To keep up with the times and make some contribution to changing the world's technological innovations, as a programmer, you have to always believe that our fingertips have the power to change the world.


This paper is the first study note for bitshares application of block chain technology (which may be referred to as a tutorial for the successor), about Bitshares is what, the application scenario is how, how to operate will be introduced in later articles, this article first to build a local node (heavy wallet) as the beginning of the series (Readers: Hello. is the order reversed. Author: Slightly, you hit me!


To build a bitshares local full-volume node:

The entire process refers to the official documentation




The first step: Download run

Go to GitHub download release version of Bitshares core


Then, in the directory where the program is located, run the following command:


Witness_node--rpc-endpoint= "127.0.0.1:8090"


Note that here, 127.0.0.1 can only be used locally, if you want to as a full network server, please use 0.0.0.0 IP, of course, here's port 8090 can be arbitrarily changed.


Step Two: Synchronization block when the command is complete, the program automatically synchronizes the block data, and after that, you become a part of each large distributed node (there is a little excitement in the wood). )


How to determine whether the block has been pulled over, the first console will show a percentage, such as 2.8 million:32.189 million, and so on the left is the number of synchronized blocks, the right is the total.


Note that Windows pull block when easy to die, so pay more attention to progress, if the feeling card dead Ctrl + C restore him, if accidentally interrupted, rerun the program can be a breakpoint continued transmission


Of course, there is a way to determine whether the synchronization is completed, that is, open the official purse, look at the lower left corner data and your program data is consistent, you can know the current progress:



When the block is fully synchronized, open the light purse, which is the light wallet downloaded from the GitHub address, and then select the username in the upper-right corner, click Settings, and Switch nodes:




Select Add New WebSocket API, enter address as ws://127.0.0.1:8090


You can establish a connection.


At this point, you can already enjoy the millisecond wallet, the internal exchange access.


If you like my article, remember to pay attention to me ~ ~


Can join the block chain Technology Discussion Group: 615075629 for technical exchanges, we learn together, with their fingertips to change the world, even if only a little.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.