{"id":37155202,"url":"https://github.com/smirkcat/tron-rpc","last_synced_at":"2026-01-14T18:21:18.679Z","repository":{"id":39610266,"uuid":"258959863","full_name":"smirkcat/tron-rpc","owner":"smirkcat","description":"golang 版本 波场钱包节点对接","archived":false,"fork":false,"pushed_at":"2024-09-26T03:31:37.000Z","size":571,"stargazers_count":118,"open_issues_count":0,"forks_count":54,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-11-15T07:48:46.841Z","etag":null,"topics":["golang","grpc","trc10","trc20","tron","trx"],"latest_commit_sha":null,"homepage":"","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/smirkcat.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-04-26T06:44:54.000Z","updated_at":"2024-11-01T03:48:05.000Z","dependencies_parsed_at":"2024-02-02T06:29:10.686Z","dependency_job_id":"10b143c7-38cd-4cf8-b274-dd8db298ce27","html_url":"https://github.com/smirkcat/tron-rpc","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/smirkcat/tron-rpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smirkcat%2Ftron-rpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smirkcat%2Ftron-rpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smirkcat%2Ftron-rpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smirkcat%2Ftron-rpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smirkcat","download_url":"https://codeload.github.com/smirkcat/tron-rpc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smirkcat%2Ftron-rpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28430455,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T16:38:47.836Z","status":"ssl_error","status_checked_at":"2026-01-14T16:34:59.695Z","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":["golang","grpc","trc10","trc20","tron","trx"],"created_at":"2026-01-14T18:21:17.796Z","updated_at":"2026-01-14T18:21:18.666Z","avatar_url":"https://github.com/smirkcat.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 波场钱包代理\r\n\r\n1. 采用GPRC协议调用超级节点服务\r\n2. 使用golang开发，目前满足trx、trc10和trc20转账以及交易记录扫描，归集，地址生成功能\r\n3. 每一种合约开启json-rpc端口兼容比特币rpc接口\r\n4. 钱包私钥全部加密保存，密钥保存在sqlite数据库，所以必须定期备份\r\n5. 启动配置文件为当前目录下tron.toml文件，具体示例请查看文件参数\r\n\r\n注：clone之后需更新子模块  \r\ngit submodule update --init --recursive  \r\n**为了安全，需要自己配置主钱包地址，加密私钥等相关参数**\r\n\r\n### 合约发布\r\n\r\n文档，中文文档已经无法查看，需要管理员登录，请直接查看英文文档\r\nhttps://developers.tron.network/docs/creating-and-compiling\r\n\r\n[*change log*](CHANGELOG.md)\r\n\r\n\r\n### 生成相关配置 \r\n\r\n```shell\r\n# 主私钥\r\ngo test -timeout 30s -run ^TestCreatAddress$ tron/trx -v\r\n# === RUN   TestCreatAddress\r\n#     client_test.go:xx: 9f974ecb-839c-483f-9f36-f0e730b51658\r\n#     client_test.go:xx: TL4kyKaXJ9gThBhHtyMSN4ZMKSaD5cZUGL\r\n#     client_test.go:xx: PxfYdiHPZ6SloTlLBTEKmCHbB/YDOtD44KWIm7eZELKhjOu335WTq/eethyym3ks2KW2ZUGLGJbmOOcOMBaBianlmpg2SUbhih9Yk1HKWgk=\r\n# --- PASS: TestCreatAddress (0.00s)\r\n# PASS\r\n# ok      tron/trx        0.093s\r\n\r\n# db 文件生成\r\ngo test -timeout 30s -run ^TestDB$ tron/trx -v\r\n# === RUN   TestDB\r\n# --- PASS: TestDB (0.06s)\r\n# PASS\r\n# ok      tron/trx        0.180s\r\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmirkcat%2Ftron-rpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmirkcat%2Ftron-rpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmirkcat%2Ftron-rpc/lists"}