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
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
Use the following command to test the contract:
cd ../../test/HelloWorldContract.Test/
dotnet test
If the
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
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