# Goal: use a logic program as appcall sender

**URL:** <https://forum.algorand.co/t/goal-use-a-logic-program-as-appcall-sender/5098>\
**Category:** Uncategorized\
**Created:** [November 17, 2021, 5:18pm UTC](https://forum.algorand.co/t/goal-use-a-logic-program-as-appcall-sender/5098 "2021-11-17T17:18:19Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![hernandp](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@hernandp](https://forum.algorand.co/u/hernandp)\
**Post date:** [November 22, 2021, 6:28pm UTC](https://forum.algorand.co/t/goal-use-a-logic-program-as-appcall-sender/5098/9 "2021-11-22T18:28:43Z")

</div>

Sorry for reviving this thread, I’m trying to do a dryrun dump for an app-call that must pass a stateless logic check first,

```auto
#!/bin/bash
source setvars.sh
export SIGNATURES64=`node -e "console.log(Buffer.from('$2','hex').toString('base64'))"`
export VAABODY=$3
export VAABODY64=`node -e "console.log(Buffer.from('$VAABODY', 'hex').toString('base64'))"`
rm verify.txn verify.stxn
goal app call --app-id $1 --from "$STATELESS_ADDR" --app-arg "str:verify" --app-arg "b64:$GKEYSBASE64" --app-arg "int:3" --noteb64 "$VAABODY64" -o verify.txn
goal clerk sign --program vaa-verify.teal --argb64 "$SIGNATURES64" --infile verify.txn --outfile verify.stxn
goal clerk dryrun -t verify.stxn

```

The dryrun passes OK but only checks for the stateless logic, how I can run a dryrun for the app-call after the stateless check?

Do I need `dryrun-remote` instead of offline?

---

_[View the full topic](https://forum.algorand.co/t/goal-use-a-logic-program-as-appcall-sender/5098)._
