Compilation and deploy on network

Hi all,
I have written a smart contract in pyteal and got its teal code for but now I am confused how to compile it and deploy on the network please help
The code is this:

#pragma version 2
txn TypeEnum
int pay
==
global GroupSize
int 1
==
&&
txn Receiver
addr VMWNTFZJI7U3OOPDJGVPVMTN2GEM3UIPCMNXPORBCEKGR4IZ5JFJ422AMU
==
&&
txn CloseRemainderTo
global ZeroAddress
==
&&
txn CloseRemainderTo
global ZeroAddress
==
&&
txn Fee
int 1000
<=
&&
return

(Edited to put the code in triple backquote ``` which makes it much easier to read).

Hi Isha,

You’d want to sign a txn with the logic and submit it to the network, please refer to this section of the docs for some more details and examples:

1 Like

Oh okay I’ll check that.
Thank you!