All Projects → sc0Vu → ethdock

sc0Vu / ethdock

Licence: GPL-3.0 License
Ethereum development package in docker.

Programming Languages

Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to ethdock

dao1901
French 1901's Law for non-profit organizations, now on Ethereum
Stars: ✭ 29 (+16%)
Mutual labels:  truffle, testrpc, geth
Ethermint Archive
Ethereum on Tendermint using Cosmos-SDK!
Stars: ✭ 667 (+2568%)
Mutual labels:  truffle, geth
docker-eth-dev
Hacking together a containerized environment for Ethereum development with Truffle using Parity
Stars: ✭ 22 (-12%)
Mutual labels:  truffle, testrpc
nifty-game
🃏🎮A NFT(ERC721) card game build on Ethereum, Truffle, Ganache and hosting on IPFS.
Stars: ✭ 222 (+788%)
Mutual labels:  truffle, ganache
filecoin-box
Filecoin flavored Ganache Truffle box
Stars: ✭ 23 (-8%)
Mutual labels:  truffle, ganache
InstaContract
Smart contracts comprising the business logic of the InstaDApp
Stars: ✭ 40 (+60%)
Mutual labels:  truffle, ganache
svelte-box
A truffle box for svelte
Stars: ✭ 60 (+140%)
Mutual labels:  truffle, testrpc
solidity-contracts
📦 Resources for the Ethereum Smart Contract Development tutorial series.
Stars: ✭ 64 (+156%)
Mutual labels:  truffle, testrpc
web3j-example
Android web3j example
Stars: ✭ 27 (+8%)
Mutual labels:  truffle, geth
UNIPI-Smart-Degrees
Diploma 📜 Validation Platform 🎓 Ethereum 🔷 and VueJS 💚 DApp.
Stars: ✭ 17 (-32%)
Mutual labels:  truffle, ganache
BlockVote
BlockVote is a blockchain based election system which lets voters elect candidate in an election.
Stars: ✭ 50 (+100%)
Mutual labels:  truffle, ganache
solidity-node-docker-starter
Starter project for developing Ethereum smart contracts with Solidity, Truffle and Node.js as a backend server.
Stars: ✭ 57 (+128%)
Mutual labels:  truffle
duci
The simple ci server
Stars: ✭ 73 (+192%)
Mutual labels:  moby
escrow-eth
Escrow contract
Stars: ✭ 41 (+64%)
Mutual labels:  truffle
truffle-react
⚛️ A boilerplate Truffle Box project with Create React App for rapid Ethereum Dapp development
Stars: ✭ 45 (+80%)
Mutual labels:  truffle
manspreading
Manspreading is a proxy server that helps you greedily occupy a peer seat in a remote geth node
Stars: ✭ 34 (+36%)
Mutual labels:  geth
dockerfile-utils
A library and command line interface for formatting and linting Dockerfiles.
Stars: ✭ 17 (-32%)
Mutual labels:  moby
mortgage-blockchain-demo
A demo DApp on Ethereum to process mortgage loans and payments
Stars: ✭ 42 (+68%)
Mutual labels:  truffle
Nethereum.BlockchainStorage
Library for processing the storage of the Ethereum blockchain in Azure Table Storage
Stars: ✭ 35 (+40%)
Mutual labels:  geth
LogoVote2017
Collection of smart contract samples
Stars: ✭ 24 (-4%)
Mutual labels:  truffle

ethdock

forthebadge

Ethereum smart contract development package in moby(docker).

Usage

geth

Default coinbase address: 0x7ee077f7afbc121e7b63d9baff6c8a52c3a9c2f3 Default coinbase private key: 0x88e524dee8bfb0dfb52ed4668ab88db605fe30b476e497d0fa1205e717fb9cb6

Do not use this private key on mainnet.

docker-compose up -d workspace geth

Place the contract in app directory and enter container

docker-compose exec workspace bash

Change truffle.js development

development: {
  from: 'your-address-on-geth-blockchain',
  host: 'geth',
  port: 8545,
  network_id: '*'
}

Or use provider

development: {
  from: 'your-address-on-geth-blockchain',
  provider: web3.currentProvider
  network_id: '*'
}

Unlock account

web3.personal.unlockAccount('your-address-on-geth-blockchain', 'your-address-password-on-geth-blockchain')

Run test

truffle test

ganache

docker-compose up -d workspace ganache

Place the contract in app directory and enter container

docker-compose exec workspace bash

Change truffle.js host

host: 'ganache'

Run test

truffle test

Test account for geth

We've created an test account for geth.

There is a UTC--2017-10-25T06-00-32.515667900Z--7c33ce8d9edd822f4ebba8823f4b73c2804baa00 file in /geth.

If you cannot create account, you can simply move the file to /data/keystore, and you'll see an account 7c33ce8d9edd822f4ebba8823f4b73c2804baa00 with password 123456 on the chain.

Please remember that never use this account in production environment!

If you want to use your account, remamber to edit the /geth/genesis.json befor you start the geth service.

Have Fun!

FAQ

  • When I try to build geth container, I got this error: no space left on device It might be the disk space is not enough to build container.

    Please try to clean the docker images or docker volumes that not in use.

    You can run this command to find volumes.

    $ docker volume ls
    

    You can run this command to find images.

    $ docker images
    

    Remove volume.

    $ docker volume rm ...
    

    Remove all images with name none.

    $ docker rmi -f $(docker images | grep '^<none>' | awk '{print $3}')
    

License

GPL3.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].