{"id":13629618,"url":"https://github.com/bitshares/bitshares-core","last_synced_at":"2025-06-21T12:33:57.798Z","repository":{"id":1764476,"uuid":"44123252","full_name":"bitshares/bitshares-core","owner":"bitshares","description":"BitShares Blockchain node and command-line wallet","archived":false,"fork":false,"pushed_at":"2025-02-19T15:27:44.000Z","size":29359,"stargazers_count":1178,"open_issues_count":261,"forks_count":650,"subscribers_count":157,"default_branch":"master","last_synced_at":"2025-04-17T23:07:28.685Z","etag":null,"topics":["bitshares","blockchain","cryptocurrency","dac","dex"],"latest_commit_sha":null,"homepage":"https://bitshares.github.io/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitshares.png","metadata":{"files":{"readme":"README-docker.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-10-12T17:36:04.000Z","updated_at":"2025-04-09T12:24:17.000Z","dependencies_parsed_at":"2023-09-26T00:40:17.345Z","dependency_job_id":"4991e379-d95c-4dd2-aef6-4229fdfe35b1","html_url":"https://github.com/bitshares/bitshares-core","commit_stats":{"total_commits":4823,"total_committers":78,"mean_commits":"61.833333333333336","dds":0.6790379431888867,"last_synced_commit":"bd48746819baf3ba08579c7ca57e489340f48f7b"},"previous_names":[],"tags_count":157,"template":false,"template_full_name":null,"purl":"pkg:github/bitshares/bitshares-core","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitshares%2Fbitshares-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitshares%2Fbitshares-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitshares%2Fbitshares-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitshares%2Fbitshares-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitshares","download_url":"https://codeload.github.com/bitshares/bitshares-core/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitshares%2Fbitshares-core/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261123926,"owners_count":23113026,"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":["bitshares","blockchain","cryptocurrency","dac","dex"],"created_at":"2024-08-01T22:01:14.989Z","updated_at":"2025-06-21T12:33:52.783Z","avatar_url":"https://github.com/bitshares.png","language":"C++","funding_links":[],"categories":["C++","Libraries","Exchange-based Tokens"],"sub_categories":["C++ Libraries"],"readme":"# Docker Container\n\nThis repository comes with built-in Dockerfile to support docker\ncontainers. This README serves as documentation.\n\n## Dockerfile Specifications\n\nThe `Dockerfile` performs the following steps:\n\n1. Obtain base image (phusion/baseimage:0.10.1)\n2. Install required dependencies using `apt-get`\n3. Add bitshares-core source code into container\n4. Update git submodules\n5. Perform `cmake` with build type `Release`\n6. Run `make` and `make_install` (this will install binaries into `/usr/local/bin`\n7. Purge source code off the container\n8. Add a local bitshares user and set `$HOME` to `/var/lib/bitshares`\n9. Make `/var/lib/bitshares` and `/etc/bitshares` a docker *volume*\n10. Expose ports `8090` and `1776`\n11. Add default config from `docker/default_config.ini` and\n    `docker/default_logging.ini`\n12. Add an entry point script\n13. Run the entry point script by default\n\nThe entry point simplifies the use of parameters for the `witness_node`\n(which is run by default when spinning up the container).\n\n### Supported Environmental Variables\n\n* `$BITSHARESD_SEED_NODES`\n* `$BITSHARESD_RPC_ENDPOINT`\n* `$BITSHARESD_PLUGINS`\n* `$BITSHARESD_REPLAY`\n* `$BITSHARESD_RESYNC`\n* `$BITSHARESD_P2P_ENDPOINT`\n* `$BITSHARESD_WITNESS_ID`\n* `$BITSHARESD_PRIVATE_KEY`\n* `$BITSHARESD_TRACK_ACCOUNTS`\n* `$BITSHARESD_PARTIAL_OPERATIONS`\n* `$BITSHARESD_MAX_OPS_PER_ACCOUNT`\n* `$BITSHARESD_ES_NODE_URL`\n* `$BITSHARESD_TRUSTED_NODE`\n\n### Default config\n\nThe default configuration is:\n\n    p2p-endpoint = 0.0.0.0:1776\n    rpc-endpoint = 0.0.0.0:8090\n    bucket-size = [60,300,900,1800,3600,14400,86400]\n    history-per-size = 1000\n    max-ops-per-account = 100\n    partial-operations = true\n\n# Docker Compose\n\nWith docker compose, multiple nodes can be managed with a single\n`docker-compose.yaml` file:\n\n    version: '3'\n    services:\n     main:\n      # Image to run\n      image: bitshares/bitshares-core:latest\n      # \n      volumes:\n       - ./docker/conf/:/etc/bitshares/\n      # Optional parameters\n      environment:\n       - BITSHARESD_ARGS=--help\n\n\n    version: '3'\n    services:\n     fullnode:\n      # Image to run\n      image: bitshares/bitshares-core:latest\n      environment:\n      # Optional parameters\n      environment:\n       - BITSHARESD_ARGS=--help\n      ports:\n       - \"0.0.0.0:8090:8090\"\n      volumes:\n      - \"bitshares-fullnode:/var/lib/bitshares\"\n\n\n# Docker Hub\n\nThis container is properly registered with docker hub under the name:\n\n* [bitshares/bitshares-core](https://hub.docker.com/r/bitshares/bitshares-core/)\n\nGoing forward, every release tag as well as all pushes to `develop` and\n`testnet` will be built into ready-to-run containers, there.\n\n# Docker Compose\n\nOne can use docker compose to setup a trusted full node together with a\ndelayed node like this:\n\n```\nversion: '3'\nservices:\n\n fullnode:\n  image: bitshares/bitshares-core:latest\n  ports:\n   - \"0.0.0.0:8090:8090\"\n  volumes:\n  - \"bitshares-fullnode:/var/lib/bitshares\"\n\n delayed_node:\n  image: bitshares/bitshares-core:latest\n  environment:\n   - 'BITSHARESD_PLUGINS=delayed_node witness'\n   - 'BITSHARESD_TRUSTED_NODE=ws://fullnode:8090'\n  ports:\n   - \"0.0.0.0:8091:8090\"\n  volumes:\n  - \"bitshares-delayed_node:/var/lib/bitshares\"\n  links: \n  - fullnode\n\nvolumes:\n bitshares-fullnode:\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitshares%2Fbitshares-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitshares%2Fbitshares-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitshares%2Fbitshares-core/lists"}