{"id":51195698,"url":"https://github.com/chainstack/whmcs-chainstack","last_synced_at":"2026-06-27T20:01:46.208Z","repository":{"id":367030273,"uuid":"1277911168","full_name":"chainstack/whmcs-chainstack","owner":"chainstack","description":"WHMCS provisioning module for Chainstack — provision and manage RPC/WSS node endpoints from WHMCS.","archived":false,"fork":false,"pushed_at":"2026-06-24T08:39:40.000Z","size":24,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-24T10:39:48.469Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/chainstack.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-23T09:46:21.000Z","updated_at":"2026-06-23T09:46:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/chainstack/whmcs-chainstack","commit_stats":null,"previous_names":["chainstack/whmcs-chainstack"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/chainstack/whmcs-chainstack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstack%2Fwhmcs-chainstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstack%2Fwhmcs-chainstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstack%2Fwhmcs-chainstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstack%2Fwhmcs-chainstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chainstack","download_url":"https://codeload.github.com/chainstack/whmcs-chainstack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chainstack%2Fwhmcs-chainstack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34866118,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"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":"2026-06-27T20:01:45.019Z","updated_at":"2026-06-27T20:01:46.199Z","avatar_url":"https://github.com/chainstack.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# whmcs-chainstack\n\nA WHMCS provisioning module for [Chainstack](https://chainstack.com). It provisions and manages\nChainstack RPC/WSS node endpoints directly from WHMCS: ordering a service creates a node, the\nendpoints show up in the client area, and suspend/terminate tear the resources down.\n\n**One WHMCS service = one Chainstack node**, deployed into a per-service project inside a single\noperator-owned Chainstack organization, authenticated with one admin API key.\n\n## Requirements\n\n- WHMCS 8.x, PHP 8.1+ (tested on 8.3). PHP extensions: `curl`, `json`, `openssl`.\n- A Chainstack organization on a plan that permits the Platform API and node creation.\n- A Chainstack admin **API key** (Console → Settings → API keys).\n\n## Install\n\nCopy the module into your WHMCS installation:\n\n```bash\ncp -r modules/servers/chainstack \u003cwhmcs\u003e/modules/servers/\n```\n\nThen in WHMCS admin:\n\n1. **Setup → Products/Services → Servers → Add New Server**\n   - Hostname `api.chainstack.com`, Type **Chainstack**, **Password** = your API key. Test Connection.\n2. **Create a product**, Module = **Chainstack**, and either:\n   - set **Default network** to a network slug (one product per network), or\n   - attach a **Network** Configurable Option dropdown (one product, customer picks the network).\n\nFull configuration, lifecycle behavior, and the network-dropdown helper are documented in\n[`modules/servers/chainstack/README.md`](modules/servers/chainstack/README.md).\n\n## Networks\n\nThe deployable network is resolved **live** against `GET /v2/deployment-options/` at provision\ntime, and the cloud is derived automatically — so every network Chainstack offers is supported\nwithout code changes. List the available slugs:\n\n```bash\nCHAINSTACK_API_KEY=xxx php modules/servers/chainstack/scripts/list_networks.php\n```\n\n## Lifecycle\n\n| Action | Effect |\n|---|---|\n| Create | Creates a project + node; endpoints appear in the client area (global nodes deploy synchronously). |\n| Suspend | Deletes the node + project (stops usage/cost). |\n| Unsuspend | Re-provisions — note the endpoint **URL changes** (new auth key). |\n| Terminate | Deletes the node + project. |\n\n## Tests\n\n```bash\ncomposer install\nvendor/bin/phpunit\n```\n\nA manual end-to-end harness (creates and deletes one real node + project) is at\n[`tests/e2e_harness.php`](tests/e2e_harness.php).\n\n## Repository layout\n\n```\nmodules/servers/chainstack/   the module (install this into WHMCS)\n  scripts/                    operator helpers (list networks, sync dropdown)\ntests/                        PHPUnit suite + manual e2e harness\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainstack%2Fwhmcs-chainstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchainstack%2Fwhmcs-chainstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchainstack%2Fwhmcs-chainstack/lists"}