{"id":37118844,"url":"https://github.com/tinco/stellar-core-go","last_synced_at":"2026-01-14T13:52:30.077Z","repository":{"id":57615967,"uuid":"140958624","full_name":"tinco/stellar-core-go","owner":"tinco","description":"This project is an implementation of the Stellar-Core Protocol (SCP) in Go.","archived":false,"fork":false,"pushed_at":"2019-04-01T16:21:58.000Z","size":313,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-06-20T05:29:46.344Z","etag":null,"topics":["protocol","stellar","stellar-network"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinco.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":"2018-07-14T15:53:17.000Z","updated_at":"2020-11-20T02:39:40.000Z","dependencies_parsed_at":"2022-08-27T07:30:36.268Z","dependency_job_id":null,"html_url":"https://github.com/tinco/stellar-core-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tinco/stellar-core-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinco%2Fstellar-core-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinco%2Fstellar-core-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinco%2Fstellar-core-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinco%2Fstellar-core-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinco","download_url":"https://codeload.github.com/tinco/stellar-core-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinco%2Fstellar-core-go/sbom","scorecard":{"id":887058,"data":{"date":"2025-08-11","repo":{"name":"github.com/tinco/stellar-core-go","commit":"0160b4d4e1965a4e564b000b24fea42ffe36b8d2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 1/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: docker/stellar-crawler.dockerfile:1: pin your Docker image by updating ruby:2.5.1 to ruby:2.5.1@sha256:ac6661b87cf49af14b193024f28ef223b529974bdfab58f5e8d4df37a8bdbc9d","Info:   0 out of   1 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-24T10:24:40.057Z","repository_id":57615967,"created_at":"2025-08-24T10:24:40.057Z","updated_at":"2025-08-24T10:24:40.057Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28422360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["protocol","stellar","stellar-network"],"created_at":"2026-01-14T13:52:29.598Z","updated_at":"2026-01-14T13:52:30.064Z","avatar_url":"https://github.com/tinco.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stellar-Core in Go\n\nThis project is an implementation of the Stellar-Core Protocol (SCP) in Go. You can use its libraries to setup a connection to the Stellar-Core network, get information from nodes and even broadcast transactions.\n\nThis implementation leans heavily on the `xdr_generated.go` from the `stellar/go` library. The most significant contribution is `handshake.go` which performs the authentication handshake.\n\nBesides being a library to connect to the Stellar-Core network it also has some commands that interact with the network.\n\n***THIS PROJECT IS A WORK IN PROGRESS AND ITS API IS HIGHLY UNSTABLE***\n\n## Examples\n\nA simple connection to the Stellar-Core network can be established like so:\n\n```\npackage main\n\nimport (\n\t\"fmt\"\n\t\"log\"\n\t\"os\"\n\t\"time\"\n\n\t\"github.com/stellar/go/xdr\"\n\t\"github.com/tinco/stellar-core-go/nodeInfo\"\n\t\"github.com/tinco/stellar-core-go/peer\"\n)\n\nfunc main() {\n\tnodeInfo := nodeInfo.SetupCrypto()\n\n\tpeerAddress := os.Args[1]\n\n\tp, err := peer.Connect(\u0026nodeInfo, peerAddress)\n\tif err != nil {\n\t\tlog.Fatal(\"Couldn't connect to \", peerAddress)\n\t}\n\n\tp.OnMessage = func(message xdr.StellarMessage) {\n\t\tswitch message.Type {\n\t\tcase xdr.MessageTypeErrorMsg:\n\t\t\terr := message.MustError()\n\t\t\tlog.Fatal(\"Got error message: \", err.Msg)\n\t\tdefault:\n\t\t\tfmt.Printf(\"Received message: %v\\n\", message.Type)\n\t\t}\n\t}\n\n\tp.Start()\n\ttime.Sleep(3000 * time.Millisecond)\n\tlog.Fatal(\"Stopped after listening for 3 seconds\")\n}\n```\n\nFor more examples look in the `cmd/` directory.\n\n## Commands\n\nThis project contains some commands used for crawling the Stellar-Core network and obtaining information from nodes. Run `make` to compile them.\n\n### `bin/peers`\n\nRun `./bin/peers \u003csomenode\u003e:\u003citsport\u003e` to get a list of peers this node connects to.\n\n### `bin/peer_info`\n\nRun `./bin/peer_info \u003csomenode\u003e:\u003citsport\u003e` to get a list of peers this node connects to as well as more information about this peer. Its result is two json objects, the first has information about the peer, the second is a message whether this node rejected or accepted the connection.\n\n### `bin/quorumsets`\n\nRun `./bin/quorumsets \u003csomenode\u003e:\u003citsport\u003e` to get a stream of json objects with the quorumsets this node receives SCP messages from.\n\n### `get_all_peers.rb`\n\nRun `./get_all_peers.rb` to recursively discover all of the peers on the network. At the time of writing, running this command connects to about 8000 nodes, succesfully connecting to about 80.\n\n## Motivation\n\nThis project is being developed as part of an effort to establish insight into the Stellar-Core network as suggested by the 7th Stellar Build challenge's project idea of \"Building a better Quorum Explorer\".\n\nIf you got any questions, ideas, suggestions or large piles of Lumens to send, please contact me at https://keybase.io/tinco\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinco%2Fstellar-core-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinco%2Fstellar-core-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinco%2Fstellar-core-go/lists"}