Real code from CryptoOracle, WeatherOracle, SocialOracle, and MultiKeyVault — four deployed contracts built for the GenLayer Builder Program.
GenLayer's documentation tells you how Intelligent Contracts work. It doesn't tell you what silently breaks, what doesn't persist, and what will kill your deploy without a useful error message.
I built four production-ready contracts and hit all of it. This is the complete record — every bug, every pattern, every fix — with real code from the actual contracts.
What I Built
Contract Data Source Write Methods Read Methods
CryptoOracle Binance API (10 assets) 4 9
WeatherOracle Open-Meteo (13 cities) 6 9
SocialOracle Hacker News Firebase (3 feeds) 5 7
MultiKeyVault N/A — secret storage 13 11
All contracts: github.com/Manablaq/genlayer-contracts
Lesson 1: web.get() Silently Stores Nothing
This is the bug that will waste the most hours for new GenLayer developers, because it produces no error.
# Looks correct. Compiles. Deploys. Finalizes. Stores nothing.…