{"id":18542737,"url":"https://github.com/coinbase/tg-trading-bot","last_synced_at":"2026-01-29T17:31:54.868Z","repository":{"id":256286728,"uuid":"849527048","full_name":"coinbase/tg-trading-bot","owner":"coinbase","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-11T17:20:36.000Z","size":53,"stargazers_count":17,"open_issues_count":4,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T12:03:23.943Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coinbase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-29T18:44:05.000Z","updated_at":"2025-04-04T07:30:54.000Z","dependencies_parsed_at":"2025-04-09T18:43:00.338Z","dependency_job_id":"5ea7a9e0-b327-4296-9d67-03cf8361f959","html_url":"https://github.com/coinbase/tg-trading-bot","commit_stats":null,"previous_names":["coinbase/tg-trading-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/coinbase/tg-trading-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Ftg-trading-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Ftg-trading-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Ftg-trading-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Ftg-trading-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coinbase","download_url":"https://codeload.github.com/coinbase/tg-trading-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coinbase%2Ftg-trading-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28881982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T16:41:59.663Z","status":"ssl_error","status_checked_at":"2026-01-29T16:39:39.641Z","response_time":59,"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":[],"created_at":"2024-11-06T20:10:18.202Z","updated_at":"2026-01-29T17:31:54.852Z","avatar_url":"https://github.com/coinbase.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Telegram Trading Bot\n\nThis provides a template for Telegram trading bot on Base Mainnet that uses the\n[Coinbase Developer Platform (CDP) SDK](https://docs.cdp.coinbase.com/cdp-sdk/docs/welcome)\nand [MPC Wallet APIs](https://docs.cdp.coinbase.com/mpc-wallet/docs/welcome).\n\nIt stores wallet data in a local database using PouchDB, and is meant to be run locally.\n\n\u003e **NOTE: This sample app is for demonstration purposes only.** Make sure to persist your\n\u003e private keys, and deposit only small amounts of ETH to reduce the risk of losing your funds.\n\n**Secure your wallet using [best practices](https://docs.cdp.coinbase.com/mpc-wallet/docs/wallets#securing-a-wallet). In production, you should [use the 2-of-2 CDP Server-Signer](https://docs.cdp.coinbase.com/mpc-wallet/docs/serversigners) with [IP whitelisting for your API key](https://docs.cdp.coinbase.com/developer-platform/docs/cdp-key-security) for increased security.**\n\n## Feature requests\n\nIf there is specific functionality you'd like to see in the CDP SDK that is missing,\nplease [file it as an issue](https://github.com/coinbase/coinbase-sdk-nodejs/issues), and we will get back to you as soon as possible.\n\nYou can also contact us via the [CDP SDK Discord Channel](https://discord.com/channels/1220414409550336183/1232677295546957919).\n\n## Set Up\n\n1. Clone this repository:\n\n```bash\ngit clone https://github.com/coinbase/tg-trading-bot.git\n```\n\n2. Provision a [CDP API Key](https://docs.cdp.coinbase.com/developer-platform/docs/cdp-keys).\n3. Provision a [Telegram Bot Token](https://core.telegram.org/bots/tutorial) and register your Bot.\n4. Generate a 32-byte encryption key using OpenSSL:\n\n```bash\nopenssl rand -hex 32 # Save the output to use as the encryption key in Step 5.\n```\n\n5. Set the following environment variables in a `.env` file in this directory:\n\n```bash\nTELEGRAM_BOT_TOKEN=\"Your Telegram Bot Token\"\nCOINBASE_API_KEY_NAME=\"Your CDP API Key Name\"\nCOINBASE_API_KEY_SECRET=\"Your CDP API Key Private Key\"\nENCRYPTION_KEY=\"Your hex-encoded encryption key\"\n```\n\n6. Run the project:\n\n```\nnpm install\nnpm run start\n```\n\n7. Send the `/start` message to the Bot you provisioned in Step 3 on Telegrma, and start trading!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoinbase%2Ftg-trading-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoinbase%2Ftg-trading-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoinbase%2Ftg-trading-bot/lists"}