{"id":29014245,"url":"https://github.com/tamtamhero/polygon-faucet","last_synced_at":"2025-06-25T20:13:04.334Z","repository":{"id":37422026,"uuid":"365697494","full_name":"TamtamHero/polygon-faucet","owner":"TamtamHero","description":"A mainnet Matic faucet on Polygon Network","archived":false,"fork":false,"pushed_at":"2023-03-02T13:29:59.000Z","size":16404,"stargazers_count":70,"open_issues_count":11,"forks_count":63,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-18T04:15:06.500Z","etag":null,"topics":["faucet","mainnet","matic","maticnetwork","polygonnetwork"],"latest_commit_sha":null,"homepage":"https://matic.supply","language":"JavaScript","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/TamtamHero.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}},"created_at":"2021-05-09T07:52:01.000Z","updated_at":"2024-03-24T02:01:45.000Z","dependencies_parsed_at":"2022-08-19T17:01:22.565Z","dependency_job_id":null,"html_url":"https://github.com/TamtamHero/polygon-faucet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TamtamHero/polygon-faucet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamtamHero%2Fpolygon-faucet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamtamHero%2Fpolygon-faucet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamtamHero%2Fpolygon-faucet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamtamHero%2Fpolygon-faucet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TamtamHero","download_url":"https://codeload.github.com/TamtamHero/polygon-faucet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TamtamHero%2Fpolygon-faucet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261945412,"owners_count":23234245,"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","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":["faucet","mainnet","matic","maticnetwork","polygonnetwork"],"created_at":"2025-06-25T20:13:03.461Z","updated_at":"2025-06-25T20:13:04.326Z","avatar_url":"https://github.com/TamtamHero.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DEPRECATED - Polygon mainnet faucet server/frontend\n\n~~App available at https://matic.supply~~ APP DEPRECATED\n\nbuilt upon: [locals-faucetserver](https://github.com/sponnet/locals-faucetserver) and [matic-faucet](https://github.com/nglglhtr/matic-faucet)\n\nsupports MATIC transfers on Polygon mainnet\n\n- payout frequency: 120 seconds\n- server check frequency: 10 seconds\n- max amount on account to be able to claim: 0.005 MATIC (same as payout)\n\n(configured in `server/config.json`)\n\naddress and ip are 'greylisted' right after a successful transaction - for 60 seconds. greylists are reset every 10 seconds.\n\n![screenshot](screen.png)\n\n# installing\n\n```\n$ git clone https://github.com/tamtamhero/matic-faucet\n$ cd matic-faucet \u0026\u0026 cd server \u0026\u0026 npm install\n$ cd .. \u0026\u0026 cd client \u0026\u0026 npm install\n$ cd ..\n```\n\n## Configuring the faucet API\n\nedit ```config.json``` in the `server/` directory and add private keys to the accounts for each network.\n\nStart your faucet:\n\n```\nnode index.js\n```\n\n## Configuring the faucet frontend\n\nedit the file `client/src/config.js` and specify the base URL for your API. Run `npm run start`\n\n# API\n\n## Endpoints\n\n### ```GET https://\u003cFAUCET-URL\u003e/info```\n\n#### Response\n```\n{\n\tcheckfreqinsec: ...,\n\tgreylistdurationinsec: ...,\n\tbalances: [\n\t\t{\n\t\t\t\"network\": ...,\n\t\t\t\"account\": ...,\n\t\t\t\"balanceEth\": ...,\n\t\t},\n\t\t...\n\t]\n}\n```\n\n### ```POST https://\u003cFAUCET-URL\u003e```\n```\n{\n\tnetwork: \"rpc-mainnet\",\n\ttoken: \"matic\",\n\taccount: \"0xCC2161DB3200EEF7E37E21542dA2F0179fB9c59A\"\n}\n```\n\n- #### Network Name\n|name|RPC|\n|---|---|\n|`rpc-mainnet`|`https://rpc-mainnet.matic.network`|\n\n- #### Polygon address\nyour polygon address\n\n#### Response format\nStatus code: 200\n```\n{ \n\thash: 0x2323... \n}\n```\nStatus code: 500\n```\n{\n\terr: {\n\t\t...\n\t}\n}\n```\n* `hash` transaction hash \n\n## Example Usage\n\n`curl http://localhost:3000/rpc-mainnet/matic/0x96C42C56fdb78294F96B0cFa33c92bed7D75F96a`\n\n\n## HTTP Return / error codes\n\n* `200` : Request OK\n* `400` : Invalid address\n* `500` : error (greylisted/ tx error)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftamtamhero%2Fpolygon-faucet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftamtamhero%2Fpolygon-faucet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftamtamhero%2Fpolygon-faucet/lists"}