<p>You need to serialise your on-chain validator into Plutus Script. You can use some of the existing examples here <a href="https://github.com/james-iohk/Alonzo-testnet/tree/update-cabal-1.29.0/resources/plutus-sources" rel="nofollow noreferrer">https://github.com/james-iohk/Alonzo-testnet/tree/update-cabal-1.29.0/resources/plutus-sources</a> to see how your on-chain codes can be serialised and exported into *.plutus format. Then you can use Cardano cli to construct transaction and play with your smart contract, which is essentially a hash of Plutus Script. This link <a href="https://plutus.readthedocs.io/en/latest/plutus/howtos/exporting-a-script.html" rel="nofollow noreferrer">https://plutus.readthedocs.io/en/latest/plutus/howtos/exporting-a-script.html</a> is also useful as well.</p>

CC BY-SA 4.0
2021-09-27T22:11:55.247Z
2021-09-27T22:11:55.247Z
Giang Nguyen
<p>I understand you have the technical know-how so I will just post the link in question. So keep in mind, give it a good read. Marlowe JS compiles to Haskell Plutus which is further compiled to Plutus Bytecode/Opcode, can't recall which, not sure it matters. But at the transaction level, we will always be sending the most raw format, bytecode/opcodes.</p>
<p>See <a href="https://docs.cardano.org/plutus/Plutus-transactions" rel="nofollow noreferrer">Plutus Enabled Transactions</a></p>

CC BY-SA 4.0
2021-09-27T18:35:47.617Z
2021-09-27T18:35:47.617Z
Patrick Sturm
<p>i am developing smart contract in plutus/marlowe playground which i compiled and simulate contracts successfully but now i want to deploy a contract on Cardano blockchain</p>

CC BY-SA 4.0
2021-09-24T20:39:50.727Z
You'll need a way to submit the transaction. Most devs have only had a few weeks to see the final version so tools might still be a while away. Are you technically skilled enough to install cardano node on your own?
Patrick Sturm
CC BY-SA 4.0
2021-09-27T05:14:55.707Z
@PatrickSturm yes I already installed Cardano node and CLI both.
Saeed Ullah Khan
<plutus><smart-contract><cardano-node><marlowe>
How to deploy plutus/marlowe contract on Cardano blockchain
# How to deploy plutus/marlowe contract on Cardano blockchain

(Asked by: username_0 on 2021-09-24)

i am developing smart contract in plutus/marlowe playground which i compiled and simulate contracts successfully but now i want to deploy a contract on Cardano blockchain

**Tags:** plutus, smart-contract, cardano-node, marlowe
> **Comments:**
> **username_1**: You'll need a way to submit the transaction. Most devs have only had a few weeks to see the final version so tools might still be a while away. Are you technically skilled enough to install cardano node on your own?  
> **username_0**: @PatrickSturm yes I already installed Cardano node and CLI both.  

---

## 2 answers

### Answer by username_2 on 2021-09-27. Score: 1 | Accepted answer

You need to serialise your on-chain validator into Plutus Script. You can use some of the existing examples here <https://github.com/james-iohk/Alonzo-testnet/tree/update-cabal-1.29.0/resources/plutus-sources> to see how your on-chain codes can be serialised and exported into \*.plutus format. Then you can use Cardano cli to construct transaction and play with your smart contract, which is essentially a hash of Plutus Script. This link <https://plutus.readthedocs.io/en/latest/plutus/howtos/exporting-a-script.html> is also useful as well.


---

### Answer by username_1 on 2021-09-27. Score: 1

I understand you have the technical know-how so I will just post the link in question. So keep in mind, give it a good read. Marlowe JS compiles to Haskell Plutus which is further compiled to Plutus Bytecode/Opcode, can't recall which, not sure it matters. But at the transaction level, we will always be sending the most raw format, bytecode/opcodes.

See [Plutus Enabled Transactions](https://docs.cardano.org/plutus/Plutus-transactions)


---

