Sooraj Profile picture
Jun 13 29 tweets 12 min read Twitter logo Read on Twitter
As it stands, the Haskell-Plutus platform serves as the primary tool for developing & deploying smart contracts on #Cardano

However, a novel programming language "Aiken" is emerging as a superior alternative

Discover what sets Aiken apart & why it's a game-changer for #Cardano Image
2/27
What is Aiken?

It is a pure functional programming language

tailored to offer developers a modern & efficient environment for constructing smart contracts on #Cardano

It is specifically designed to enhance UX by simplifying the process of creating dApps on #Cardano
3/27
Created specifically for the Cardano ecosystem,

Aiken simplifies SC development and deployment while focusing on accessibility and user-friendliness for developers

So let's take a look at the Key Features of Aiken👇
4/27
▪️Familiar Syntax

Aiken employs a Rust-like syntax, making it more accessible to developers familiar with Rust

compared to Haskell’s esoteric syntax

This eases the transition and reduces the learning curve for implementing smart contracts on #Cardano Image
5/27
▪️ eUTxO Knowledge Required

The eUTxO model governs transaction & SC processing on #Cardano

It is fundamentally different from the accounts-based model of #Ethereum

So, despite its simpler syntax,

developers must still understand the eUTxO model to use Aiken effectively
6/27
▪️On-chain Focus:

Aiken is a development platform that is exclusively designed to run on the #Cardano blockchain

This means that it is not suitable for developing off-chain applications

as it can only be executed on the Cardano blockchain
7/27
▪️Off-chain Compatibility

Aiken ensures compatibility with off-chain processes & external tools like @meshsdk, Cardano-Client-Library & Lucid

This allows developers to harness the strengths of each resource,

facilitating the creation of comprehensive #Cardano-based dApps
8/27
▪️UPLC & Lambda Calculus Foundation:

Aiken compiles to untyped Plutus Core (UPLC) & adheres to lambda calculus principles

This allows developers to build SCs that align with #Cardano's computational models,

while utilizing an accessible syntax with optimized performance Image
9/27
▪️Purely Functional:

Aiken maintains its pure functional nature while offering a more familiar syntax

This design choice affects developers, especially those with imperative language backgrounds

As it requires a different problem-solving & software design approach
10/27
▪️ Blueprint Stub Generation:

The Aiken team is developing blueprint stubs for various programming languages,

These serve as templates, providing developers a starting point for implementing off-chain functionality in their preferred languages
11/27
By offering stubs, the Aiken team simplifies connecting on-chain smart contracts with off-chain processes,

enhancing the overall development experience and promoting seamless Cardano ecosystem interoperability.
12/27
▪️Property-based Framework & Formal Verification

The Aiken team prioritizes formal verification for security, reliability & correctness

They plan to introduce a property-based framework

enabling developers to define, test & mathematically prove SC properties & invariants
13/27
This will enhance the quality, safety, and robustness of #Cardano smart contracts

Aiken currently offers an integrated unit test and benchmarking framework for code hardening and experimentation
14/27
▪️ Comprehensive Toolchain:

Aiken comes with a full suite of development tools, including

- a compiler
- code formatter
- language-server
- package manager
- documentation generator & testing framework

These tools enable developers to build, test & deploy SCs efficiently
15/27
But is Aiken an alternative to Haskell?

At the moment, #Cardano smart contracts are primarily developed using Haskell

Although Haskell provides powerful tools for SC development,

its complexity is deterring #Cardano from becoming a developer-friendly platform
16/27
In contrast to Haskell,

Aiken offers a

▪️ A more approachable platform
▪️ A modern development environment & compatibility with Plutus
▪️as well as seamless off-chain interoperability with any language stack

So let's take a deeper look at the key benefits of Aiken
17/27
▪️Aiken is a pure functional PL, & comes with a lot of benefits

A- 1st-class functions

Functions are 1st-class citizens in pure functional languages, allowing higher-order functions & a declarative programming style

facilitating seamless composition of functions Image
18/27
B- These languages support custom types for complex data structures, recursion for elegant algorithms, and generics for reusable, type-safe code

C. Modules & Managers:

Advanced module systems aid code organization & package managers expedite development with reusable code
19/27
▪️Aiken provides a modern development environment

So, What does it mean?

A. Zero configuration, Single tool:

Modern environments require minimal configuration and offer a unified tool for development tasks,

simplifying processes and reducing context-switching overhead.
20/27
B. Quick feedback with error diagnostics:

Enhances productivity & reduces debugging time

C. Language Server Protocol (LSP) with auto-formatting:

Enables cross-platform features like code completion & syntax highlighting while auto-formatting ensures consistent code style
21/27
D. Easy library documentation:

Tools for generating comprehensive documentation promote accessible, maintainable codebases

E. Editor integration (VSCode, NeoVim etc.)

Integration with popular code editors enhances productivity & provides a tailored development experience
22/27
▪️Aiken provides a unique set of toolkits for working with Plutus

that cater to the unique requirements of SC development on #Cardano

A. Built-in unit test framework:

Simplifies writing & maintaining tests for SC ensuring reliability & robustness
23/27
B. Optimized for on-chain execution:

Offers tools for efficient, resource-conscious SC well-suited for Cardano’s constraints.

C. Plutus interpreter & disassembler:

Provides insights into compiled representation and execution, aiding debugging and optimization
24/27
D. Execution cost evaluation & trace reporting:

Allows monitoring resource usage, enabling optimized, cost-effective SC development

E. Low-level script argument injection:

