{"repo":"dkackman/chia-repl","free":true,"listed":false,"github":"https://github.com/dkackman/chia-repl","clone":"git clone https://github.com/dkackman/chia-repl.git","description":"A REPL tool for Chia","language":"JavaScript","stars":22,"topics":["chia","chia-blockchain","repl","nodejs","crypto","blockchain","clvm","nft"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"chia-repl A REPL tool for Chia that incorporates various chia and crypto utilities in a single, interactive node environment. - Chia RPC - clvm tools-js - clvm-js - chia-utils - @rigidity/bls-signatures - chia-daemon - chia-nft-minter The wiki has more examples and detail. Packaged From Source Uses the node repl so the CLI works like node's. Commands REPL commands always start with . and are lsited with .help . Globals Various global objects and functions are available within the REPL environment and can be listed with .more-help . Some of these configure the connection and REPL options, while other enable interaction with the chia node, utility functions, and the clvm. Examples The global connection context object has the host, port, and path to cert files. These properties can be set inside the repl with connection.host = \"my-host\" etc. Once connected to the daemon each of the service endpoints becomes availalbe as an awaitable context function. Knowing the chia rpc api will help immensely. All endpoints and data payloads should work. Since it is a full nodejs REPL environment, core modules like fs and http are available. Mint a simple NFT Run a CLVM Program Compile a Simple Program with clvm tools Compile a Simple Program From a File Compile a ChiaLisp Program Test a ChiaLisp Program Connecting and Calling a Node Function Chaining Calls Since it is a javascript environment, variables can be defined and set, and are preserved through. The special value can also be used to c","default_branch":null,"files":null,"tree":[],"storefront":"/r/dkackman","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dkackman/chia-repl/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."}