{"id":13727676,"url":"https://github.com/Erb3/TenebraStake","last_synced_at":"2025-05-07T23:31:58.763Z","repository":{"id":194523489,"uuid":"686667547","full_name":"Erb3/TenebraStake","owner":"Erb3","description":"A stake node for the \"cryptocurrency\" tenebra, written in Rust!","archived":true,"fork":false,"pushed_at":"2024-08-20T12:49:12.000Z","size":138,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-20T14:51:48.784Z","etag":null,"topics":["tenebra"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Erb3.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-03T15:00:07.000Z","updated_at":"2024-08-20T12:50:02.000Z","dependencies_parsed_at":"2024-08-20T14:50:30.610Z","dependency_job_id":"53019514-1d24-4600-bb61-bae00d4840ef","html_url":"https://github.com/Erb3/TenebraStake","commit_stats":null,"previous_names":["erb3/tenebrastake"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erb3%2FTenebraStake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erb3%2FTenebraStake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erb3%2FTenebraStake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erb3%2FTenebraStake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Erb3","download_url":"https://codeload.github.com/Erb3/TenebraStake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224672805,"owners_count":17350812,"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":["tenebra"],"created_at":"2024-08-03T02:00:29.670Z","updated_at":"2024-11-14T18:31:17.367Z","avatar_url":"https://github.com/Erb3.png","language":"Rust","funding_links":[],"categories":["Programs"],"sub_categories":["External Software"],"readme":"# TenebraStake\n\n\u003e [!IMPORTANT]\n\u003e TenebraStake is archived as of August 20th, and will not receive any updates.\n\n[![github](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/github_vector.svg)](https://github.com/Erb3/tenebrastake)\n![risugamis-modloader](https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/unsupported/risugamis-modloader_vector.svg)\n\nA stake node for the \"cryptocurrency\" [tenebra](https://tenebra.lil.gay).\n\n## Options\n\n| Option      | Description                                                                     | Flag | Environment variable | Default                   |\n| ----------- | ------------------------------------------------------------------------------- | ---- | -------------------- | ------------------------- |\n| Private key | The private-key to connect to tenebra with                                      | `-p` | `PRIVATE_KEY`        | None                      |\n| Sync node   | The tenebra node to connect to. You will in most cases not need to change this. | `-s` | `SYNC_NODE`          | `https://tenebra.lil.gay` |\n\n## How to use\n\nDownload the binary, and run it with `TenebraStake -p [myPrivateKey]`.\n\n### Docker run\n\nRun the following command to start the stake node with `docker run`. Replace `abc123` with your private key:\n\n```shell\ndocker run -d -e PRIVATE_KEY=abc123 ghcr.io/erb3/tenebrastake:latest\n```\n\n### Docker compose\n\nTo run with Docker compose, add this to your `docker-compose.yml`. Replace `abc123` with your private key:\n\n```yml\ntenebrastake:\n image: ghcr.io/erb3/tenebrastake:latest\n container_name: tenebrastake\n restart: unless-stopped\n environment:\n  - PRIVATE_KEY=abc123\n```\n\n## Requirements\n\nThe websocket and HTTPS parts of TenebraStake use native TLS. If you are doing something else than running the binary on Linux, you don't need anything!\n\n### Linux\n\nOpenSSL 1.0.1, 1.0.2, 1.1.0, or 1.1.1 with headers (see [rust-openssl](https://github.com/sfackler/rust-openssl)).\n\n## Versioning\n\nTenebraStake is versioned with my own proprietary versioning scheme known as `rewrite.major.minor`.\nIn major updates, it may be breaking. It rewrites, it will be breaking. Patch releases will not be intentionally breaking!\n\n## FAQ\n\n**Can I run multiple stake nodes with the same wallet?**\n\nAnswer: Yes, you can run multiple stake nodes.\nHowever, the only benefit to this is that one will take over if one crashes (which should not happen).\nYou do not get any financial gain.\n\n**Does it automatically reconnect?**\n\nTenebraStake may in some cases reconnect, such as if you lost internet connectivity for a small amount of time.\nHowever, TenebraStake is meant to be run on servers, so it is meant to crash when weird things happen.\nIf you want it to restart once it crashed, consider using docker with restarting enabled.\n\n## Todo\n\n- [ ] Wait for keep-alive packets\n- [ ] Prometheus export\n- [ ] Remove all stakes on exit (and add all stakes on start)\n- [ ] Remove all stakes if the total network stake is above a set threshold\n- [ ] Detect stake getting disabled\n\n## Alternatives\n\nDon't like TenebraStake? 😥. If it was our fault, please make a GitHub issue! Alternatives we like:\n\n1. [TenebraStakeNode](https://github.com/PatriikPlays/tenebrastakenode/) by PatriikPlays\n2. [TenebraValidator](https://github.com/xAnavrins/TenebraValidator) by Anavrins\n3. [tenebra.lua](https://gist.github.com/Ale32bit/2978fd3962506a8a943fbcf115084b6b) by AlexDevs\n4. [TenebraStakingNode](https://github.com/Allymonies/TenebraStakingNode) by Allymonies\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FErb3%2FTenebraStake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FErb3%2FTenebraStake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FErb3%2FTenebraStake/lists"}