Blockchain Technology (1): Introduction To Truffle Development

admin 65 0

Article abstract image:

Ethereum is the best programming platform in the field of blockchain development and is currently the most popular Ethereum development framework (). That’s why we’re launching our first blockchain technology article. Actual combat is the most important thing. This article does not explain the principles, but only sets up the environment and runs the first blockchain program (Dapp).

install $npm -g

Depending on the environment, visit the official website to download and install

System: Linux or Mac OS X. Mac OS X is recommended. Not recommended. You will run into all kinds of problems and give up.

You need to install a client to support JSON RPC API calling development environment. Recommended Use:

Installation command: $npm -g -

Create a new first project $$cd$init will generate a demo by default. The architecture project directory structure that can be learned through this demo is as follows:

All project file directories are as follows:

Compile project $

Start deployment project before deploying $

deploy$

Start service $serve

After starting the service, the project can be accessed in the browser: :8080/. The web interface is as follows:

Well, the first blockchain program has been run, and everyone can continue to practice and learn in depth. If you have any questions, please feel free to contact me.

标签: #Block #Deployment #Picture #Reason #Getting Started

  • 评论列表

留言评论