Hi there,
I was trying to execute the Algoriddle teal code, but I’m getting some errors.
I placed the algoriddle.teal file in the main directory ~/node
then I typed:
./goal clerk send --amount 0 --argb64 "*** my solution ***" --to "*** my address ***" --from KFGWR5LVDNWO3RRDNUUZN725S7V7FG5RLYEHUAIROSL6CBKLEHCKVZRXTE --close-to "*** my address ***" --from-program algoriddle.teal --fee 1000
and get this error:
Data directory not specified. Please use -d or set $ALGORAND_DATA in your environment. Exiting.
so I retyped:
./goal clerk send --amount 0 --argb64 "*** my solution ***" --to "*** my address ***" --from KFGWR5LVDNWO3RRDNUUZN725S7V7FG5RLYEHUAIROSL6CBKLEHCKVZRXTE --close-to "*** my address ***" --from-program algoriddle.teal --fee 1000 -d ~/node
and get this other error:
Error determining kmd folder (open /Users/username/node/genesis.json: no such file or directory). Ensure the node is running in /Users/username/node.
Any suggestion?