Parity Ethereum Private test network based on Docker Compose

in #utopian-io7 years ago (edited)

Parity Ethereum Private test network based on Docker Compose

When i've developed smart contract i've faced a problem demonstrate my work to the customer as fast as possible. Yes, you could deploy contracts to the public testnet (for example - Ropsten). But what when you will need manually check some conditions where you will need a 1000 ether? A 10000 ether? Maybe more?

So i've put pre-configured parity node and put this into the ​docker-compose repo. Feel free to use and enjoy!

Run parity testnet

Clone the repository docker and run inside the project folder:

$ docker-compose up -d

By default this will create:

  • 1 Ethereum Bootstrapped container

Test accounts are ready for use

All accounts have 1000 Ether on balance

Password: Password12345

Accounts:

  1. 0x9e65c373a97793e8d36cb8316ecbe79940110f90
    Private key: 5182723ba98bc10632156ad481d89a7507c6170312ae901db835a19eeaf147ad

  2. 0x4fc95b48a473f59c83a4aaefaad2a588a865d013

  3. 0x4ca7393cf5575fdefd8402f16920a33870fc9ef0

  4. 0x800ce51198c95280f2627a330e730bc96f704178

  5. 0xf85d84c5ef6dfd25e9a2f23941a93a05b41ffd7d

  6. 0x010e49e47cbb34e67c072702ed6f4d8b273f751f

  7. 0x67efd57c71232438cb405ce8917e259b8d14ea7e

  8. 0x4929d7de115ff73fe19fcf8ace73a2bececc9eb0

  9. 0x07a6aea0328e908140670628d67b6133c121f1c7

  10. 0x81eaf903c952447fd27b11db1604f4da6deda0ed

You could restore account from the keystore and unlock it with a password.
Keystore placed in files/keystore/ directory.

First address (0x9e65c373a97793e8d36cb8316ecbe79940110f90) is used for contracts deployment and this account is owner of contracts by default.

Connect to private network via parity wallet with ui

  1. Run ethereum private node: docker-compose up
  2. Generate new token for ui: sh new-token.sh
  3. Wallet Web UI is available via http://docker-ip:8180 address

Unlock accounts via Parity

  1. No need to unlock an account. All accounts are unlocked by default



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Your contribution cannot be approved because it is not as informative as other contributions. See the Utopian Rules. Contributions need to be informative and descriptive in order to help readers and developers understand them.

The code is also 3 months old. Please see the rules.

You can contact us on Discord.
[utopian-moderator]

Hello and thank you for feedback. I think i will take another try and will do all according to rules :)

Congratulations @derain! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

The Steem community has lost an epic member! Farewell @woflhart!
SteemitBoard - Witness Update
Do not miss the coming Rocky Mountain Steem Meetup and get a new community badge!
Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.27
TRX 0.20
JST 0.038
BTC 96715.05
ETH 3649.48
USDT 1.00
SBD 3.88