
Parity Ethereum Private test network based on Docker Compose
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:
0x9e65c373a97793e8d36cb8316ecbe79940110f90
Private key:5182723ba98bc10632156ad481d89a7507c6170312ae901db835a19eeaf147ad0x4fc95b48a473f59c83a4aaefaad2a588a865d0130x4ca7393cf5575fdefd8402f16920a33870fc9ef00x800ce51198c95280f2627a330e730bc96f7041780xf85d84c5ef6dfd25e9a2f23941a93a05b41ffd7d0x010e49e47cbb34e67c072702ed6f4d8b273f751f0x67efd57c71232438cb405ce8917e259b8d14ea7e0x4929d7de115ff73fe19fcf8ace73a2bececc9eb00x07a6aea0328e908140670628d67b6133c121f1c70x81eaf903c952447fd27b11db1604f4da6deda0ed
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
- Run ethereum private node:
docker-compose up - Generate new token for ui:
sh new-token.sh - Wallet Web UI is available via
http://docker-ip:8180address
Unlock accounts via Parity
- No need to unlock an account. All accounts are unlocked by default
Posted on Utopian.io - Rewarding Open Source Contributors
Leave Parity Ethereum Private test network based on Docker Compose to:
Read more #utopian-io posts
Best Posts From Kirill Beresnev
We have not curated any of derain's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.