{"id":19291723,"url":"https://github.com/hirosystems/stacks-testnet-env","last_synced_at":"2025-10-14T19:07:30.707Z","repository":{"id":257851856,"uuid":"870923651","full_name":"hirosystems/stacks-testnet-env","owner":"hirosystems","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-23T01:53:49.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-14T19:04:35.006Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/hirosystems.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}},"created_at":"2024-10-10T23:23:30.000Z","updated_at":"2024-10-23T01:53:52.000Z","dependencies_parsed_at":"2024-11-09T22:28:47.245Z","dependency_job_id":"1f0edde1-1d31-461a-9efa-33e3d01a2e99","html_url":"https://github.com/hirosystems/stacks-testnet-env","commit_stats":null,"previous_names":["hirosystems/stacks-testnet-env"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hirosystems/stacks-testnet-env","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fstacks-testnet-env","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fstacks-testnet-env/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fstacks-testnet-env/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fstacks-testnet-env/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hirosystems","download_url":"https://codeload.github.com/hirosystems/stacks-testnet-env/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirosystems%2Fstacks-testnet-env/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020642,"owners_count":26086895,"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-10-14T02:00:06.444Z","response_time":60,"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-09T22:27:29.618Z","updated_at":"2025-10-14T19:07:30.678Z","avatar_url":"https://github.com/hirosystems.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stacks Testnet Environment\n\nEasily run a Stacks miner in Kypton mode with a signer and Bitcoind testnet instance\n\n# Getting Started\n\n1. Make sure you have Docker and Docker Compose installed and running on your machine.\n1. If you already have a generated keychain for the miner and/or the signer, place them in the `keychains` dir in separate YAML files named `miner.yaml` and `signer.yaml`.\n1. If you already have chainstate data for bitcoind, stacks core, or the stacks signer, place them in their respective dirs within `chainstate`.\n\nThen run:\n\n```bash\n./run.sh\n```\n\nThis will generate a new set of miner and signer STX/BTC keys if needed, generate miner and signer configs, check the balances of all relevant addresses, assist in funding them if needed, and start all services.\n\nThis will output the logs from each service. You can view the logs for a single service with:\n\n```\ndocker-compose logs \u003cSERVICE NAME\u003e\n```\n\nAdd `-f` to automatically follow new logs. The service names can be found in [./docker-compose.yml](./docker-compose.yml), such as `stacks-node`, `signer`, and `monitor`.\n\n### Shutdown\n\n```bash\n./stop.sh\n```\n\n### Reset\n\nWarning: Running this script will wipe all local chainstate data, requiring you to re-sync your bitcoin and stacks nodes to chaintip the next time they're booted up.\n\n```bash\n./reset.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirosystems%2Fstacks-testnet-env","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhirosystems%2Fstacks-testnet-env","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirosystems%2Fstacks-testnet-env/lists"}