Welcome to EASM

Learn how to write secure, high-performance smart contracts using Ethereum Assembly Language.

๐Ÿš€ Your First Contract

๐Ÿ“ฆ Installation

NPM Installation

$ npm install -g easm-lang
# Verify installation
$ easm --version
Install globally and verify the command line interface

Source Setup

$ git clone https://github.com/easm-lang
$ cd easm-lang
$ npm install
$ npm run build
$ npx easm
Build from source for developers and contributors

โœ๏ธ Your First EASM Contract

Create 'greeter.easm'

contract Greeter{
  owner: Address
  message: String

  fn constructor(initMsg: String) {
    owner = @sender
    message = initMsg
  }

  pub fn get() {
    return message
  }
}

Compile and Deploy

$ easm compile greeter.easm
Compiler OK: Wrote greeter.easm.bytecode
$ easm deploy greeter.easm.bytecode
Contract deployed to 0x3fA...
Compile your contract and deploy to Ethereum networks using the CLI tool

Learn by Example

๐Ÿ’ก

Smart Contract Security

Practical implementation patterns for reentrancy protection, overflow prevention, and gas optimization

View Tutorial
โš™๏ธ

Advanced Patterns

Master complex contract structures, proxy patterns, and EIP-2535 diamond implementation

View Tutorial
๐Ÿงช

Testing Framework

End-to-end testing using EASM's built-in Fuzzer and formal verification tools

View Tutorial
๐ŸŒ

Cross-Chain Tools

Deploy contracts across Ethereum, Polygon, and BSC with automatic ABI conversion

View Tutorial

Build the Future of Ethereum

Thousands of smart contracts are now running with EASM. Start writing secure, efficient, and innovative contracts today.