Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.16 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.16 KB

Ralph Examples

A collection of example projects and code snippets demonstrating how to use Ralph, the smart contract programming language on Alephium with a focus on security and simplicity.

Overview

This repository contains practical examples to help you learn and understand Ralph programming concepts. Whether you're new to Ralph or looking to deepen your understanding, these examples provide hands-on learning opportunities.

Getting Started

  1. Start the local development environment

    > git clone [email protected]:alephium/alephium-stack.git
    > cd alephium-stack/devnet
    > docker-compose up  -d
  2. Go to each of the example and run the following commands

    # e.g. the blind-auction example
    > cd blind-auction
    > npm install
    > npm run compile
    > npm run test

Contributing

Contributions are welcome! If you have an example you'd like to share:

  1. Fork the repository
  2. Create a new branch for your example
  3. Add your example with clear documentation
  4. Submit a pull request

Resources