{"id":13453295,"url":"https://github.com/eoscanada/eos-go","last_synced_at":"2026-01-16T15:30:13.495Z","repository":{"id":28987416,"uuid":"119925832","full_name":"eoscanada/eos-go","owner":"eoscanada","description":"EOS.IO Go API library","archived":false,"fork":false,"pushed_at":"2024-10-29T14:45:40.000Z","size":6558,"stargazers_count":555,"open_issues_count":22,"forks_count":214,"subscribers_count":36,"default_branch":"develop","last_synced_at":"2026-01-15T06:10:06.382Z","etag":null,"topics":["api","blockchain","eos","eosio","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/eoscanada.png","metadata":{"files":{"readme":"README-cn.md","changelog":"CHANGELOG.md","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}},"created_at":"2018-02-02T03:17:27.000Z","updated_at":"2025-12-09T13:24:18.000Z","dependencies_parsed_at":"2023-02-18T08:01:07.056Z","dependency_job_id":"4bdf0657-15d5-45f2-86b8-c634613d8908","html_url":"https://github.com/eoscanada/eos-go","commit_stats":{"total_commits":670,"total_committers":47,"mean_commits":14.25531914893617,"dds":0.6522388059701493,"last_synced_commit":"5d4ee54fe15ea101aae472b2c7d8b02494941d75"},"previous_names":["abourget/eosapi","eosioca/eosapi"],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/eoscanada/eos-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eoscanada%2Feos-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eoscanada%2Feos-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eoscanada%2Feos-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eoscanada%2Feos-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eoscanada","download_url":"https://codeload.github.com/eoscanada/eos-go/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eoscanada%2Feos-go/sbom","scorecard":{"id":161428,"data":{"date":"2025-08-11","repo":{"name":"github.com/eoscanada/eos-go","commit":"014453830df85899a4db052772f68fc6e142aa40"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"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":"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":"Code-Review","score":6,"reason":"Found 18/28 approved changesets -- score normalized to 6","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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/eoscanada/eos-go/main.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/eoscanada/eos-go/main.yml/develop?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/eoscanada/eos-go/main.yml/develop?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/eoscanada/eos-go/main.yml/develop?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction 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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'develop'","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":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 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-16T13:33:59.258Z","repository_id":28987416,"created_at":"2025-08-16T13:33:59.258Z","updated_at":"2025-08-16T13:33:59.258Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479409,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["api","blockchain","eos","eosio","golang"],"created_at":"2024-07-31T08:00:37.563Z","updated_at":"2026-01-16T15:30:13.430Z","avatar_url":"https://github.com/eoscanada.png","language":"Go","funding_links":[],"categories":["EOS Smart Contract Development","EOS Libraries","Developers"],"sub_categories":["Programming tools","Libraries and Frameworks"],"readme":"## 用 Go 语言与 EOS.IO 交互的 API 库\n\n[![GoDoc](https://godoc.org/github.com/eoscanada/eos-go?status.svg)](https://godoc.org/github.com/eoscanada/eos-go)\n\n该库提供对数据架构（二进制打包和JSON接口）的简单访问，\n以及对远程或本地运行的EOS.IO RPC服务器的API调用。\n它提供钱包功能（KeyBag），或者可以通过 `keosd` 钱包签署交易。\n它还明白端口9876上的P2P协议。\n\n截至6月的发布之前，这个库不断的在变化。 先不要期望稳定性，\n因为我们要追着主网 `eosio` 代码库的脚步，而它的变化又那么快。\n\n该库主网启动编排工具是 `eosio` 的基础，网址：\nhttps://github.com/eoscanada/eos-bios\n\n### 基本用法\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"encoding/json\"\n\t\"fmt\"\n\n\teos \"github.com/eoscanada/eos-go\"\n\tcli \"github.com/streamingfast/cli\"\n)\n\nfunc main() {\n\tapi := eos.New(\"https://api.eosn.io\")\n\tctx := context.Background()\n\n\tinfoResp, err := api.GetInfo(ctx)\n\tcli.NoError(err, \"unable to get chain info\")\n\n\tfmt.Println(\"Chain Info\", toJson(infoResp))\n\n\taccountResp, _ := api.GetAccount(ctx, \"eosio\")\n\tfmt.Println(\"Account Info\", toJson(accountResp))\n}\n\nfunc toJson(v interface{}) string {\n\tout, err := json.MarshalIndent(v, \"\", \"  \")\n\tcli.NoError(err, \"unable to marshal json\")\n\n\treturn string(out)\n}\n```\n\n### 例子\n\n#### 参考\n\n * API\n    * [获取链信息](./example_api_get_info_test.go)\n    * [转账代币](./example_api_transfer_eos_test.go)\n * 解码/编码\n    * [解码表行](./example_abi_decode_test.go)\n\n### 二进制文件\n\n`cmd/` 下的 `main` 包中有一些二进制文件，主要围绕 P2P 通信。\n\n### 召集开源贡献者\n\n我们欢迎所有的开源贡献，直接用 GitHub-fu来提议、帮我们改进吧。\n\n### 证书\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feoscanada%2Feos-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feoscanada%2Feos-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feoscanada%2Feos-go/lists"}