Position: Home page » Ethereum » Truffle: Ethereum development framework

Truffle: Ethereum development framework

Publish: 2021-04-27 10:14:28
1. At the top of Ethereum is DAPP. It exchanges with the smart contract layer through Web3. JS. All smart contracts run on EVM (Ethereum virtual machine) and use RPC calls. Below EVM and RPC are the four core contents of Ethereum, including: blockchain, consensus algorithm, mining and network layer. Except DAPP, all other parts are in the Ethereum client. The most popular Ethereum client is geth (go Ethereum)
2.

Ethereum is an implementation of blockchain. In Ethereum network, many nodes are connected with each other to form Ethereum network:

Ethereum node software provides two core functions: data storage and contract code execution

in each Ethereum node, complete blockchain data is stored. Ethereum not only saves the transaction data on the chain, but also saves the compiled contract code on the chain

At the same time, a virtual machine is provided to execute the contract code

Ethereum virtual machine

Ethereum blockchain not only stores data and code, but also contains a virtual machine (EVM) in each node to execute contract code - it sounds like a computer operating system

in fact, this is the core difference between Ethereum and bitcoin: the existence of virtual machine has brought blockchain into the era of 2.0 and made blockchain a friendly platform for application developers for the first time

the above content comes from the introction course of Ethereum DAPP development

3. Yes, Shengshi Huacai has done a good job. Ethereum is an open source public blockchain platform with intelligent contract function. It provides decentralized Ethernet virtual machine to process point-to-point contract through its special cryptocurrency, Ethereum. Shengshi Huacai has done a good job in this area, which is worth recommending
4. Shenzhen local words, it is recommended to consult Shengshi Huacai company, but also to the company specifically for your requirements.
5. Ethereum architecture consciousness is the 6-tier architecture of regional block chain. They are: data layer, network layer, consensus layer, incentive layer, contract layer and application layer. I personally feel that the best thing to do in Ethereum development is Shengshi Huacai, which is very professional
6. Shengshi Huacai company has done a good job in the development of Ethereum.
7. My computer - & gt; Attribute - & gt; Advanced - & gt; Environment variables - & gt; Add the following environment variables to the system variables:
java_ The home value is: the directory where JDK is installed, and mine is C: &# 92; Program Files\ Java\ jdk1.6.0_ 34
the classpath value is:;% JAVA_ HOME%\ lib\ tools.jar;% JAVA_ HOME%\ lib\ dt.jar;% JAVA_ HOME%\ bin;( Pay attention to the & quot& quot; To add)
Path: append at the beginning.;% JAVA_ HOME%\ bin;% JAVA_ HOME%\ jre\ bin;( Pay attention to the & quot& quot; To add)

after the installation, you can check whether the JDK is installed successfully. Open the CMD window and enter Java – version to view the version information of JDK.
8. Xu Mingxing, He Yi and Zhao CHANGPENG<

Xu Mingxing: founder of okcoin, technical otaku, and now CEO of the company

He Yi: former host of a tourism channel, later joined okcoin, mainly responsible for participating in some instry activities and promotion activities, and now is the vice CEO of the company<

Zhao CHANGPENG: he used to be the head of blockchain China, a world-famous online wallet. Later, he moved to okcoin, mainly responsible for the development of platform technology and projects

this is the legendary bitcoin tiantuan of okcoin

in the bitcoin mining instry, Zhang Nangeng is the founder of Avalon. It is his mining machine that has completely subverted the bitcoin mining instry and is currently deploying large-scale mines.
9. Truffle is a world-class development environment, testing framework, Ethereum resource management channel, dedicated to making Ethereum development easier, truffle has the following:
built in smart contract compilation, linking, deployment and binary file management
automatic contract testing under rapid development
scripted and extensible deployment and publishing framework
the network environment management function deployed to no matter how many public or private networks
uses the package management provided by ethpm & NPM and erc190 standard
a direct interactive console that communicates directly with the contract (after writing the contract, you can verify it on the command line)
the configurable construction process supports tight integration
external scripts can be executed in truffle environment< Truffle is the most popular development framework, whose mission is to make development easier
installation method:
$NPM install - G truffle
environment requirements
nodejs 5.0 +
windows, Linux, or Mac OS X
truffle needs Ethereum client and supports standard JSON RPC API. For development, some are more suitable, which will be introced in the following chapters (for example, testrpc provides real-time feedback ring coding and debugging)
suggestions for Windows users
if you are a Windows user, we recommend that you use PowerShell or git bash to install and use the truffle framework. These two shell environments provide more convenient features than the default
if you have to use the command line, see the discussion here on how to configure truffle.
Hot content
Inn digger Publish: 2021-05-29 20:04:36 Views: 341
Purchase of virtual currency in trust contract dispute Publish: 2021-05-29 20:04:33 Views: 942
Blockchain trust machine Publish: 2021-05-29 20:04:26 Views: 720
Brief introduction of ant mine Publish: 2021-05-29 20:04:25 Views: 848
Will digital currency open in November Publish: 2021-05-29 19:56:16 Views: 861
Global digital currency asset exchange Publish: 2021-05-29 19:54:29 Views: 603
Mining chip machine S11 Publish: 2021-05-29 19:54:26 Views: 945
Ethereum algorithm Sha3 Publish: 2021-05-29 19:52:40 Views: 643
Talking about blockchain is not reliable Publish: 2021-05-29 19:52:26 Views: 754
Mining machine node query Publish: 2021-05-29 19:36:37 Views: 750