{"id":27089048,"url":"https://github.com/soldapper/mcswap-api","last_synced_at":"2025-07-18T21:34:24.341Z","repository":{"id":285327869,"uuid":"956963041","full_name":"SolDapper/mcswap-api","owner":"SolDapper","description":"Solana Pay \u0026 Receipts Server for McSwap Applications","archived":false,"fork":false,"pushed_at":"2025-07-01T06:41:15.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-09T14:11:58.928Z","etag":null,"topics":["api","express","solana","solana-pay"],"latest_commit_sha":null,"homepage":"https://mcswap.xyz","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/SolDapper.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-29T08:17:17.000Z","updated_at":"2025-07-01T06:41:18.000Z","dependencies_parsed_at":"2025-06-10T00:03:24.198Z","dependency_job_id":"1a968858-3d8a-4830-a90a-b0031f9da33b","html_url":"https://github.com/SolDapper/mcswap-api","commit_stats":null,"previous_names":["soldapper/mcswap-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SolDapper/mcswap-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolDapper%2Fmcswap-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolDapper%2Fmcswap-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolDapper%2Fmcswap-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolDapper%2Fmcswap-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SolDapper","download_url":"https://codeload.github.com/SolDapper/mcswap-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolDapper%2Fmcswap-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265837684,"owners_count":23836558,"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":["api","express","solana","solana-pay"],"created_at":"2025-04-06T06:38:12.923Z","updated_at":"2025-07-18T21:34:24.317Z","avatar_url":"https://github.com/SolDapper.png","language":"JavaScript","readme":"# mcswap-api\nThe mcswap api package runs solana pay \u0026 email receipt endpoints for your mcswap application\n\n![powered by solana](https://camo.githubusercontent.com/4a0138729f5af10f6389f7030f00eca28d2963932c6c21e7f397f077d8a908d7/68747470733a2f2f6364366e61326c6d6132323267706967766971637072356e377565776778643775686f636b6f66656c666c7375616f70376f69712e617277656176652e6e65742f45507a516157774774614d3942716f674a3865745f516c6a58482d683343553470466c584b6748502d3545)\n\n## clone it\n```html\ngit clone https://github.com/SolDapper/mcswap-api.git\n```\n\n## .env\nCreate a .env file in your project directory with the following details\n```html\nRPC = https://staked.helius-rpc.com?api-key=YOUR_KEY_HERE\n```\n\n## config\nOpen src/config.js and add your api details\n```javascript\nvar host = \"https://www.mcswap-pay.xyz\"; // your live domain\n// host = \"http://localhost\"; // uncomment to run on localhost\nvar treasury = \"ACgZcmgmAnMDxXxZUo9Zwg2PS6WQLXy63JnnLmJFYxZZ\"; // optional affiliate treasury\nvar fee = \"0\"; // optional affiliate fee\nvar cleanup = 30000; // temporary file cleanup every n miliseconds\nvar whitelist = [host]; // array of domains allowed to process receipts\n```\n\n## run locally\n```html\nnpm start\n```\nOpen your browser to: http://localhost:3300","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoldapper%2Fmcswap-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoldapper%2Fmcswap-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoldapper%2Fmcswap-api/lists"}