{"id":26025451,"url":"https://github.com/tunnckocore/facet-v2-miner","last_synced_at":"2025-03-06T13:50:45.763Z","repository":{"id":263554359,"uuid":"890757235","full_name":"tunnckoCore/facet-v2-miner","owner":"tunnckoCore","description":"Facet v2 miner, one-click deploy to Fly.io; set it and forget it. Make sure you have enough funds from time to time","archived":false,"fork":false,"pushed_at":"2024-12-10T15:23:53.000Z","size":29,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-25T06:54:06.040Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/tunnckoCore.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},"funding":{"ko_fi":"tunnckoCore","patreon":"tunnckoCore","github":["tunnckoCore"],"custom":["https://gum.co/tunnckoCoreRecurringDonation","https://gum.co/tunnckocorePatronLicense"]}},"created_at":"2024-11-19T06:00:26.000Z","updated_at":"2024-12-15T09:56:52.000Z","dependencies_parsed_at":"2024-11-19T07:36:29.271Z","dependency_job_id":null,"html_url":"https://github.com/tunnckoCore/facet-v2-miner","commit_stats":null,"previous_names":["tunnckocore/facet-v2-miner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tunnckoCore%2Ffacet-v2-miner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tunnckoCore%2Ffacet-v2-miner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tunnckoCore%2Ffacet-v2-miner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tunnckoCore%2Ffacet-v2-miner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tunnckoCore","download_url":"https://codeload.github.com/tunnckoCore/facet-v2-miner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242223028,"owners_count":20092173,"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":[],"created_at":"2025-03-06T13:50:44.081Z","updated_at":"2025-03-06T13:50:45.740Z","avatar_url":"https://github.com/tunnckoCore.png","language":"JavaScript","funding_links":["https://ko-fi.com/tunnckoCore","https://patreon.com/tunnckoCore","https://github.com/sponsors/tunnckoCore","https://gum.co/tunnckoCoreRecurringDonation","https://gum.co/tunnckocorePatronLicense"],"categories":[],"sub_categories":[],"readme":"# Facet v2 FCT miner\n\nSimple miner to the Facet v2 FCT token, currently mines on Sepolia, but would work when the v2 launches on Mainnet pretty soon.\n\nYou can run it locally by installing the binary, or you can deploy it on Fly.io for perpetual mining with stable and fast internet connection.\n\n![image](https://github.com/user-attachments/assets/805c0a22-8b30-4ec5-8bd2-c7ec2ed90a26)\n\n## Local usage\n\nYou have to have Bun or Nodejs installed.\nGo to https://bun.sh for more info. Bun is better, smaller, faster, drop-in replacement for the Nodejs runtime.\n\nFor Linux/MacOS\n\n```\ncurl -fsSL https://bun.sh/install | bash\n```\n\nFor Windows\n\n```\npowershell -c \"irm bun.sh/install.ps1 | iex\"\n```\n\nThen run `bun start`. Make sure to have SepoliaETH funds in the wallet of the given private key.\n\n```\ngit clone https://github.com/tunnckoCore/facet-v2-miner.git\ncd facet-v2-miner\nPRIVKEY=your_private_key_hex_here bun start\n```\n\n## Usage as CLI\n\nUsing `npx` or `pnpm dlx` or `bunx`:\n\n```bash\nPRIVKEY=myprivkey npx fct-miner\nPRIVKEY=myprivkey bunx fct-miner\n```\n\nOr you can install it globally:\n\n```bash\nnpm install -g fct-miner\n# and run\nPRIVKEY=myprivkey fct-miner\n```\n\nIf neither of these work for some reason, just clone the repo and run `bun install` and `bun run start`, or `npm install` and `npm start`.\n\n## Deploy on Fly.io\n\nYou should always pass your private key as a secret, and then deploy the app:\n\n```bash\nfly secrets set PRIVKEY=yourprivatekey\nfly launch\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftunnckocore%2Ffacet-v2-miner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftunnckocore%2Ffacet-v2-miner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftunnckocore%2Ffacet-v2-miner/lists"}