{"id":17175882,"url":"https://github.com/sc0vu/ethdock","last_synced_at":"2025-04-13T16:31:27.038Z","repository":{"id":41883632,"uuid":"97721182","full_name":"sc0Vu/ethdock","owner":"sc0Vu","description":"Ethereum development package in docker.","archived":false,"fork":false,"pushed_at":"2022-03-06T20:34:35.000Z","size":28,"stargazers_count":34,"open_issues_count":1,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T07:47:53.365Z","etag":null,"topics":["docker","ethereum-development","ganache","ganache-cli","geth","moby","testrpc","truffle"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sc0Vu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-19T13:45:30.000Z","updated_at":"2024-08-17T00:00:54.000Z","dependencies_parsed_at":"2022-08-20T16:31:27.160Z","dependency_job_id":null,"html_url":"https://github.com/sc0Vu/ethdock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sc0Vu%2Fethdock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sc0Vu%2Fethdock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sc0Vu%2Fethdock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sc0Vu%2Fethdock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sc0Vu","download_url":"https://codeload.github.com/sc0Vu/ethdock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248743802,"owners_count":21154742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","ethereum-development","ganache","ganache-cli","geth","moby","testrpc","truffle"],"created_at":"2024-10-14T23:58:02.624Z","updated_at":"2025-04-13T16:31:26.674Z","avatar_url":"https://github.com/sc0Vu.png","language":"Dockerfile","readme":"# ethdock\n\n[![forthebadge](http://forthebadge.com/images/badges/built-with-love.svg)](http://forthebadge.com)\n\nEthereum smart contract development package in moby(docker).\n\n# Usage\n\n### geth\n\nDefault coinbase address: `0x7ee077f7afbc121e7b63d9baff6c8a52c3a9c2f3`\nDefault coinbase private key: `0x88e524dee8bfb0dfb52ed4668ab88db605fe30b476e497d0fa1205e717fb9cb6`\n\n\u003e Do not use this private key on mainnet.\n\n```\ndocker-compose up -d workspace geth\n```\n\nPlace the contract in app directory and enter container\n\n```\ndocker-compose exec workspace bash\n```\n\nChange truffle.js development\n\n```\ndevelopment: {\n  from: 'your-address-on-geth-blockchain',\n  host: 'geth',\n  port: 8545,\n  network_id: '*'\n}\n```\n\nOr use provider\n\n\n```\ndevelopment: {\n  from: 'your-address-on-geth-blockchain',\n  provider: web3.currentProvider\n  network_id: '*'\n}\n```\n\nUnlock account\n\n```\nweb3.personal.unlockAccount('your-address-on-geth-blockchain', 'your-address-password-on-geth-blockchain')\n```\n\nRun test\n\n```\ntruffle test\n```\n\n### ganache\n```\ndocker-compose up -d workspace ganache\n```\n\nPlace the contract in app directory and enter container\n\n```\ndocker-compose exec workspace bash\n```\n\nChange truffle.js host\n\n```\nhost: 'ganache'\n```\n\nRun test\n\n```\ntruffle test\n```\n\n### Test account for geth\n\nWe've created an test account for geth.\n\nThere is a `UTC--2017-10-25T06-00-32.515667900Z--7c33ce8d9edd822f4ebba8823f4b73c2804baa00` file in `/geth`.\n\nIf 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.\n\n\u003e Please remember that never use this account in production environment!\n\nIf you want to use your account, remamber to edit the `/geth/genesis.json` befor you start the geth service.\n\nHave Fun!\n\n# FAQ\n\n* When I try to build geth container, I got this error: no space left on device\n  It might be the disk space is not enough to build container.\n  \n  Please try to clean the docker images or docker volumes that not in use.\n  \n  You can run this command to find volumes.\n  ```\n  $ docker volume ls\n  ```\n  You can run this command to find images.\n  ```\n  $ docker images\n  ```\n  Remove volume.\n  ```\n  $ docker volume rm ...\n  ```\n  Remove all images with name none.\n  ```\n  $ docker rmi -f $(docker images | grep '^\u003cnone\u003e' | awk '{print $3}')\n  ```\n\n# License\n\nGPL3.0\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsc0vu%2Fethdock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsc0vu%2Fethdock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsc0vu%2Fethdock/lists"}