Select an Ethereum client

Source: Internet
Author: User
Tags mediawiki
Select an Ethereum client Development Time Selection Ganache

Ganache is a personal blockchain for the Ethereum developer running on the personal desktop. Ganache is part of the truffle suite, simplifying dapp development by putting contracts and transactions ahead. By using ganache, you can quickly see how your application affects the blockchain. Details: such as your account, balance, contract and gas costs. You can also adjust ganache's mining control to better suit your application. Ganache is available in Windows, Mac, and Linux. Download Address: http://truffleframework.com/ganache/

When ganache is started, it can be viewed by visiting http://127.0.0.1:7545. It will display the top 10 accounts and use mnemonic words to create these accounts. For more information on mnemonic words, please read: Https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki

By default, ganache uses the following mnemonic words:

Candy Maple cake sugar pudding cream honey rich smooth crumble sweet treat

Mnemonic words can be modified at the time of generation, or you can use your own input.

Warning: Do not use this mnemonic word in the Ethereum main chain. If you send ETH to any account using this mnemonic, you will lose all of them. Truffle DEVELOP

Truffle develop is placed inside the truffle. Trufflle Develop helps you use simple commands to create a complete blockchain environment without the installation requirements. Start Truffle Develop by entering the following command to the terminal.

Truffle develop

Windows Example:
Enter the contract directory in the Truffle project and start with the terminal input truffle develop. As shown in figure:

This will run this client under the http://127.0.0.1:9545 domain name. It will display the top 10 accounts and use mnemonic words to create these accounts. For more information on mnemonic words, please read: Https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki. Truffle Develop uses the same mnemonic every time to make your app develop as simple and easy as possible:

Candy Maple cake sugar pudding cream honey rich smooth crumble sweet treat

Warning: Do not use this mnemonic word in the Ethereum main chain. If you send ETH to any account using this mnemonic, you will lose all of them.

Once started, truffle Develop will provide you with a console that can run all of the available truffle commands. These commands are used by omitting the truffle prefix. For example, a command that compiles a smart contract can use compile instead of truffle compile. Ganache CLI

Ganache also provides a command-line tool for those who do not work in a graphical interface. Ideal for automated testing and continuous integration environments, the ganache CLI can be configured to meet all your development needs, and the ganache CLI quickly handles transactions rather than waiting for the default chunk time, so your code test can be very fast. When your smart contract encounters an error, it can also tell you, and, compared to other clients, using Truffle's direct integration can reduce test time by more than 90%. Learn more about Ganache cli:https://github.com/trufflesuite/ganache-cli/ real-time network deployment

Here are some official and unofficial available Ethereum clients that can be used: Geth (go-ethereum): Https://github.com/ethereum/go-ethereum webthree (cpp-ethereum): Https://github.com/ethereum/cpp-ethereum parity:https://github.com/paritytech/parity MORE: https://www.ethereum.org/cli

All of these are completed client implementations, including mining, networking, and trading processes. You should use these clients after using ganache or truffle develop to fully test your dapp, and you are ready to deploy to the Ethereum network you want. Private Network Deployment

Private networks have the same technology as real-time networks, but they are different configurations. Therefore, you can configure any one of the above-mentioned Ethereum clients to run and deploy a private network in the same way.

Reference Link: http://truffleframework.com/docs/getting_started/client

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.