Back to Blog

Parachains and Smart Contracts – 03. [Sofia Polkadot]

3 min read·Posted underEvents &Meet-ups

Updated on

Cover Image for Parachains and Smart Contracts – 03. [Sofia Polkadot]

Time goes by and this week we have reached the time for our 3rd Polkadot meetup.

We are always happy to share with our community cutting edge technologies and best practices when using specific tools and protocols.

Milen Radkov presenting at Polkadot Sofia meetup

Parachains and Smart Contracts

This time the focus was on parachains and more specifically how they differ from the typical smart contracts, that we all are used to. What are the benefits? How to develop them and what are they good for?

Milen Radkov had prepared for us some exciting presentation. Let’s find out!

For those of you who could not attend we would like to give you the meetup plan. This time we had 2 parts. On the first part we talked how things in Polkadot work in theory and on the second part we focused on the code and the tools that are doing the magic.

We started with the well know to all blockchain developers Smart Contracts functions. When we think about it – it is really cool that one can write a dApp and push it to the network without permission, knowing that this app will live “forever” without worrying that somebody is going to change his logic, but we all know that the current solutions are not perfect. We are also limited by the computational complexity and the price that we have to pay for it. Not to mention that your code is good to go forever but only on one chain.

So what are the alternatives?

And why are we excited to follow the development of projects like Polkadot.

  • In Polkadot transactions are unmetered /so you can have extremely complex state transition functions and never have to think about running out of gas/
  • Parachains are like building your own blockchain and not have to think about security, because of the shared security mechanism that Polkadot provides
  • One can trust the Polkadot validator set that they are securing the chain
  • Interoperability – you can message between all the different parachains /message passing/ async

In the second part of the meetup, we deep dived into the code to discover the advantages of using Polakot and Substrate. For those of you who are new to Polkadot, Substrate is a framework allowing us to build entirely new blockchain only in few commands, stepping up on Polkadot’s development and helping us developers to focus on our business logic.

Substrate module example

During the code review, Milen showed us how quick it is to run a custom parachain with a simple betting game ruining on it. (this was first shown by Gavin Wood at the Web3 Summit in Berlin a few months ago – see the full tutorial).

He walked us trough the code and explained briefly with the syntax and structure of the substrate project.


Watch the recording of the session here:


Resources

Have a project in mind?

Let's talk about what you're building.


Milen
About the author

Milen

Milen Radkov has experience building and delivering successful complex software systems and projects for both big enterprises and small startups. Being actively developing across different blockchain protocols, platforms and projects for the past 5 years, he has gained extensive experience in blockchain development, architectures, consensus algorithms and token economics. Milen is a well-known figure in the blockchain space.


More Stories

Cover Image for The zkEVM Race: Ethereum’s Most Difficult Engineering Problem

The zkEVM Race: Ethereum’s Most Difficult Engineering Problem

Every blockchain faces the same uncomfortable question eventually: what happens when more people want to use it than it can handle? For Ethereum, that question stopped being theoretical years ago. At peak congestion, a simple token swap can cost more in gas fees than the tokens themselves are worth. The network processes roughly 15 transactions […]

Read more
Cover Image for The Hidden Threats in Code Review Requests: A Cautionary Tale for Developers

The Hidden Threats in Code Review Requests: A Cautionary Tale for Developers

As developers, we’re often approached to troubleshoot or optimize projects. While most requests are legitimate, sometimes they conceal malicious intent. Recently, we’ve been encountering situations that underscore the importance of vigilance in our field. Here’s a detailed account of what happened in one of the requests, how we uncovered the threat, and the lessons we […]

Read more