This offers greater control & flexibility in contract design
25/27
The Aiken Team:

The core Aiken development team, consisting of @rvcas @MicroProofs
, and @_KtorZ_

Aiken's inception within the Cardano community led the @Cardano_CF to join forces with the team to advance its development further
@rvcas @MicroProofs @_KtorZ_ @Cardano_CF 26/27
Aiken team has recently released an interactive playground for developers to explore and experiment with the language.

This platform allows developers to write, test & debug Aiken code snippets,

helping them familiarize themselves with the language, syntax, and features
27/27
TLDR:

▪️Aiken is a user-friendly programming language tailored for streamlined smart contract development on #Cardano.

▪️ It's intuitive syntax and integration capabilities, coupled with modern features, has the potential to make #Cardano a developer-friendly platform
If you like threads like this, you will love our newsletter.

Every Sunday morning, you'll get a fundamental assessment of

- dApps
- L1 blockchains
- & technical deep dives

helping you understand the true value of blockchain tech 💡

Please subscribe👇
justthemetrics.beehiiv.com/subscribe

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Sooraj

Sooraj Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @SoorajKSaju

May 2
Almost 90% of #Ethereum's L2 TVL is on rollups such as #Optimism & #Arbitrum

Which lack critical safety measures & are governed by multisigs

putting billions of user funds at risk

Here are the reasons why these rollups are ticking timebombs,

waiting to go up in flames🧵👇 Image
2/25
Primary factor hindering #blockchain's widespread adoption & competition with Web2 solutions is its lack of scalability

Currently, #blockchains are in a phase where they are exploring ways to scale

while maintaining decentralization & security

That's where rollups come in Image
3/25
Rollups are L2 solutions designed to improve blockchain performance & capacity

by processing transactions off-chain,

"THEORETICALLY" utilizing the security & #decentralization of L1 protocols

This is why #Ethereum developers have completely shifted their focus to rollups Image
Read 27 tweets
Apr 20
The current publishing industry is archaic & restrictive

One #Cardano project is challenging these centuries-old business models.

Having published 100,000+ books on #Cardano,

this project empowers readers & users alike

Here is everything you need to know about @book_io 👇 Image
2/26
The global book market is massive.

As of 2023, the global trade book sales revenue is estimated at $78.07 billion.

However, a significant problem exists:

This market is highly centralized, limiting opportunities for users and writers.

Source: wordsrated.com Image
3/26
Traditional book publishers rely on centuries-old business models.

On the other hand, digital books still utilize non-scalable centralized technology from 15 years ago.

Blockchain technology can render these archaic & inefficient systems obsolete, making way for a change!
Read 26 tweets
Mar 19
With the release of the new node version 1.35.6.

#Cardano now supports Dynamic peer-to-peer (P2P) networking capability

This update brings a significant boost for the

Resilience & decentralization of #Cardano's networking layer

Why?

Let's dive in🧵👇
Decentralization is a core value driver for #Cardano

& there are 3 pillars to #Cardano's decentralization

• Networking

• Governance

• Block production

With this upgrade

#Cardano has now achieved complete decentralization of its networking layer

How? let's take a look👇
So what is a networking layer?

Cardano’s networking layer is a physical infrastructure,

that combines nodes and their interaction into a unified system

The network distributes information about transactions and block creation among all active nodes.
Read 33 tweets
Mar 17
The US #Fed is on an ambitious mission to reduce its balance sheet & hike interest rates

As a result, the financial & tech sectors are experiencing significant disruptions & setbacks

BUT

This creates ONCE IN A GENERATION opportunity for #blockchains like #Cardano

Why?🧵👇 Image
So, what is the balance sheet, and why does it exist?👇

The Federal Reserve employs various tools to regulate the financial system

including manipulating the flow & cost of capital

Typically, the preferred methods of achieving these objectives are through interest rates

BUT
In certain circumstances, the Fed turns to its BALANCE SHEET

another instrument from its monetary policy toolbox to control the money supply

So what is Fed's Balance sheet?

The Fed balance sheet represents the assets & liabilities of the United States Federal Reserve Image
Read 29 tweets
Feb 9
#Bitcoin is the only #blockchain that offers

Dynamic participation for validator nodes in a decentralized environment

None of the PoS #blockchains can offer this

But Ouroborus Genesis will make #Cardano the first PoS #blockchain with this capability

How? Here's a Thread🧵👇
Ouroboros Genesis is a highly anticipated upgrade to the consensus protocol of #Cardano in 2022

This upgrade is designed to address the issues of costless simulation and the bootstrapping problem and mitigate the threat of long-range attacks

in a decentralized, open environment
To understand how Ouroborus Genesis will give #Cardano the same security guarantees ad #Bitcoin

We need to start from the basics

To understand this topic from a first principles perspective!

For that let's start form #Bitcoin
Read 51 tweets
Feb 5
Introducing Dandelion API,

a set of APIs designed to simplify the process of developing decentralized applications and smart contracts on #Cardano

A tool that helps developers to access and work on #Cardano with ease and efficiency

Want to know more?

Here’s a thread🧵👇
The Dandelion project is a community-supported initiative

led by @gimbalabs and operated by @repsistance

That offers a wide range of APIs for developers to access different layers of the Cardano

These APIs can be used to build a wide range of

dApps, light wallets, and more
Dandelion API offers 2 different paths for developers to get started

▪️A hosted instance of every available Cardano API offered as a free community service by @gimbalabs

▪️An open-source project to deploy the community service using Kubernetes (a container orchestration tool)
Read 17 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(