Back to Blog

0x07. Aeternity Sophia ML workshop – [Blockchain Developers Meetup]

2 min read·Posted underEvents,Meet-ups &Tech Talks

Updated on

Cover Image for 0x07. Aeternity Sophia ML workshop – [Blockchain Developers Meetup]

Hey guys,

Yesterday we had our 7th Blockchain Developers Meetup this time dedicated to Aeternity’s Sophia smart contract language.

Blockchain Developers Meetup 0x07 Aeternity Sophia workshop

For those of you who couldn’t attend or miss it – here is a brief summary of what we discussed and what we covered, also all of the resources.

Blockchain developers digest

As usual we’ve started our meetup with an overview of the blockchain ecosystem from the developers perspective.

Hristo’s blockchain developers digest

Hristo walked us trought the recent blockchain developers news digest, and explained some of the most important ones:

  • Ethereum Hard Fork – Constantinople and Petersburg
  • Aeternity Minerva Protocol Update Release
  • Bitcoin BIP174 – Partially Signed Bitcoin Transaction (PSBT)
  • LeapDAO MVP /More Viable Plasma/
  • Monoplasma 
  • Baidu Blockchain Engine (BBE) Platform
  • WeiDex  Developments

After the blockchain developers news digest, it was time to step into Sophia ML.

Sophia ML presentation

Milen covered the specifications of the language, showing a simple smart contract, and talking about the different types and built-in functions we have in Sophia.

Sophia types and Built-in functions
Solidity vs Sophia smart contract comparison

He talked about what improvemets can we expect to be introduced with the following Minerva update – such as safe arithmetical operations and more.

Workshop

For the workshop part, Milen had prepared an Auction smart contract both in Solidity and in Sophia and walked us through every single detail, explaining and comparing the two of them.

Milen showing the differences between Solidity and Sophia

The auction had functions for placing a bid, refunding losing bids, withdrawing the winning bid by the owner of the auction and a function to cancel the auction.

Sophia Auction aepp – partial code

Milen covered the syntax specifics of the Sophia Language. Function definitions and how can we create ourselves helper functions to use as modifiers and more.

The whole code you can get from the github repo provided below in the resources.


Watch the recording here:

Aeternity Sophia Language Workshop – 0x07 [Blockchain Developers Meetup]

Resources

Follow us

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