{"repo":"circlefin/contract-cli","free":true,"listed":false,"github":"https://github.com/circlefin/contract-cli","clone":"git clone https://github.com/circlefin/contract-cli.git","description":"CLI for Managing Smart Contracts","language":"TypeScript","stars":15,"topics":["blockchain","nodejs","smart-contract-tools","smart-contracts"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"contract-cli Introduction Contract-cli is your configurable build tool for smart contracts. It makes management of your smart contracts, including compiling and testing easier and more consistent. With the contract-cli, you can: - configure a series of steps to execute against your smart contracts - create your own steps, or use provided defaults for common operations - execute your steps serially in a docker container and have the outputs available locally Prerequisites Before installing the contract-cli, the following requirements should be installed: - Docker Engine version 20.10.8 - NodeJS version 16.16.0 Earlier versions may work but have not been tested and are not considered officially supported. Installation Note: We use the -g flag for global installation here to enable operation from the command line. Quick Usage In the root directory of your contracts and/or contract tests, run: If there are specific build steps you would like to include, you can specify those with the --steps flag. For example: This will create your config file, and directories for each step you’ve created. Your directory may now look something like the following: At this time, you should read through and edit where necessary the config.json file. In particular, you may want to update the contractsRoot and testsRoot to locate your contracts and tests. You may also want to look at the install.sh and execute.sh files in each step directory. Those specify how the step will be installed and/or execute","default_branch":null,"files":null,"tree":[],"storefront":"/r/circlefin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/circlefin/contract-cli/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."}