{"id":17725435,"url":"https://github.com/hirokisan/jup-cli","last_synced_at":"2025-03-14T05:32:13.406Z","repository":{"id":258079551,"uuid":"873563606","full_name":"hirokisan/jup-cli","owner":"hirokisan","description":"A Jupiter CLI that enables swap, etc.","archived":false,"fork":false,"pushed_at":"2024-10-21T09:34:32.000Z","size":119,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T09:05:26.279Z","etag":null,"topics":["cli","jupiter","solana","swap"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/hirokisan.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},"funding":{"github":"hirokisan","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2024-10-16T11:31:47.000Z","updated_at":"2025-02-27T16:41:29.000Z","dependencies_parsed_at":"2024-10-17T15:28:48.228Z","dependency_job_id":"95d57f2f-4f91-4151-8125-5c6abb36bcba","html_url":"https://github.com/hirokisan/jup-cli","commit_stats":null,"previous_names":["hirokisan/jup-cli"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirokisan%2Fjup-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirokisan%2Fjup-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirokisan%2Fjup-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hirokisan%2Fjup-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hirokisan","download_url":"https://codeload.github.com/hirokisan/jup-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243532517,"owners_count":20306151,"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":["cli","jupiter","solana","swap"],"created_at":"2024-10-25T16:04:29.867Z","updated_at":"2025-03-14T05:32:13.094Z","avatar_url":"https://github.com/hirokisan.png","language":"Rust","funding_links":["https://github.com/sponsors/hirokisan"],"categories":[],"sub_categories":[],"readme":"# jup-cli\n\nA Jupiter CLI that enables swap, etc.\n\n## Install\n\n```console\n$ cargo install jup-cli\n```\n\n## Usage\n\n```console\n$ jup-cli swap --amount={amount} --mint-from={from} --mint-to={to} --key-pair-path={path-to-key-pair}\n```\n\n```console\n$ jup-cli price --mints={mint1,mint2,...}\n```\n\n## Example\n\n```console\n$ jup-cli swap --dry-run --amount=1 --mint-from=7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU --mint-to=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v --key-pair-path=key_pair.json\n[2024-10-17T10:22:52Z INFO  jup_cli] expected amount: 0.007395\n```\n\n```console\n$ jup-cli swap --amount=1 --mint-from=7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU --mint-to=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v --key-pair-path=key_pair.json\n[2024-10-17T10:42:40Z INFO  jup_cli] expected amount: 0.007379\n[2024-10-17T10:42:12Z INFO  jup_cli] Transaction: xxxxxxxx\n```\n\n```console\n$ jup-cli price --mints=So11111111111111111111111111111111111111112,JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN\n{\"So11111111111111111111111111111111111111112\":166.566327111,\"JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN\":0.980275}\n```\n\n## Tips\n\n### Create a Keypair\n\n```console\n$ solana-keygen new -o key_pair.json --no-bip39-passphrase\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirokisan%2Fjup-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhirokisan%2Fjup-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhirokisan%2Fjup-cli/lists"}