Setting up Ethereum smart contract development using Parity on Ubuntu

2018-01-30 10:44:56来源:网络收集作者:咖啡不加糖人点击

分享
第七城市th7cn

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



第七城市th7cn

微信扫一扫

第七城市微信公众平台