{"id":20950593,"url":"https://github.com/dsx-tech/accord","last_synced_at":"2026-04-27T09:01:42.846Z","repository":{"id":96505984,"uuid":"110868097","full_name":"dsx-tech/accord","owner":"dsx-tech","description":"Blockchains unified API library and network initialisation module","archived":false,"fork":false,"pushed_at":"2018-07-02T20:23:53.000Z","size":164,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-12-27T19:06:05.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/dsx-tech.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-15T18:01:05.000Z","updated_at":"2018-07-02T20:23:38.000Z","dependencies_parsed_at":"2023-05-02T02:02:13.679Z","dependency_job_id":null,"html_url":"https://github.com/dsx-tech/accord","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dsx-tech/accord","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsx-tech%2Faccord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsx-tech%2Faccord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsx-tech%2Faccord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsx-tech%2Faccord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsx-tech","download_url":"https://codeload.github.com/dsx-tech/accord/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsx-tech%2Faccord/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32329466,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-19T00:49:15.800Z","updated_at":"2026-04-27T09:01:42.830Z","avatar_url":"https://github.com/dsx-tech.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Accord\nBlockchains unified API library and network initialisation module\n\nonly Ethereum available\n\n### Dependency\n\nAdd to build.gradle\n```groovy\nallprojects {\n    repositories {\n        maven { url 'https://jitpack.io' }\n    }\n}\n\ndependencies {\n    compile 'com.github.dsx-tech:accord:master-SNAPSHOT'\n}\n```\n\n### How to use\n\n* Up instances on aws cloud\n* Write or copy init.sh script for initialising your chain or use default\n* Create .yml config and configure it (set paths to files, ip, ports, nodes, users fingerprint)\n```yaml\ninstances:\n  - name: ec-2-one\n    user: ec2-user\n    ip: -===ip==-\n    port : 22\n    fingerprint: ethereum-chord/src/main/resources/ethereum/eth-new.pem\n    # Default is ./shared_dir\n    working-dir: /home/ec2-user/shared_dir\n    prepare-env-commands:\n      - sudo yum update -y\n      - sudo yum install -y docker git\n      - sudo service docker start\n      - sudo groupadd docker\n      - sudo gpasswd -a $USER docker\n      - sudo usermod -aG docker $USER\n      \n    # Upload into working-dir/\n    instance-files:\n      - ethereum-chord/src/main/resources/ethereum/genesis_ignore.json\n      \n    \n    post-init-commands:\n      - echo ./shared_dir/genesis_ignore.json\n    post-init-files:\n      - ethereum-chord/src/main/resources/ethereum/genesis_ignore.json\n\n    nodes:\n      - name: first\n        type: observer\n        peers:\n          - second\n\n        #If no peers set then discovery=all\n      - name: second\n        port: 30305\n        rpc-port: 8102\n        type: miner\n\n      - name: third\n        port: 30306\n        rpc-port: 8103\n        type: observer\n\n  - name: ec-2-two\n    user: ec2-user\n    ip: -===ip==-\n    port : 22\n    fingerprint: ethereum-chord/src/main/resources/ethereum/eth-new.pem\n    prepare-env-commands:\n      - sudo yum update -y\n      - sudo yum install -y docker git\n      - sudo service docker start\n      - sudo groupadd docker\n      - sudo gpasswd -a $USER docker\n      - sudo usermod -aG docker $USER\n    nodes:\n      - name: first2\n        type: miner\n        peers:\n          - second\n\n```\n* Use deploy api like\n```java\n        EthInstanceManager manager = new EthInstanceManager();\n        manager.withConfig(\"/home/andrey/IdeaProjects/accord/ethereum-chord/src/main/resources/ethereum/machine.yaml\", DefaultConfiguration.class);\n        manager.run();\n        manager.terminate();\n```\n* Getting ip and ports for rpc api\n```java\n        manager.getAdresses();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsx-tech%2Faccord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsx-tech%2Faccord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsx-tech%2Faccord/lists"}