<p>In the Week 1 lectures, Lars mentions that the off-chain code is to be executed by the Wallet; this makes sense as the Wallet has access to the Private Keys that would be essential in signing the transactions prior to submitting to the blockchain.</p>
<p>My question is, by what mechanism does the Wallets get the off-chain code to execute? How does the Wallet then know what order said code needs to be executed in (i.e., on the EnlishAuction a user needs to first 'start' the action prior to anyone being able to actually bid for the NFT).</p>
<p>Lastly, and this is probably covered in later lectures, how would Plutus off-chain code handle transactions that require signing from multiple Private Keys?</p>

CC BY-SA 4.0
2022-01-17T13:56:28.387Z
My intuition tells me it's being handled by Plutus Schema: [Schema](https://playground.plutus.iohkdev.io/doc/haddock/playground-common/html/Schema.html#t:FormSchema) This is just a guess however.
d_fajardo
CC BY-SA 4.0
2022-01-20T06:17:10.477Z
This should be edited to be a couple of generic questions (if not already asked).  There is nothing "Plutus-Pioneer" specific about "How does off-chain code get passed to the wallet for execution"
gRebel
CC BY-SA 4.0
2022-01-20T06:18:01.833Z
[ask] and [help/dont-ask] have good guidelines
gRebel
<plutus-pioneer-program>
Pioneer Q&A question: How does the off-chain code get passed to the Wallet for execution
# Pioneer Q&A question: How does the off-chain code get passed to the Wallet for execution

(Asked by: username_0 on 2022-01-17)

In the Week 1 lectures, Lars mentions that the off-chain code is to be executed by the Wallet; this makes sense as the Wallet has access to the Private Keys that would be essential in signing the transactions prior to submitting to the blockchain.

My question is, by what mechanism does the Wallets get the off-chain code to execute? How does the Wallet then know what order said code needs to be executed in (i.e., on the EnlishAuction a user needs to first 'start' the action prior to anyone being able to actually bid for the NFT).

Lastly, and this is probably covered in later lectures, how would Plutus off-chain code handle transactions that require signing from multiple Private Keys?

**Tags:** plutus-pioneer-program
> **Comments:**
> **username_1**: My intuition tells me it's being handled by Plutus Schema: [Schema](https://playground.plutus.iohkdev.io/doc/haddock/playground-common/html/Schema.html#t:FormSchema) This is just a guess however.  
> **username_2**: This should be edited to be a couple of generic questions (if not already asked).  There is nothing "Plutus-Pioneer" specific about "How does off-chain code get passed to the wallet for execution"  
> **username_2**: [ask] and [help/dont-ask] have good guidelines  

---

## 0 answers

