WAVS builders handbook
Makefile commands
Commands
Use make help
to see all the commands:
make help
Here are the available make
commands and their descriptions:
build building the projectwasi-build building WAVS wasi components | WASI_BUILD_DIRwasi-exec executing the WAVS wasi component(s) with ABI function | COMPONENT_FILENAME, INPUT_DATAwasi-exec-fixed the same as wasi-exec, except uses a fixed input as bytes (used in Go & TS components) | COMPONENT_FILENAME, INPUT_DATAclean cleaning the project filesclean-docker remove unused docker containersvalidate-component validate a WAVS component against best practicesfmt formatting solidity and rust codetest running testssetup install initial dependenciesstart-all-local starting anvil and core services (like IPFS for example)get-trigger-from-deploy getting the trigger address from the script deployget-submit-from-deploy getting the submit address from the script deploywavs-cli running wavs-cli in dockerupload-component uploading the WAVS component | COMPONENT_FILENAME, WAVS_ENDPOINTdeploy-service deploying the WAVS component service json | SERVICE_URL, CREDENTIAL, WAVS_ENDPOINTget-trigger get the trigger id | SERVICE_TRIGGER_ADDR, RPC_URLshow-result showing the result | SERVICE_SUBMISSION_ADDR, TRIGGER_ID, RPC_URLupload-to-ipfs uploading the a service config to IPFS | SERVICE_FILE, [PINATA_API_KEY]update-submodules update the git submodulescheck-requirements verify system requirements are installed
For more information on commands when using the template, visit the WAVS tutorial.