4

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?

1 Answer 1

6

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.

3
  • 2
    Can you please link to a github or other example so I can figure it out? thanks.
    – KryptoKing
    Apr 5, 2022 at 16:25
  • 4
    There aren't any :) You're treading new ground! I'm just explaining from a high level how it is designed to work. Apr 6, 2022 at 2:23
  • 1
    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
    Apr 6, 2022 at 11:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.