Discussion of the public chain aelf customs official demo

Friends requirements should try a bit aelf public chain, the landlord said he did not read the relevant knowledge block chain, it will not c #, but it is really about 15 minutes to pass off the demo aelf, like this here, to get started is very simple, after the study start and on, fly ~

Clearance process

Do not want nonsense, direct the flow away, after all, it is also just run through the demo.
(Ps: run through reward, value 188elf, it is almost the equivalent of 300)
to prepare the environment (mac):
1> Visual Studio Code (vscode), you need to install c # extension
vscode not say, Baidu, installation. c # extension if

1957582-f95510590d17e14e.png
image.png

Extended search interface like c #, install it and then restart.
2> Google Chrome, git, Dotnet Core sdk, nodejs, Homebrew
Chrome download their own, the programmer must have.
git, then https://git-scm.com/download/mac
DOTNET https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install download can be installed
nodejs https://nodejs.org/ en / # download download can be installed. Tucao next, mac installation kit is really a fool's way.
Homebrew https://brew.sh/index_zh-cn a command line thing, it may be slower, patiently waiting for the next
3> Create a folder to download aelf the Demo
git clone https://github.com/AElfProject/aelf-boilerplate
4 > open demo folder vscode inside, then run in the terminal

sh Chain/scripts/install.sh 

Download protobuf command script, ps: very slow, you have to wait a while.
5> After the installation in the terminal node starts aelf

 cd chain/src/AElf.Boilerplate.Launcher/
 dotnet build
 dotnet run bin/Debug/netcoreapp2.2/AElf.Boilerplate.Launcher

After the successful launch will see the log frequently flashing, similar to this effect


1957582-67def1e2e6e3c4cb.png
image.png

Use the following command to test the contract:

 cd ../../test/HelloWorldContract.Test/
 dotnet test

If the
1957582-c4dab2a2c69381ec.jpg
1681559030561_.pic.jpg

It is running successfully aelf environment ok, then you can run a demo of the bingogame.
6> Run bingogame

 cd web/browserBingo/
 open index.html

Click play effect is as follows
1957582-5b9abadfdd425e0e.jpg
1841559030914_.pic_hd.jpg

1957582-98e4231ce503017e.jpg
1861559030936_.pic_hd.jpg

1957582-f4585b2a3ecbc36d.jpg
1871559030946_.pic_hd.jpg

The first disc lose, not happy!

Written in the last

So far demo has a clearance. aelf currently doing their dapp ecology, aelf owner of the company as well as most of the staff are my alma mater, alumni, alumni play to their ads. Block chain is an important direction for future development, the future will be used in more fields, dear students, you can try to find out. Need more people to support the development of follow aelf community, aelf community will not hesitate to give you good returns. I hope you can enjoy.
Final PS:
1.aelf's GitHub page:
https://github.com/AElfProject/AElf
2.aelf test network installation instructions:
https://github.com/AElfProject/AElf/wiki/Build-and-Configure
3 .aelf wallet Alpha version:
https://github.com/AElfProject/aelf-web-wallet
4.aelf Alpha version of the browser:
https://github.com/AElfProject/aelf-block-explorer
5.aelf developer documentation :
https://docs.aelf.io/main
6.aelf official website:
https://aelf.io/

Reproduced in: https: //www.jianshu.com/p/5393fd946204

Guess you like

Origin blog.csdn.net/weixin_34301132/article/details/91306706