{"id":25619270,"url":"https://github.com/justshiftjk/solana-moonshot-swap","last_synced_at":"2025-07-05T09:39:07.368Z","repository":{"id":248989162,"uuid":"830386035","full_name":"justshiftjk/Solana-Moonshot-Swap","owner":"justshiftjk","description":"Node.js and Express backend project that facilitates moonshot swap transactions using moonshot-sdk, TypeScript, Solana web3, and solana/spl-token. It listens for swap (buy/sell) requests and creates transactions accordingly.","archived":false,"fork":false,"pushed_at":"2024-07-18T07:35:44.000Z","size":50,"stargazers_count":9,"open_issues_count":0,"forks_count":7,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-05T15:47:31.507Z","etag":null,"topics":["express","moonshot-sdk","nodejs","solana","solana-trading","solana-web3","spl-token","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/justshiftjk.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":"2024-07-18T07:11:14.000Z","updated_at":"2025-03-12T02:12:39.000Z","dependencies_parsed_at":"2024-07-26T06:15:58.951Z","dependency_job_id":null,"html_url":"https://github.com/justshiftjk/Solana-Moonshot-Swap","commit_stats":null,"previous_names":["infinite0731/solana-moonshot-swap","justshiftjk/solana-moonshot-swap"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justshiftjk%2FSolana-Moonshot-Swap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justshiftjk%2FSolana-Moonshot-Swap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justshiftjk%2FSolana-Moonshot-Swap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justshiftjk%2FSolana-Moonshot-Swap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justshiftjk","download_url":"https://codeload.github.com/justshiftjk/Solana-Moonshot-Swap/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248804299,"owners_count":21164124,"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":["express","moonshot-sdk","nodejs","solana","solana-trading","solana-web3","spl-token","typescript"],"created_at":"2025-02-22T06:16:42.624Z","updated_at":"2025-04-14T00:40:40.513Z","avatar_url":"https://github.com/justshiftjk.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moonshot Swap Transaction Backend\n\nThis is a Node.js and Express backend project that facilitates moonshot swap transactions using moonshot-sdk, TypeScript, Solana web3, and solana/spl-token. It listens for swap (buy/sell) requests and creates transactions accordingly. The project is deployable to Vercel.\n\n## Features\n- Handle swap (buy/sell) requests.\n- Create moonshot swap transactions.\n- Integration with Solana blockchain.\n- Deployable to Vercel.\n\n## Technologies\n- Node.js\n- Express.js\n- TypeScript\n- moonshot-sdk\n- @solana/web3.js\n- @solana/spl-token\n\n## Installation\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/dappsol/moonshot-swap.git\n   cd moonshot-swap\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Update the `config.ts` file with any additional configuration settings as needed.\n\n## Usage\n### Starting the Project\nTo start the project, run:\n```bash\nnpm start\n```\nor\n```bash\nyarn start\n```\n\nThe project will run at:\n```\nhttp://localhost:9000\n```\n\n### Swap Endpoint\nThe swap endpoint is available at:\n```\nhttp://localhost:9000/api/moonshot/swap\n```\n\n### Creating Transactions\nTo create a transaction, use the following parameters:\n\n- `mintAddress`: Token mint address for buying/selling.\n- `amount`: When buying, input SOL amount; when selling, omit this value.\n- `tradeDirection`: Use `\"BUY\"` for buying and `\"SELL\"` for selling.\n- `slippageBps`: Default is `100` and can be omitted.\n\n## Contact\nIf you have any questions or want more customized app for specific use cases, please feel free to contact me to below contacts.\n\n- E-Mail: adamglab0731.pl@gmail.com\n- Telegram: [@bettyjk_0915](https://t.me/bettyjk_0915)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustshiftjk%2Fsolana-moonshot-swap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustshiftjk%2Fsolana-moonshot-swap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustshiftjk%2Fsolana-moonshot-swap/lists"}