首页 » Ubuntu » Setting up Ethereum smart contract development using Parity on Ubuntu

Setting up Ethereum smart contract development using Parity on Ubuntu

原文 http://blog.csdn.net/omnispace/article/details/79196948

2018-01-30 02:01:42阅读(485)

Ethereum represents one of the most interesting technological developments in the past few years, taking the fundamental principles of a blockchain, and allowing executable “contracts” to be written. These contracts can be relatively simple but also incredibly powerful.

This post will walk you through Setting up a development environment so that you can deploy and test your own smart contracts on the Ethereum test blockchain (“Ropsten”).

Installing Parity

Parity is a fast Ethereum browser, a tool which allows you to interact with the blockchain. On my laptop at least, it is significantly faster to synchronise and use than geth, which is probably the “standard” tool for interacting with the Ethereum blockchain.

To install for your platform, follow the instructions on the Parity site. If you use Mac OSX or Ubuntu, this is as simple as running the following command:

bash <(curl https://get.parity.io -Lk)
Connecting to the Ropsten testnet

To run Parity and connect to the testnet, use the following command:

parity — chain=ropsten

You’ll see a stream of stuff fly by in the terminal as Parity connects to the testnet, and starts the process of synchronising the blockchain. This might take a while…but rest assured it’s much faster than using the Ethereum Wallet app.

While you wait, you can still get started using Parity through its lovely web interface.

Setting up Parity

Parity comes with a really nice, fully featured web interface. This allows you to view and create wallets (where you keep your Ether), interact with other apps and to create or interact with Contracts.

By default, the parity web interface should be available at http://127.0.0.1:8180

最新发布

CentOS专题

关于本站

5ibc.net旗下博客站精品博文小部分原创、大部分从互联网收集整理。尊重作者版权、传播精品博文,让更多编程爱好者知晓!

小提示

按 Ctrl+D 键,
把本文加入收藏夹