<p>To create a side chain, you need a smart contract language both on the Cardano side and also on the side chain side. You also need off-chain code (e.g. a website) for people to interact with those contracts. The general idea is on the Cardano side you create a native token (or use one already in existence), and you have a smart contract that burns that native token, and a corresponding smart contract on your chain that mints that token, and vice-versa. Each chain is independent aside from the interaction of the two smart contracts. You probably also want some logic that prevents the user from minting funds until the other chain can guarantee there won't be a rollback, etc... On the cardano side, that would be the security window of 3k/f slots or 36 hours to have an absolute guarantee that transaction is permanent.</p>

CC BY-SA 4.0
2022-04-05T16:25:02.690Z
Can you please link to a github or other example so I can figure it out? thanks.
KryptoKing
CC BY-SA 4.0
2022-04-06T02:23:54.850Z
There aren't any :) You're treading new ground! I'm just explaining from a high level how it is designed to work.
Samuel Leathers
CC BY-SA 4.0
2022-04-06T11:05:32.533Z
Okay idint know that sorry. I was waiting to accept the answer with the link, but inlight of your comment I should change that.
KryptoKing
CC BY-SA 4.0
2022-04-05T15:32:02.100Z
2022-04-05T15:32:02.100Z
Samuel Leathers
<p>I want to make a side chain on Cardano to so something that the protocol says should be done on a sidechain, but how do I make one?</p>
<p>Can I use Plutus or am I limited to the CLI?</p>

<plutus><cardano-cli><smart-contract><cardano-node><sidechains>
How do I make a Sidechain
# How do I make a Sidechain

(Asked by: username_0 on 2022-04-05)

I want to make a side chain on Cardano to so something that the protocol says should be done on a sidechain, but how do I make one?

Can I use Plutus or am I limited to the CLI?

**Tags:** plutus, cardano-cli, smart-contract, cardano-node, sidechains

---

## 1 answers

### Answer by username_1 on 2022-04-05. Score: 7 | Accepted answer

To create a side chain, you need a smart contract language both on the Cardano side and also on the side chain side. You also need off-chain code (e.g. a website) for people to interact with those contracts. The general idea is on the Cardano side you create a native token (or use one already in existence), and you have a smart contract that burns that native token, and a corresponding smart contract on your chain that mints that token, and vice-versa. Each chain is independent aside from the interaction of the two smart contracts. You probably also want some logic that prevents the user from minting funds until the other chain can guarantee there won't be a rollback, etc... On the cardano side, that would be the security window of 3k/f slots or 36 hours to have an absolute guarantee that transaction is permanent.

> **Comments:**
> **username_0**: Can you please link to a github or other example so I can figure it out? thanks.  
> **username_1**: There aren't any :) You're treading new ground! I'm just explaining from a high level how it is designed to work.  
> **username_0**: Okay idint know that sorry. I was waiting to accept the answer with the link, but inlight of your comment I should change that.  

---

