{"id":21846567,"url":"https://github.com/tidbcloud/ccxt-web3-bot","last_synced_at":"2026-04-28T13:39:12.160Z","repository":{"id":226573507,"uuid":"759315891","full_name":"tidbcloud/ccxt-web3-bot","owner":"tidbcloud","description":null,"archived":false,"fork":false,"pushed_at":"2024-05-21T19:59:10.000Z","size":4,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-06-18T20:47:49.510Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tidbcloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-02-18T08:44:55.000Z","updated_at":"2024-03-08T08:32:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"c19533d2-b946-4b64-a5ca-2e551fd03e47","html_url":"https://github.com/tidbcloud/ccxt-web3-bot","commit_stats":null,"previous_names":["tidbcloud/ccxt-web3-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tidbcloud/ccxt-web3-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidbcloud%2Fccxt-web3-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidbcloud%2Fccxt-web3-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidbcloud%2Fccxt-web3-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidbcloud%2Fccxt-web3-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tidbcloud","download_url":"https://codeload.github.com/tidbcloud/ccxt-web3-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tidbcloud%2Fccxt-web3-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32383782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"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":[],"created_at":"2024-11-27T23:14:27.777Z","updated_at":"2026-04-28T13:39:12.153Z","avatar_url":"https://github.com/tidbcloud.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\nWelcome to the Web3 Data Importer Tool, a utility designed to facilitate the importing of a Web3 demo data into your database. This tool streamlines the process of setting up your development and testing environments by populating your database with necessary data. Follow the instructions below to set up and use this tool efficiently.\n\n# Getting Started\n\n## Step 1: Install Dependencies\nTo install all required dependencies listed in the `requirements.txt` file, run the following command in your terminal:\n```\npython3 -m pip install -r requirements.txt\n```\n\n## Step 2: Configure Database Connection\nOpen the config.json file in a text editor of your choice. For instance, to use the vi editor, enter:\n```\nvi config.json\n```\nFill in your database connection information in the designated fields and save the changes. Replace the placeholders with your actual connection details:\n```\n{\n    \"db_host\": \"\u003cTiDB_cluster_host\u003e\",\n    \"db_port\": 4000,\n    \"db_user\": \"\u003cTiDB_cluster_user\u003e\",\n    \"db_password\": \"\u003cTiDB_cluster_password\u003e\"\n}\n```\n## Step 3: Run the Importer\nTo start the data import process, execute the script by running the following command in a terminal window:\n```bash\npython3 ./main.py\n```\n# Usage\nOnce the setup is complete, the tool will begin importing data into your specified database. Ensure that your database service is operational and accessible throughout this process.\n\nYou can see the test data in your database as below:\n```\nmysql\u003e select * from crypto_demo.crypto_trends limit 1\\G\n*************************** 1. row ***************************\n         id: 1\n     crypto: BTC/USDT:USDT\n       time: 2023-11-02 00:00:00\n open_price: 35437.5\n high_price: 35999.9\n  low_price: 34300\nclose_price: 34940.1\n1 row in set (0.25 sec)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidbcloud%2Fccxt-web3-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftidbcloud%2Fccxt-web3-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftidbcloud%2Fccxt-web3-bot/lists"}