{"id":16354206,"url":"https://github.com/mpwsh/chia-client","last_synced_at":"2025-09-13T19:28:50.338Z","repository":{"id":186889325,"uuid":"614939092","full_name":"mpwsh/chia-client","owner":"mpwsh","description":"Wrapper to work with Chia node RPC endpoints","archived":false,"fork":false,"pushed_at":"2024-01-31T17:12:36.000Z","size":66,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T08:49:31.821Z","etag":null,"topics":["blockchain","chia","chia-blockchain","chia-network","cryptocurrency","rpc","rust"],"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/mpwsh.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}},"created_at":"2023-03-16T16:09:13.000Z","updated_at":"2023-08-12T01:53:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"6da3fd82-9875-43e0-904f-172d9a087d37","html_url":"https://github.com/mpwsh/chia-client","commit_stats":null,"previous_names":["mpwsh/chia-node-rs","mpwsh/chia-client"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpwsh%2Fchia-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpwsh%2Fchia-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpwsh%2Fchia-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mpwsh%2Fchia-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mpwsh","download_url":"https://codeload.github.com/mpwsh/chia-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239635519,"owners_count":19672190,"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":["blockchain","chia","chia-blockchain","chia-network","cryptocurrency","rpc","rust"],"created_at":"2024-10-11T01:33:11.024Z","updated_at":"2025-02-19T09:45:29.886Z","avatar_url":"https://github.com/mpwsh.png","language":"Rust","readme":"## Description\n\n`chia-client` is a simple Rust library to interact with the Chia RPC API (fullnode/wallet/harvester). Currently, most of the RPC endpoints are available and some utility functions to encode and decode puzzle hashes.\n\n## Installation\n\nTo use `chia-client` in your Rust project, add the following to your Cargo.toml:\n\n```toml\n[dependencies]\nchia-client = { git = \"https://github.com/mpwsh/chia-client\" }\n```\n\n## Usage\n\nPlease checkout a basic example at [./examples/get_balance.rs](examples/get_balance.rs)\n\nRun the example:\n\n```bash\ncargo run --example get_balance\n#output\nBalance: 0.000000000001 XCH\n```\n\nThere's another example to create a simple `CLI` called `chiactl` to get balance as well, that you can expand with more useful commands.\n\n## Using example project `chiactl`\n\nUpdate the contents of [./examples/ctlconfig.yaml](./examples/ctlconfig.yaml) to suit your needs, and then run the following to fetch the balance for a wallet address:\n\n```bash\ncargo run --example chiactl -- get balance \u003cwallet_address\u003e --config examples/ctlconfig.yaml\n```\n\nGet 'transactions' for a given wallet\n\n```bash\ncargo run --example chiactl -- get transactions \u003cwallet_address\u003e --config examples/ctlconfig.yaml\n```\n\n\u003e You could also provide these values using command arguments, or specify the path of the config file in an arg as well. Use --help to get all available arguments.\n\nMore commands:\n\n```bash\ncargo run --example chiactl -- get blockchain --config examples/ctlconfig.yaml\ncargo run --example chiactl -- get network --config examples/ctlconfig.yaml\ncargo run --example chiactl -- get blockmetrics --config examples/ctlconfig.yaml\ncargo run --example chiactl -- get block 3392968 --config examples/ctlconfig.yaml\n```\n\nAll `get` commands\n\n```bash\nSUBCOMMANDS:\n    balance\n    block\n    blockchain\n    blockmetrics\n    coin\n    network\n    transactions\n```\n\n# Contributing\n\nIf you'd like to contribute to the development of `chia-client`, feel free to submit a pull request or create an issue on the GitHub repository.\nLicense\n\n\u003e This project is licensed under the MIT License. See the LICENSE file for more information.\n\n# Credits\n\nThis is a fork of crate `chia-node-rs` from Mike Cronce: https://gitlab.cronce.io/foss/`chia-client`\n\n# Disclaimer\n\nPlease note that this library is provided \"as-is\" and the author is not responsible for any harm or misuse that may arise from the use of this library. Users are advised to use this library at their own risk and are encouraged to review the source code and understand the workings of the library before using it in any application or project.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpwsh%2Fchia-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmpwsh%2Fchia-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmpwsh%2Fchia-client/lists"}