{"id":23656014,"url":"https://github.com/velopace739/buy-me-a-coffee","last_synced_at":"2026-04-02T03:02:45.980Z","repository":{"id":269091366,"uuid":"906398507","full_name":"velopace739/buy-me-a-coffee","owner":"velopace739","description":"\"Buy Me a Coffee\" DeFi dapp","archived":false,"fork":false,"pushed_at":"2024-12-20T20:20:56.000Z","size":118,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-20T07:35:46.623Z","etag":null,"topics":["alchemy","binance-smart-chain","bscscan-api","dapp","defi","hardhat","nextjs","react","smart-contracts","solidity","typechain","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/velopace739.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,"zenodo":null}},"created_at":"2024-12-20T20:18:55.000Z","updated_at":"2024-12-22T15:42:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"15b0e188-0c50-4830-b202-4d1b18672276","html_url":"https://github.com/velopace739/buy-me-a-coffee","commit_stats":null,"previous_names":["velopace739/buy-me-a-coffee"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/velopace739/buy-me-a-coffee","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velopace739%2Fbuy-me-a-coffee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velopace739%2Fbuy-me-a-coffee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velopace739%2Fbuy-me-a-coffee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velopace739%2Fbuy-me-a-coffee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/velopace739","download_url":"https://codeload.github.com/velopace739/buy-me-a-coffee/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/velopace739%2Fbuy-me-a-coffee/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"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":["alchemy","binance-smart-chain","bscscan-api","dapp","defi","hardhat","nextjs","react","smart-contracts","solidity","typechain","typescript"],"created_at":"2024-12-28T20:17:58.874Z","updated_at":"2026-04-02T03:02:45.972Z","avatar_url":"https://github.com/velopace739.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BuyMeACoffee solidity contract\n\nThis repo contains a contract that implements tipping functionality.\n\nInstall dependencies with `yarn`.\n\nSet up by creating a `.env` file, and filling out these variables:\n\n```\nBSC_TESTNET_URL=your Alchemy RPC URL\nPRIVATE_KEY=your wallet private key\nBSCSCAN_API_KEY=your bscscan api key\nCONTRACT_ADDRESS=deployed contract address\n```\n\nYou can get an Alchemy RPC URL for free [here](https://dashboard.alchemy.com/).\n\n## !!! Be very careful with exporting your private key !!!\n\nYou can get your Private Key from MetaMask [like this](https://metamask.zendesk.com/hc/en-us/articles/360015289632-How-to-Export-an-Account-Private-Key).\nIf you have any questions or concerns about this, please find someone you trust to sanity check you! \n\n## !!! Be very careful with exporting your private key !!!\n\nDeploy your contract with:\n\n```\nnpx hardhat run .\\scripts\\deploy.ts --network bsc_testnet\n```\nVerify your contract with:\n```\nnpx hardhat verify --network bsc_testnet CONTRACT_ADDRESS\n```\n\nRun an example buy coffee flow locally with:\n\n```\nnpx hardhat run .\\scripts\\buy-coffee.ts --network bsc_testnet\n```\nIt will allow you to withdraw any tips stored on the contract.\n```\nnpx hardhat run .\\scripts\\withdraw.ts\n```\n\n## Contract Address\nBSC testnet:\n[0xc24634141D2aEAaf8b442dc6eCb78B5354766143](https://testnet.bscscan.com/address/0xc24634141D2aEAaf8b442dc6eCb78B5354766143#code)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelopace739%2Fbuy-me-a-coffee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvelopace739%2Fbuy-me-a-coffee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvelopace739%2Fbuy-me-a-coffee/lists"}