{"id":22916842,"url":"https://github.com/chanmo/bitpay","last_synced_at":"2026-03-01T01:32:32.098Z","repository":{"id":180080836,"uuid":"662521542","full_name":"ChanMo/bitpay","owner":"ChanMo","description":"Crypto Payment Service","archived":false,"fork":false,"pushed_at":"2023-07-10T09:01:25.000Z","size":46,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-30T09:58:22.049Z","etag":null,"topics":["bitpay","cryptopayments","ether","tron","usdt"],"latest_commit_sha":null,"homepage":"","language":"Python","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/ChanMo.png","metadata":{"files":{"readme":"README.org","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":"2023-07-05T10:06:00.000Z","updated_at":"2024-08-29T17:19:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"56c919b2-f9eb-442c-b889-198015dc743a","html_url":"https://github.com/ChanMo/bitpay","commit_stats":null,"previous_names":["chanmo/bitpay"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ChanMo/bitpay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMo%2Fbitpay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMo%2Fbitpay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMo%2Fbitpay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMo%2Fbitpay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChanMo","download_url":"https://codeload.github.com/ChanMo/bitpay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChanMo%2Fbitpay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29957361,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T22:53:01.873Z","status":"ssl_error","status_checked_at":"2026-02-28T22:52:50.699Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["bitpay","cryptopayments","ether","tron","usdt"],"created_at":"2024-12-14T06:14:48.776Z","updated_at":"2026-03-01T01:32:32.078Z","avatar_url":"https://github.com/ChanMo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"* BitPay\n\nTRON(USDT)支付服务\n\n用户创建订单时, 系统会为当前订单分配一个可用的钱包地址 (如果无可用地址, 就创建一个新地址).\n订单创建时自动设置截止时间(10分钟)\n\n系统会监听Pending状态订单的钱包地址的交易记录, 如果有新的入账操作, 则增加订单记录\n当订单记录中的入账总额大于或等于订单金额时, 标记为成功, 并设置钱包为可用\n当订单超时时, 设置钱包为可用\n\n** 启动服务\n\n启动TRON API\n#+BEGIN_SRC\n  $ docker run -p 3000:3000 chanmo/tron-api\n#+END_SRC\n\nEnvironment Variable List:\n- TRON_API_KEY\n- NETWORK: choose one of Nile, or Mainnet\n\n\n启动BitPay API\n#+BEGIN_SRC\n  $ docker run -p 5000:8000 chanmo/bitpay\n#+END_SRC\n\nEnvironment Variable List:\n- TRON_API: The URL of the tron API instance, for example, http://0.0.0.0:3000\n- TRON_USDT: The USDT contract address in TRON. \n- PAYMENT_RESULT_NOTIFY: The URL for receiving the notification of payment status change.\n\n\n** API\n\n*** Create a payment order\n\n#+BEGIN_SRC\n  http POST :8000/orders/ user=demo email=demo@demo.com amount=1000000\n#+END_SRC\n\n\n*** List all orders\n\n#+BEGIN_SRC\n  http :8000/orders/\n#+END_SRC\n\n*** Delete an order\n\n#+BEGIN_SRC\n  http DELETE :8000/orders/\u003corder_number\u003e/\n#+END_SRC\n\n\n*** List all accounts\n\n#+BEGIN_SRC\n  http :8000/accounts/\n#+END_SRC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanmo%2Fbitpay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchanmo%2Fbitpay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanmo%2Fbitpay/lists"}