{"id":29068892,"url":"https://github.com/aspectron/kaspa-wallet-cli","last_synced_at":"2025-09-01T19:34:17.272Z","repository":{"id":74497187,"uuid":"329950633","full_name":"aspectron/kaspa-wallet-cli","owner":"aspectron","description":"Kaspa command-line Wallet based on the Kaspa Wallet framework","archived":false,"fork":false,"pushed_at":"2023-10-02T20:23:04.000Z","size":166,"stargazers_count":1,"open_issues_count":2,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2023-10-03T04:41:51.155Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/aspectron.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}},"created_at":"2021-01-15T15:30:45.000Z","updated_at":"2022-12-14T23:32:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"b11e0388-6162-47ad-a9ec-17251ded8314","html_url":"https://github.com/aspectron/kaspa-wallet-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/aspectron/kaspa-wallet-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspectron%2Fkaspa-wallet-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspectron%2Fkaspa-wallet-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspectron%2Fkaspa-wallet-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspectron%2Fkaspa-wallet-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aspectron","download_url":"https://codeload.github.com/aspectron/kaspa-wallet-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aspectron%2Fkaspa-wallet-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262244912,"owners_count":23281029,"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":[],"created_at":"2025-06-27T11:09:34.655Z","updated_at":"2025-06-27T11:09:35.033Z","avatar_url":"https://github.com/aspectron.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Kaspa Wallet (CLI)\r\n==================\r\n\r\nKaspa Wallet command-line interface build on top of [Kaspa Wallet](https://github.com/aspectron/kaspa-wallet) framework.\r\n\r\nThis command-line wallet is compatible with [KDX](https://kdx.app)\r\n\r\n\r\nInstalling Kaspa Wallet\r\n-----------------------\r\n\r\n```\r\nnpm install -g @kaspa/wallet-cli\r\nkaspa-wallet\r\n```\r\n\r\nCloning Kaspa Wallet\r\n--------------------\r\nThe following applies to development environment only:\r\n```\r\ngit clone git@github.com:aspectron/kaspa-wallet-cli\r\ncd kaspa-wallet-cli\r\nnpm install\r\nnode kaspa-wallet\r\n```\r\n\r\nRunning Kaspa Wallet\r\n--------------------\r\n\r\n```\r\n$ node kaspa-wallet\r\nUsage: kaspa-wallet [options] [command]\r\n\r\nKaspa Wallet CLI v1.1.18\r\n\r\nOptions:\r\n  --version                                output the version number\r\n  --no-sync                                disable network sync for all operations\r\n  --log \u003clevel\u003e                            set log level error, warn, info, verbose, debug, utxodebug\r\n  --verbose                                log wallet activity\r\n  --debug                                  debug wallet activity\r\n  --testnet                                use testnet network\r\n  --devnet                                 use devnet network\r\n  --simnet                                 use simnet network\r\n  --rpc \u003caddress\u003e                          use custom RPC address \u003chost:port\u003e\r\n  --folder \u003cpath\u003e                          use custom folder for wallet file storage\r\n  --file \u003cfilename\u003e                        use custom wallet filename\r\n  --help                                   display help for command\r\n\r\nCommands:\r\n  sync                                     sync wallet with the network\r\n  monitor                                  monitor wallet activity\r\n  balance                                  display wallet balance\r\n  send [options] \u003caddress\u003e \u003camount\u003e [fee]  send funds to an address\r\n  info                                     internal wallet information\r\n  transactions                             list wallet transactions\r\n  address                                  show wallet address\r\n  qrcode [options]                         show wallet address qrcode\r\n  create [options]                         create Kaspa wallet\r\n  permanently-decrypt                      decrypt wallet permanently\r\n  permanently-encrypt                      encrypt wallet permanently\r\n  compound                                 compound transactions by re-sending funds to itself\r\n  help [command]                           display help for command\r\n```\r\n\r\n\r\n\r\ngRPC Interface Utility\r\n----------------------\r\n\r\nKaspa Wallet provides a test utility `rpc.js` allowing you to send RPC commands to `kaspad` from the terminal:\r\n\r\n```\r\n$ node kaspa-rpc\r\nUsage: kaspa-rpc [options] [command]\r\n\r\nKaspa gRPC client\r\n\r\nOptions:\r\n  --version                                         output the version number\r\n  --testnet                                         use testnet network\r\n  --devnet                                          use devnet network\r\n  --simnet                                          use simnet network\r\n  --server \u003cserver\u003e:\u003cport\u003e                          use custom gRPC server endpoint\r\n  -h, --help                                        display help for command\r\n\r\nCommands:\r\n  run [options]                                     Run gRPC \"run -m \u003cmethod\u003e -j \u003cjson_data\u003e\"\r\n  requestBlockLocator [options]                     gRPC call requestBlockLocator\r\n  requestAddresses [options]                        gRPC call requestAddresses\r\n  requestHeaders [options]                          gRPC call requestHeaders\r\n  requestNextHeaders                                gRPC call requestNextHeaders\r\n  requestRelayBlocks [options]                      gRPC call requestRelayBlocks\r\n  requestTransactions [options]                     gRPC call requestTransactions\r\n  requestPruningPointUTXOSetAndBlock [options]      gRPC call requestPruningPointUTXOSetAndBlock\r\n  requestIBDBlocks [options]                        gRPC call requestIBDBlocks\r\n  requestPruningPointHash                           gRPC call requestPruningPointHash\r\n  requestNextPruningPointUtxoSetChunk               gRPC call requestNextPruningPointUtxoSetChunk\r\n  getCurrentNetwork                                 gRPC call getCurrentNetwork\r\n  submitBlock [options]                             gRPC call submitBlock\r\n  getBlockTemplate [options]                        gRPC call getBlockTemplate\r\n  notifyBlockAdded                                  gRPC call notifyBlockAdded\r\n  getPeerAddresses                                  gRPC call getPeerAddresses\r\n  getSelectedTipHash                                gRPC call getSelectedTipHash\r\n  getMempoolEntry [options]                         gRPC call getMempoolEntry\r\n  getConnectedPeerInfo                              gRPC call getConnectedPeerInfo\r\n  addPeer [options]                                 gRPC call addPeer\r\n  submitTransaction [options]                       gRPC call submitTransaction\r\n  notifyVirtualSelectedParentChainChanged           gRPC call notifyVirtualSelectedParentChainChanged\r\n  getBlock [options]                                gRPC call getBlock\r\n  getSubnetwork [options]                           gRPC call getSubnetwork\r\n  getVirtualSelectedParentChainFromBlock [options]  gRPC call getVirtualSelectedParentChainFromBlock\r\n  getBlocks [options]                               gRPC call getBlocks\r\n  getBlockCount                                     gRPC call getBlockCount\r\n  getBlockDagInfo                                   gRPC call getBlockDagInfo\r\n  resolveFinalityConflict [options]                 gRPC call resolveFinalityConflict\r\n  notifyFinalityConflicts                           gRPC call notifyFinalityConflicts\r\n  getMempoolEntries                                 gRPC call getMempoolEntries\r\n  shutDown                                          gRPC call shutDown\r\n  getHeaders [options]                              gRPC call getHeaders\r\n  notifyUtxosChanged [options]                      gRPC call notifyUtxosChanged\r\n  getUtxosByAddresses [options]                     gRPC call getUtxosByAddresses\r\n  getVirtualSelectedParentBlueScore                 gRPC call getVirtualSelectedParentBlueScore\r\n  notifyVirtualSelectedParentBlueScoreChanged       gRPC call notifyVirtualSelectedParentBlueScoreChanged\r\n  ban [options]                                     gRPC call ban\r\n  unban [options]                                   gRPC call unban\r\n  getInfo                                           gRPC call getInfo\r\n  help [command]                                    display help for command\r\n  ```\r\n\r\nRPC Example\r\n-----------\r\n```\r\nnode rpc run -m getTransactionsByAddressesRequest -j '{\"addresses\":[\"kaspatest:qr32vna4u8wdamddwaf8853gt52dsauyp59zlcwd5k\"], \"startingBlockHash\":\"\"}'\r\n```\r\n\r\nRunning Kaspad and Mining\r\n-------------------------\r\n\r\n```sh\r\n./kaspad --utxoindex --testnet --dnsseed=testnet-dnsseed.daglabs-dev.com\r\n./kaspaminer --miningaddr=kaspatest:qq0nvlmn07f6edcdfynt4nu4l4r58rkquuvgt635ac --rpcserver=localhost:16210 --testnet\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspectron%2Fkaspa-wallet-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faspectron%2Fkaspa-wallet-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faspectron%2Fkaspa-wallet-cli/lists"}