{"id":19571562,"url":"https://github.com/block-core/blockcore-tipbot","last_synced_at":"2025-09-11T13:05:41.329Z","repository":{"id":38460956,"uuid":"294675430","full_name":"block-core/blockcore-tipbot","owner":"block-core","description":"Tipping bot for discord that supports all of the blockcore chains. ","archived":false,"fork":false,"pushed_at":"2023-03-07T02:05:46.000Z","size":14439,"stargazers_count":6,"open_issues_count":32,"forks_count":7,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-15T00:38:33.696Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/block-core.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}},"created_at":"2020-09-11T11:19:18.000Z","updated_at":"2022-06-10T09:17:50.000Z","dependencies_parsed_at":"2023-02-15T03:15:49.420Z","dependency_job_id":null,"html_url":"https://github.com/block-core/blockcore-tipbot","commit_stats":{"total_commits":177,"total_committers":5,"mean_commits":35.4,"dds":0.327683615819209,"last_synced_commit":"08d31537a31164dd985f9ed342cf8eda61450179"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/block-core/blockcore-tipbot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block-core%2Fblockcore-tipbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block-core%2Fblockcore-tipbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block-core%2Fblockcore-tipbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block-core%2Fblockcore-tipbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/block-core","download_url":"https://codeload.github.com/block-core/blockcore-tipbot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block-core%2Fblockcore-tipbot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274503878,"owners_count":25297872,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11T06:19:17.405Z","updated_at":"2025-09-11T13:05:41.304Z","avatar_url":"https://github.com/block-core.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003cp align=\"center\"\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/5221349/72841405-93c2ce80-3c96-11ea-844b-3e1ff782b1ae.png\" height=\"100\" alt=\"Blockcore\" /\u003e\n  \u003c/p\u003e\n  \u003ch3 align=\"center\"\u003e\n    About Blockcore TipBot\n  \u003c/h3\u003e\n  \u003cp align=\"center\"\u003e\n    Tipbot for Discord that works with Blockcore based blockchains\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\n# Introduction\n\nThe bot is added to the [Blockcore community discord](https://www.blockcore.net/discord). You can check it out there.\n\nOr you can [add Blockcore tipbot](https://discord.com/api/oauth2/authorize?client_id=\u003cCLIENT ID\u003e\u0026permissions=2048\u0026scope=bot) to your server.\n\nDon't forget to add `Manage Messages ` permission for the bot.\n\n\n#### Guide: how to setup your own instance of the bot\n\nA Blockcore Reference Node (you can get latest release [here](https://github.com/block-core/blockcore-nodes/releases))\n\n```\nblockcore-desired-chain.exe\n```\n\nYou will also need [.NET Core SDK](https://www.microsoft.com/net/download) installed.\n\nClone the repository, open powershell in the repo folder and run `dotnet publish` from it. That will compile the project and produce `..\\TipBot\\bin\\Debug\\netcoreapp3.1\\publish` folder with `TipBot.dll` and other files in it. \n\nNow you can run the bot using powershell or cmd:\n\n```\ndotnet exec TipBot.dll -apiUrl=http://127.0.0.1:PORT/ -walletName=WALLETNAME -walletPassword=WALLETPASSWORD -networkFee=0.01 -useSegwit=true -token=DISCORDBOTTOKEN\n```\n\n\n#### Bot configuration\n\nPlease refer to the [appsettings.sample.json](TipBot/appsettings.sample.json), which includes all available settings with descriptions.\n\n\n#### Local debug configuration\n\nWhen you run the project from Visual Studio, you can right-click on the \"Blockcore.TipBot\" solution and choose \"Manage User Secrets\". This will open an secrets.json file, where you can \nadd your configuration secrets, such as the Discord Bot token. This file will never be checked into source code.\n\n\n#### Creating a Discord Bot\n\nBefore you can begin writing your bot, it is necessary to create a bot\naccount on Discord.\n\n1. Visit the [Discord Applications Portal](https://discord.com/developers).\n1. Create a New Application.\n1. Give the application a name (this will be the bot's initial\nusername).\n1. Select the \"Bot\" menu option under \"Settings\" on the left.\n1. Click the \"Add Bot\" button and confirm the dialog.\n1. Uncheck the \"Public Bot\" checkbox to ensure only you can add your tipping bot to selected Discord servers.\n\n#### Adding your bot to a server\n\n1. Open your bot's application on the Discord Applications Portal.\n1. Retrieve the app's **Client ID**.\n1. Create an OAuth2 authorization URL\n  `https://discordapp.com/oauth2/authorize?client_id=\u003cCLIENT ID\u003e\u0026scope=bot`\n1. Open the authorization URL in your browser.\n1. Select a server.\n1. Click on authorize.\n\n\n#### Testing the bot is responsive\n\nWhen you see the bot in the online status on your discord server, you are ready to test it. \n\nType: `tipbot help`\n\n\n## User Secrets\n\nThe Blockcore TipBot utilizes the latest configuration APIs in .NET Core, and allows you to securely configure \nuser secrets with the token for your Discord bot and SQL Connection string. Right-click on the project in Visual Studio 2019 \nand choose \"Manage User Secrets\".\n\n## Microsoft SQL Server\n\nYou can utilize the container for Microsoft SQL Server to quickly run an instance of MSSQL used by the TipBot.\n\n```sh\nsudo docker run -e \"ACCEPT_EULA=Y\" -e \"SA_PASSWORD=MyVeryOwnPassword!23\" -p 14330:1433 -d mcr.microsoft.com/mssql/server:2019-latest\n```\n\nConnection string can then be set to:\n\n```\nServer=127.0.0.1,14330;Database=TipBot;User Id=SA;Password=MyVeryOwnPassword!23\n```\n\n## Docker Cleanup\n\nDocker provides a single command that will clean up any resources � images, containers, volumes, and networks � that are dangling (not associated with a container):\n\n```\ndocker system prune\n```\n\nTo additionally remove any stopped containers and all unused images (not just dangling images), add the -a flag to the command:\n\n```\ndocker system prune -a\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblock-core%2Fblockcore-tipbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblock-core%2Fblockcore-tipbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblock-core%2Fblockcore-tipbot/lists"}