ErgoHack VIII: Ergo As A Smart Layer

Ergo Platform

May 29, 2024

Since the launch of Ergo in 2019, ErgoHacks have emerged as a critical event in the Ergo community’s year. These hackathons are a chance for community devs to work intensively on specific projects. While ErgoHacks were originally conceived as competitive events, they have evolved into opportunities to work with experienced mentors, and have significantly contributed to the development of essential tools and decentralized applications (dApps) that form the core infrastructure of the Ergo ecosystem.

The theme for current hackathon, ErgoHack VIII, which takes place from 25 May to 2 June, is Ergo As A Smart Layer For Bitcoin. The aim is to leverage Ergo’s unique features, such as the extended UTXO model and Sigma protocols, to build DeFi applications that help position Ergo as a means of extending Bitcoin’s own functionality.

Participants – both solo and in teams of up to six – have the chance to showcase their skills, collaborate with fellow developers, and contribute to the ecosystem's growth. The event includes planning, designing, and workshopping proposals with guidance from industry experts in blockchain, AI, finance, and project development.

Here are some of the key projects that participants are building.

Lightning Swaps (Analog Ergo)

The Atomic Swap Software team is working on a proof-of-concept integration for atomic cross-chain swaps between Bitcoin’s Lightning Network and Ergo.

Their solution will use Lightning Network “Submarine Swaps,” which use HTLC or Hash Time Lock Contracts to enable swaps between Lightning Network BTC and Mainnet BTC. The Atomic Swap Software team has implemented a similar system on Ergo using EC Point Time Lock Contracts. Their main goal is to modify Ergo contracts to be compatible with Lightning Network's hashed preimage system. Future compatibility with PTLCs (Point Time Lock Contracts) may allow broader use of their existing contracts with Lightning Network swaps. Additionally, they plan to implement Reverse Submarine Swaps to ensure smooth liquidity paths in both directions for integrated chains.

The team has already implemented a unidirectional swap between Sepolia EVM Testnet and Testnet Ergo, and are now developing critical security features before public testing and Mainnet launch. The Lightning link will act as a secondary liquidity path for their market network.

CrystalPool

The CrystalPool team plans to deliver a proof-of-concept for a self-custodial exchange that offers a real-time user experience similar to conventional centralized exchanges. They aim to develop a user interface for trading, an order book management system, and core functionalities for handling chains of unsubmitted transactions. Key components include a transaction processing system, a communication protocol for multi-signatures, integrated wallet functions, and a user interface for order creation and balance tracking.

CrystalPool uses time-limited multisig smart contracts and a headless wallet to facilitate real-time exchange transactions on Layer 1. The exchange ensures self-custody by requiring both the user's and pool's public keys to sign operations, with the user gaining full control after a specified time limit. The integrated wallet provides real-time balance updates and seamless transaction processing.

The team has already implemented mathematical functions for the Black-Scholes model in ErgoScript, pricing call options, and dual asset exchanges. Upcoming tasks involve refining option exercising stages, supporting various strikes and expirations, and further enhancing the UI.

Cup of Sugar

Cup of Sugar seeks to use the blockchain in a real-world setting, facilitating the creation of a LETS (local exchange-trading system). LETS are micro-economies in which goods and services are exchanged for a local or native currency. (The project has already airdropped some $COS tokens to community members’ wallets.)

Cup of Sugar offers farm-fresh, traceable products that promote local agriculture. However, the project intends to go further than this by offering a blueprint for micro-grocers and coffee shops who want to use the same approach.

OptionPools (Duckpools)

The initiative targets the creation of highly liquid option markets, using Ergo's unique capabilities and the Rosen Bridge to establish the network as the hub of crypto options trading.

OptionPools has integrated complex mathematical functions into ErgoScript to develop an on-chain Black-Scholes options pricing model. This includes logarithmic, exponential, and square root functions, along with a rough implementation of the Cumulative Distribution Function (CDF). The model has been tested on-chain by pricing and selling call options from a dual-asset option pool. Test asset exchanges are being carried out.

Ephemeral Token Messaging

This project aims to create a private messaging system that uses the Ergo blockchain and mempool to deliver messages, paying Ergo miners for their support.

The alpha PoC aims to deliver a secure, instant messaging desktop app for all operating systems. The app reads messages from the mempool for speed, and uses a smart contract to ensure assets for paying miners cannot be tampered with. This version employs the “creationHeight” parameter for message expiry. An offchain bot burns tokens in the smart contract and sends the ERG to the Sigmanauts Mining bonus payout wallet.

To use the service, users input an address and type their message. Upon submission, the backend creates an NFT with the message and sends it to the smart contract with approximately 0.01 ERG. The creationHeight parameter is set to determine the message expiry duration. The app monitors the mempool for the smart contract, displaying messages from the NFT in a user-friendly conversation window.

This service prioritizes privacy, providing a foundation for encrypted messaging on a public ledger. It offers potential use cases for dApps, such as facilitating trades, loans, and secure information exchanges.

Moria Finance

Moria Finance offers a set of new tools for managing funds, including Bitcoin that has been bridged to Ergo via Rosen (rsBTC).

Bitcoin itself has limited scripting, and although there are several platforms that seek to implement smart contracts directly on the Bitcoin network, these are controversial for various reasons and have a number of drawbacks.

Moria’s initial solutions for Bitcoin will include timelocked wallets, which control where and when funds are sent; reversible addresses that are subject to third-party oversight; and simplified handling of group funds using multisig addresses.

Reputation System

Two implementations of a reputation system based on the Runes protocol on Bitcoin are being developed and tested.

The first is a simplified version, while the second incorporates Sigma Script for greater versatility. This version, called “Sigma Runes”, while based on the Runes protocol, does not follow it in every detail since the reputation proofs serve different purposes in each case.

Work still to be completed includes adding the Bitcoin network to the Sigma Reputation Panel interface, implementing a server that connects to a Bitcoin RPC (similar to the "Ord" library of the original Runes), and creating additional documentation and videos.

Mining BTC Swap

This project aims to create a permissionless on-chain system to allow miners to configure pools and swap mining rewards for other tokens.

The service uses a smart contract to hold tokens, which are sent out to Ergo addresses when the payment threshold is reached. NFTs are used to define pool parameters, with backend bots tasked with performing maintenance.

RNG

Random number generators have many applications in blockchain, including gaming, lotteries and NFTs, but creating high levels of reliable randomness is difficult. This project intends to address this gap on Ergo, aiming to ensure strong security and a tamper-proof commit-reveal protocol to ensure unbiased outcomes that cannot be exploited.

Sigma Wallet

This project will see the creation of a new React Native and Rust mobile wallet. The aim is to provide a different kind of UI/UX, inspired by wallets such as Green Wallet, Kaspium and Mutiny. Ideally this will be a user-friendly wallet for everyone that nonetheless retains some more complex and niche “cypherpunk” features, including non-reusable addresses for greater privacy.

Space Wallet

The PoC for Space Wallet will be a cross-platform (mobile, desktop and ideally web) wallet that uses NiPoPoWs – non-interactive proofs of proof-of-work – to sync with the blockchain and provide basic functionality for connecting to dApps. An additional goal is to chain multiple actions together without needing to wait for the next block using mempool spending. The tech used will be Flutter for the UI and Sigma-Rust for wallet functionality.

Trustless Relays

This project will enable trustless transfers, facilitate advancements like RGB++, and support the creation of trustless Bitcoin hashrate derivatives on Ergo.

Wallet Wonderland

The plan here is to create visual guides and tutorials for popular wallets, providing detailed documentation that can be maintained on an ongoing basis.

Ergo has multiple wallets in current use, but development for some key wallets has been discontinued, or updates are infrequent. It can be difficult to know which wallet, or even type of wallet (mobile, node, browser plug-in, etc) is best for different users, including newcomers, games, dApp users, developers, and so on.

Wallet Wonderland aims to provide comprehensive information about the different options available, what each of them offer, and some of the key terms and questions users need to understand. These include understanding seed phrases, cold wallet creation and use, wallet restoration, multisig addresses, UTXOs and consolidation, Ergo’s demurrage, and much more.

As well as gathering existing documentation, Wallet Wonderland’s team will interview 25-30 community members about their preferences and tips for wallet use, and consult with wallet developers for further insights. The result will be a set of visual guides and video tutorials.

Huangians

This was a late entry from a group of computer science students at Cornell University. Further details will be confirmed in due course.

Rosen Port

Rosen Port aims to facilitate cross-chain bridging with lower fees, particularly benefiting smaller funds. By enabling batch bridging, this approach allows small holders to participate in the bridging process and explore the Ergo ecosystem without incurring high fees. Their goal is to build an inclusive system that allows everyone to use the Rosen Bridge, regardless of the amount of tokens they hold, thereby increasing adoption.

Find Out More

ErgoHack VIII promises to be a valuable event for the community – creating new software to bring the benefits of Ergo to a wider audience – and to Ergo developers. $18,000 in prize money has been donated by the Ergo Foundation. The Rosen team has also donated 100,000 $RSN, worth around $9,000, and the community has raised a further 8,462 ERG to reward participants. This means the total prize pool is around $40,000!

You can find out more about any of these projects by joining the Ergo Discord! Each group has its own channel within the ERGOHACK category.

Good luck to all those participating!

Share post

Bene V2 is Here: Multi-Asset Fundraising, Expanded Wallet Support, and Enhanced UI

Bene V2 is Here: Multi-Asset Fundraising, Expanded Wallet Support, and Enhanced UI

The ecosystem of decentralized applications (dApps) on Ergo is constantly evolving.

Ergo Platform

November 28, 2025

Ecosystem Update: Duckpools Rolls Out V2 Site Preview

Ecosystem Update: Duckpools Rolls Out V2 Site Preview

The team behind Duckpools, a prominent lending and borrowing protocol on the Ergo blockchain, has released a comprehensive develop.

Ergo Platform

November 26, 2025

Ecosystem Spotlight: USE, a Universal Stablecoin for Ergo

Ecosystem Spotlight: USE, a Universal Stablecoin for Ergo

With the protocol nearing deployment, the Community Liquidity Bootstrapping (CLB) event is set to begin on November 25th, allowing.

Ergo Platform

November 24, 2025

Rosen Bridge Nears Bitcoin Runes Launch

Rosen Bridge Nears Bitcoin Runes Launch

Rosen Bridge has entered the final phase for its Bitcoin Runes integration. You can now set up your Bitcoin-Runes watcher.

Ergo Platform

November 23, 2025

GitCircles and Ergo: Fair Rewards for Open Source Contributions

GitCircles and Ergo: Fair Rewards for Open Source Contributions

Open source software powers much of the digital world — from the apps on your phone to the infrastructure of the internet itself.

Ergo Platform

October 12, 2025

Bitcoin Runes + Rosen Bridge: A Practical Path for Multi-Chain Fungible Assets

Bitcoin Runes + Rosen Bridge: A Practical Path for Multi-Chain Fungible Assets

The big idea Bitcoin finally has a clean way to represent fungible tokens.

Ergo Platform

September 30, 2025

ChainCash: Money That Carries Its Own Story

ChainCash: Money That Carries Its Own Story

ChainCash records reserves and signatures for each note on Ergo.

Ergo Platform

September 23, 2025

Braiding Lunarpunk and Solarpunk through Merged Mining

Braiding Lunarpunk and Solarpunk through Merged Mining

The question is simple.

Ergo Platform

September 2, 2025

Machina Finance: Off-Chain Execution, On-Chain Trust

Machina Finance: Off-Chain Execution, On-Chain Trust

Machina Finance is an innovative, bot-driven decentralized exchange (DEX) being developed on the Ergo blockchain.

Ergo Platform

September 1, 2025

Ergo Infrastructure DAO: Decentralizing the Backbone of the Ergo Ecosystem

Ergo Infrastructure DAO: Decentralizing the Backbone of the Ergo Ecosystem

Ergo’s mission has always been rooted in decentralization, not just at the consensus layer, but across the entire stack.

Ergo Platform

August 13, 2025

Mew Finance: A Playful DeFi Toolkit for the Ergo Ecosystem

Mew Finance: A Playful DeFi Toolkit for the Ergo Ecosystem

Mew Finance is a decentralized application suite on the Ergo Blockchain.

Ergo Platform

August 12, 2025

Lithos: Decentralizing Mining with On-Chain Pools

Lithos: Decentralizing Mining with On-Chain Pools

Lithos is a new protocol designed to overhaul how mining pools work by moving them on-chain, giving miners full control, and elimi.

Ergo Platform

July 24, 2025

Sigma 6.0: A Smarter, More Flexible Ergo

Sigma 6.0: A Smarter, More Flexible Ergo

Sigma 6.0 is a major proposed upgrade to the Ergo blockchain.

Ergo Platform

July 23, 2025

Shaping Rosen's Future: A Community Call on Five Key Treasury Proposals

Shaping Rosen's Future: A Community Call on Five Key Treasury Proposals

Rosen co-founder, Armeanio, has submitted five new proposals to the Rosen Treasury.

Ergo Platform

July 9, 2025

Ergo's Extended UTXO and the Rise of Artificial Economic Intelligence

Ergo's Extended UTXO and the Rise of Artificial Economic Intelligence

A Practical Vision for Autonomous Economic Agents Autonomous economic agents on the Ergo blockchain perform useful work in a real.

Ergo Platform

May 12, 2025

ErgoHACK X: Artificial Intelligence on the Ergo Blockchain

ErgoHACK X: Artificial Intelligence on the Ergo Blockchain

Celebrating a Decade of Decentralized Innovation Join the 10th anniversary ErgoHACK and be at the forefront of the AI revolution o.

Ergo Platform

April 10, 2025

Ergohack 9: Innovations in UI/UX and Mining – Meet the Visionary Winners!

Ergohack 9: Innovations in UI/UX and Mining – Meet the Visionary Winners!

The latest annual Ergo hackathon, ErgoHack IX, was a six-day event held at the end of October.

Ergo Platform

December 9, 2024

ErgoHack IX: Next Steps Towards Increased Adoption

ErgoHack IX: Next Steps Towards Increased Adoption

We’ve come a long way since the early days of Bitcoin, and cryptocurrencies have boomed into an industry with thousands and thousa.

Ergo Platform

October 20, 2024

Ergo Vs Other Blockchain Platforms: What’s The Difference?

Ergo Vs Other Blockchain Platforms: What’s The Difference?

Ergo offers a series of unique features that set it apart from other blockchain platforms.

Ergo Platform

August 19, 2024

Earning With The Rosen Bridge

Earning With The Rosen Bridge

Bitcoin has officially bridged to the Ergo ecosystem via Rosen Bridge! This newly built, decentralized infrastructure enables trus.

Ergo Platform

August 8, 2024

How Sigma Chains Will Bring Bitcoin To Ergo

How Sigma Chains Will Bring Bitcoin To Ergo

Ergo’s powerful, flexible, and secure smart contract functionality opens the door to a whole host of new use cases for Bitcoin DeF.

Ergo Platform

July 15, 2024