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.
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.
-
Start the local development environment
> git clone [email protected]:alephium/alephium-stack.git > cd alephium-stack/devnet > docker-compose up -d
-
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
Contributions are welcome! If you have an example you'd like to share:
- Fork the repository
- Create a new branch for your example
- Add your example with clear documentation
- Submit a pull request