Skip to content

ExpressDo/Expresschain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Expresschain

Express chain is a simple blockchain implementation in the Cairo programming language. This blockchain includes basic functionalities such as creating blocks, mining blocks using proof-of-work, and adding blocks to the chain.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Before you begin, ensure you have the following installed:

  • Cairo Compiler
  • Ethereum Virtual Machine (EVM)

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/my-blockchain.git
  2. Navigate to the project directory:

    cd my-blockchain
  3. Compile the Cairo contracts:

    # Replace <contract_filename> with the actual filename
    cairo-compile --output=<contract_filename>.out <contract_filename>.cairo
  4. Deploy the compiled contract to the Ethereum blockchain.

Usage

Here's how you can interact with the blockchain:

1. Initialize the Blockchain

// Replace <initial_data> with your desired data
init(<initial_data>, <initial_difficulty>)

About

Next generation privacy chain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages