For starters, smart contracts in Solana are called programs and are stateless. This means that, unlike Ethereum smart contracts which contain both the program logic and state, Solana programs contain only the logic and are deployed on-chain in a ‘read-only’ mode. Once deployed, the programs can be accessed by external accounts, which contain the data related to program interaction (unlike Ethereum accounts, accounts on Solana can store data). This separation of logic and state informs the specific production flow of Solana dApps.
Every Solana dApp consists of two parts: a blockchain-based program (or set of programs) and a web application through which users can interact with the blockchain code. The blockchain program is deployed directly to a Solana cluster and users can then send instructions to the program via transactions. A single transaction can contain one or several instructions, which are then executed sequentially and atomically. If all instructions are valid, the program is successfully executed. However, if even a single instruction is invalid, the changes made by the transaction are discarded.
9
22 reads
CURATED FROM
IDEAS CURATED BY
The idea is part of this collection:
Learn more about startup with this collection
The differences between Web 2.0 and Web 3.0
The future of the internet
Understanding the potential of Web 3.0
Related collections
Similar ideas to What is Solana’s Programmability?
Ether is made of a blockchain (an immutable database) and a world decentralised computer (EVM), a virtual machine in which all the smart contracts function in Ethereum.
The EVM is a simple yet powerful Turing Complete 256-bit virtual machine. Turing Complete means that given the re...
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
—
100+ Learning Journeys
—
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates