{"repo":"Chia-Mine/chia-agent","free":true,"listed":false,"github":"https://github.com/Chia-Mine/chia-agent","clone":"git clone https://github.com/Chia-Mine/chia-agent.git","description":"chia rpc/websocket client library","language":"TypeScript","stars":65,"topics":["chia","rpc","websocket","library","api","nodejs","typescript"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"chia-agent chia rpc/websocket client library for NodeJS. Supports all RPC/Websocket API available at 2.7.1 of chia-blockchain . \\(If you need previous version, search for the corresponding release here\\) you can develop your own nodejs script with chia-agent to: - retrieve latest data from RPC servers like farmer , harvester , full node , wallet , pool , data layer , crawler , solver . - send email when proof is found. - trigger scripts when target event is observed. - start/stop services. - write program to schedule plotting with javascript. - etc, etc, etc Install Compatibility This code is compatible with: - 560a4ab7a96b619bafd4efd5aa2f2e5c8cffea67 of chia-blockchain 2.7.1 - Diff to the main branch of chia-blockchain - 746c6888b685fec4827aacb942803022842ffe71 of chia rs 0.42.1 - Diff to the main branch of chia rs - ef49150171cc243b09c0e5d5cb27f2249ffa3793 of pool-reference - Diff to the main branch of pool-reference API There are 2 kinds of APIs in chia. RPC API and Websocket API . RPC API RPC API is used to send message directly to chia services like farmer , harvester , full node , wallet , data layer , crawler , solver . RPC API is just an async function in a traditional request/response style. Websocket API Websocket API is used to connect to chia daemon . With websocket API, you can request chia daemon to start/stop plotting or other services, or capture various broadcast messages like: - Plotting progress - Farming info such as passed filter, proofs found, etc. Loggi","default_branch":null,"files":null,"tree":[],"storefront":"/r/Chia-Mine","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Chia-Mine/chia-agent/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}