Developer Resources
Documentation
Everything you need to build on, integrate with, or understand the Emoji Weather Economy.
Smart Contract Reference
Detailed API documentation for CLM, HOT, COLD, and Allocation Engine contracts.
Tokenomics Guide
Learn about the 50/50 fee split, deflationary emissions, and weather composites.
CLI Tools
Command-line utilities for interacting with the protocol and simulating weather events.
Whitepaper
The original technical paper describing the Emoji Weather Economy design and vision.
Getting Started
To start building with the Emoji Weather Economy, you'll need a Web3 wallet (like Metamask) and some MATIC for transaction fees on Polygon.
Installation
bash
npm install ethers @climate-protocol/sdkBasic Usage
javascript
import { ethers } from "ethers";
import ClimateEventTokenABI from "./abis/ClimateEventToken.json";
const provider = new ethers.BrowserProvider(window.ethereum);
const signer = await provider.getSigner();
const hotToken = new ethers.Contract(HOT_ADDRESS, ClimateEventTokenABI, signer);
// Fetch current weather composite
const composite = await hotToken.currentComposite();
console.log("Current Heat Composite:", composite.toString());