{"id":13601326,"url":"https://github.com/33cn/chain33","last_synced_at":"2026-02-09T00:38:04.312Z","repository":{"id":38310583,"uuid":"88845839","full_name":"33cn/chain33","owner":"33cn","description":"高度模块化, 遵循 KISS原则的区块链开发框架","archived":false,"fork":false,"pushed_at":"2025-04-21T04:01:45.000Z","size":60299,"stargazers_count":735,"open_issues_count":35,"forks_count":259,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-05-20T09:54:14.518Z","etag":null,"topics":["blockchain","framework","go","golang"],"latest_commit_sha":null,"homepage":"https://chain.33.cn","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/33cn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-04-20T09:22:40.000Z","updated_at":"2025-05-14T09:13:40.000Z","dependencies_parsed_at":"2024-01-17T10:17:08.120Z","dependency_job_id":"de1a6fc6-782f-44f0-8d89-12970bc22022","html_url":"https://github.com/33cn/chain33","commit_stats":{"total_commits":9174,"total_committers":70,"mean_commits":"131.05714285714285","dds":0.9041857423152387,"last_synced_commit":"bfa6ac489027e502b3c0f66874bb535c1c4a19cd"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/33cn/chain33","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/33cn%2Fchain33","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/33cn%2Fchain33/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/33cn%2Fchain33/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/33cn%2Fchain33/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/33cn","download_url":"https://codeload.github.com/33cn/chain33/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/33cn%2Fchain33/sbom","scorecard":{"id":3211,"data":{"date":"2025-08-11","repo":{"name":"github.com/33cn/chain33","commit":"1bf4187c514177254e3293c52dc0c0800ec8b990"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql-analysis.yml:28","Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql-analysis.yml:29","Warn: no topLevel permission defined: .github/workflows/automake.yml:1","Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/codeql-analysis.yml:1","Warn: no topLevel permission defined: .github/workflows/manual_make_bin.yml:1","Warn: no topLevel permission defined: .github/workflows/release.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":"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":"Code-Review","score":6,"reason":"Found 2/3 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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" 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":"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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.69.0 not signed: https://api.github.com/repos/33cn/chain33/releases/158278854","Warn: release artifact v1.68.2 not signed: https://api.github.com/repos/33cn/chain33/releases/150865298","Warn: release artifact v1.68.1 not signed: https://api.github.com/repos/33cn/chain33/releases/120760960","Warn: release artifact v1.68.0 not signed: https://api.github.com/repos/33cn/chain33/releases/92788347","Warn: release artifact v1.67.5 not signed: https://api.github.com/repos/33cn/chain33/releases/86131266","Warn: release artifact v1.69.0 does not have provenance: https://api.github.com/repos/33cn/chain33/releases/158278854","Warn: release artifact v1.68.2 does not have provenance: https://api.github.com/repos/33cn/chain33/releases/150865298","Warn: release artifact v1.68.1 does not have provenance: https://api.github.com/repos/33cn/chain33/releases/120760960","Warn: release artifact v1.68.0 does not have provenance: https://api.github.com/repos/33cn/chain33/releases/92788347","Warn: release artifact v1.67.5 does not have provenance: https://api.github.com/repos/33cn/chain33/releases/86131266"],"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Pinned-Dependencies","score":1,"reason":"dependency not pinned by hash detected -- score normalized to 1","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/automake.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/automake.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/automake.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/automake.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/automake.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/automake.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:75: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:90: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:93: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:109: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:110: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:8: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql-analysis.yml:72: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/codeql-analysis.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/manual_make_bin.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/manual_make_bin.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/manual_make_bin.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/manual_make_bin.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/manual_make_bin.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/manual_make_bin.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/33cn/chain33/release.yml/master?enable=pin","Warn: containerImage not pinned by hash: build/Dockerfile:1: pin your Docker image by updating ubuntu:20.04 to ubuntu:20.04@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214","Warn: containerImage not pinned by hash: build/Dockerfile-node:1: pin your Docker image by updating ubuntu:20.04 to ubuntu:20.04@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214","Warn: containerImage not pinned by hash: build/Dockerfile-run:2: pin your Docker image by updating golang:1.9.2 to golang:1.9.2@sha256:947826b5b6bc42f6f25c8fae9fe89d5e2bf18ac87264856742c3baebb150ea9f","Warn: containerImage not pinned by hash: build/autotest/gitlabci/Dockerfile-autotest:1: pin your Docker image by updating ubuntu:20.04 to ubuntu:20.04@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214","Warn: containerImage not pinned by hash: build/autotest/jerkinsci/Dockerfile-autotest:1: pin your Docker image by updating ubuntu:20.04 to ubuntu:20.04@sha256:8feb4d8ca5354def3d8fce243717141ce31e2c428701f6682bd2fafe15388214","Warn: goCommand not pinned by hash: build/Dockerfile-run:9-16","Warn: goCommand not pinned by hash: build/Dockerfile-run:9-16","Warn: goCommand not pinned by hash: build/Dockerfile-run:9-16","Warn: goCommand not pinned by hash: build/Dockerfile-run:9-16","Warn: goCommand not pinned by hash: build/Dockerfile-run:9-16","Warn: downloadThenRun not pinned by hash: .github/workflows/build.yml:68","Info:   0 out of  24 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   5 containerImage dependencies pinned","Info:   4 out of   9 goCommand dependencies pinned","Info:   0 out of   1 downloadThenRun 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":"Vulnerabilities","score":0,"reason":"21 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-1098 / GHSA-2chg-86hq-7w38","Warn: Project is vulnerable to: GO-2024-2818 / GHSA-3jgf-r68h-xfqm","Warn: Project is vulnerable to: GO-2024-3189 / GHSA-27vh-h6mc-q6g8","Warn: Project is vulnerable to: GO-2023-2046 / GHSA-ppjg-v974-84cm","Warn: Project is vulnerable to: GO-2024-2819 / GHSA-4xc9-8hmq-j652","Warn: Project is vulnerable to: GHSA-v9jh-j8px-98vq","Warn: Project is vulnerable to: GO-2024-3250 / GHSA-29wx-vh33-7x7r","Warn: Project is vulnerable to: GO-2025-3553 / GHSA-mh63-6h87-95cp","Warn: Project is vulnerable to: GO-2024-3218","Warn: Project is vulnerable to: GO-2024-2459 / GHSA-ppxx-5m9h-6vxf","Warn: Project is vulnerable to: GO-2024-2682 / GHSA-c33x-xqrf-c478","Warn: Project is vulnerable to: GO-2024-3302 / GHSA-px8v-pp82-rcvr","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2023-2153 / GHSA-m425-mq94-257g / GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37","Warn: Project is vulnerable to: GO-2024-2748 / GHSA-33c5-9fx5-fvjm"],"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":7,"reason":"SAST tool detected but not run on all commits","details":["Info: SAST configuration detected: CodeQL","Warn: 3 commits out of 29 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-14T13:00:01.062Z","repository_id":38310583,"created_at":"2025-08-14T13:00:01.063Z","updated_at":"2025-08-14T13:00:01.063Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29251546,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T22:49:53.206Z","status":"ssl_error","status_checked_at":"2026-02-08T22:49:51.384Z","response_time":57,"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":["blockchain","framework","go","golang"],"created_at":"2024-08-01T18:01:00.533Z","updated_at":"2026-02-09T00:38:04.222Z","avatar_url":"https://github.com/33cn.png","language":"Go","readme":"[![API Reference](\nhttps://camo.githubusercontent.com/915b7be44ada53c290eb157634330494ebe3e30a/68747470733a2f2f676f646f632e6f72672f6769746875622e636f6d2f676f6c616e672f6764646f3f7374617475732e737667\n)](https://godoc.org/github.com/33cn/chain33)\n[![pipeline status](https://github.com/33cn/chain33/actions/workflows/build.yml/badge.svg)](https://github.com/33cn/chain33/actions/)\n[![Go Report Card](https://goreportcard.com/badge/github.com/33cn/chain33)](https://goreportcard.com/report/github.com/33cn/chain33)\n [![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/33cn/chain33?svg=true\u0026branch=master\u0026passingText=Windows%20-%20OK\u0026failingText=Windows%20-%20failed\u0026pendingText=Windows%20-%20pending)](https://ci.appveyor.com/project/33cn/chain33)\n[![codecov](https://codecov.io/gh/33cn/chain33/branch/master/graph/badge.svg)](https://codecov.io/gh/33cn/chain33) [![Join the chat at https://gitter.im/33cn/Lobby](https://badges.gitter.im/33cn/Lobby.svg)](https://gitter.im/33cn/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n\n# Chain33 区块链开发框架\n\n高度模块化, 遵循 KISS原则的区块链开发框架\n\n官方网站 和 文档: https://chain.33.cn\n\n官方插件库: https://github.com/33cn/plugin\n\n典型案例: https://github.com/bityuan/bityuan\n\nchain33背后故事: [chain33诞生记](https://mp.weixin.qq.com/s/9g5ZFDKJi9uzR_NFxfeuAA)\n\n视频教程: [视频教程](https://chain.33.cn/document/289)\n\n# 感谢\n\n[腾讯玄武安全实验室](https://github.com/33cn/chain33/issues?utf8=%E2%9C%93\u0026q=label%3A%E8%85%BE%E8%AE%AF%E7%8E%84%E6%AD%A6%E5%AE%9E%E9%AA%8C%E5%AE%A4)\n\n# bug 奖励\n\n我们会对bug 评价4个等级(不会奖励人民币，等值虚拟资产)。\n只有影响现有在线运行系统的，并且会产生严重分叉等行为的，才会评价为 L3\n\n```\nL0 1000\nL1 3000\nL2 10000\nL3 20000\n```\n\n## Building from source\n\n环境要求: Go 1.19+\n\n编译:\n\n```shell\ngit clone https://github.com/33cn/chain33.git $GOPATH/src/github.com/33cn/chain33\ncd $GOPATH/src/github.com/33cn/chain33\n//国内用户需要导入一下代理\nexport GOPROXY=https://mirrors.aliyun.com/goproxy\nmake\n```\n\n```\n 注意：国内用户需要加一下阿里云代理，用于获取依赖包， mod功能已经在Makefile默认开启了\n```\n\n测试：\n\n```shell\n$ make test\n```\n\n\n## 运行\n\n通过这个命令可以运行一个单节点到环境，可以用于开发测试\n\n```shell\n$ chain33 -f chain33.toml\n```\n\n## 使用chain33 开发插件注意点\n\n* 不可以使用 master 分支，要使用 发布分支\n\n## 贡献代码\n\n我们先说一下代码贡献的细节流程，这些流程可以不看，用户可以直接看我们贡献代码简化流程\n\n### 细节过程\n\n* 如果有什么想法，建立 issues, 和我们来讨论。\n* 首先点击 右上角的 fork 图标， 把chain33 fork 到自己的分支 比如我的是 vipwzw/chain33\n* `git clone https://github.com/vipwzw/chain33.git $GOPATH/src/github.com/33cn/chain33`\n\n```\n注意：这里要 clone 到 $GOPATH/src/github.com/33cn/chain33, 否则go 包路径会找不到\n```\n\n* 添加 `33cn/chain33` 远端分支： `git remote add upstream https://github.com/33cn/chain33.git`  我已经把这个加入了 Makefile 可以直接 运行 `make addupstream`\n\n* 保持 `33cn/chain33` 和 `vipwzw/chain33` master 分支的同步，可以直接跑 `make sync` , 或者执行下面的命令\n\n```\ngit fetch upstream\ngit checkout master\ngit merge upstream/master\n```\n```\n注意：不要去修改 master 分支，这样，master 分支永远和upstream/master 保持同步\n```\n\n* 从最新的33cn/chain33代码建立分支开始开发\n\n```\ngit fetch upstream\ngit checkout master\ngit merge upstream/master\ngit branch -b \"fixbug_ci\"\n```\n\n* 开发完成后, push 到 `vipwzw/chain33`\n\n```\ngit fetch upstream\ngit checkout master\ngit merge upstream/master\ngit checkout fixbug_ci\ngit merge master\ngit push origin fixbug_ci\n```\n\n然后在界面上进行pull request\n\n### 简化流程\n\n#### 准备阶段\n\n* 首先点击 右上角的 fork 图标， 把chain33 fork 到自己的分支 比如我的是 vipwzw/chain33\n* `git clone https://github.com/vipwzw/chain33.git $GOPATH/src/github.com/33cn/chain33`\n\n```\n注意：这里要 clone 到 $GOPATH/src/github.com/33cn/chain33, 否则go 包路径会找不到\n```\n\n```\nmake addupstream\n```\n\n#### 开始开发： 这个分支名称自己设置\n\n```\nmake branch b=mydevbranchname\n```\n\n#### 开发完成: push\n\n```\nmake push b=mydevbranchname m=\"这个提交的信息\"\n```\n\n如果m不设置，那么不会执行 git commit 的命令\n\n## 修改别人的pull requset\n\n比如我要修改 name=libangzhu branch chain33-p2p-listenPort 的pr\n\n##### step1: 拉取要修改的分支\n\n```\nmake pull name=libangzhu b=chain33-p2p-listenPort\n```\n\n然后修改代码，修改完成后,并且在本地commit\n\n###### step2: push已经修改好的内容\n\n```\nmake pullpush name=libangzhu b=chain33-p2p-listenPort\n```\n\n## License\n\n```\nBSD 3-Clause License\n\nCopyright (c) 2018, 33.cn\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n  list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n  this list of conditions and the following disclaimer in the documentation\n  and/or other materials provided with the distribution.\n\n* Neither the name of the copyright holder nor the names of its\n  contributors may be used to endorse or promote products derived from\n  this software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\nFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\nDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\nSERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\nCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\nOR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n```\n","funding_links":[],"categories":["Repositories","Go"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F33cn%2Fchain33","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F33cn%2Fchain33","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F33cn%2Fchain33/lists"}