FAQ
This page is dedicated to troubleshooting issues found when building on the AI Agent Contract.
1. Why does my code fail to run a local testnet when executing the commands npm run start
and npm run dev
?
npm run start
and npm run dev
?For these commands to work, you must have Docker installed on your machine. Check out the Docker Docs or try installing Docker Desktop.
2. How do I query my local AI Agent Contract build when running a local testnet?
To interact with your local AI Agent Conract build through a local testnet, you will use the following curl
commands:
3. How do I add secrets to my AI Agent Contract build when running a local testnet?
Execute the following command to add your secrets. Make sure to set the cid
key to value local.
4. How do I check the logs of my local testnet?
Logs can be checked by running the following curl
command:
You should see your logs outputed in your terminal like below.
For further assistance, refer to the documentation or reach out to the support team.
Last updated