# Realty Ads Agent > Realty Ads Agent (https://ad.realty) is an elliptical 3D arena whose wall is a grid of ad blocks on Robinhood Chain (chain 4663): 252 columns by 18 rows, 4,536 blocks in all. Anyone leases a free rectangle of blocks for a number of days and pins an ad on it. The image, the title and the link all live in the contract. When the days run out, the blocks open for the next renter. ## How it works - Pick a free rectangle of up to 16 blocks wide and 12 blocks tall and lease it for 1 to 90 days with rent(x, y, w, h, days, image, title, link). While an ad runs, its blocks are locked to it. - Row 0 is the top row of the wall and column 0 the leftmost column as seen from inside the arena; block (x, y) is cell y * 252 + x. The wall runs all the way around the arena, but an ad is a plain rectangle: it never wraps from column 251 to column 0. - The image is stored on chain as contract code: a PNG, JPEG, WebP or GIF of at most 24,000 bytes. The title takes up to 64 bytes, the link up to 256 bytes and must start with https://. - The price is per block per day, set in the contract (pricePerBlockDay) and quoted by quote(w, h, days). The payment goes straight to the treasury in the same transaction; the wall itself holds no funds. - The renter can add days (an ad runs at most 365 days ahead), change the image, title and link, or hand the ad to another wallet while it runs. - When an ad ends, its blocks open again and the next renter can take them in whole or in part. - A running ad can be taken over. A new lease may cover blocks of running ads: every ad it touches ends at once (its other blocks open up), and its renter is paid a takeover charge of 200% of what is left of it, that is 2 x its blocks x pricePerBlockDay x its remaining time. quoteRent(x, y, w, h, days, renter) returns the lease cost, the takeover charge and the ads it takes over; send at least their sum (the rest comes back). Replacing your own ad costs no charge. A charge a renter cannot receive waits for them in credits(address) until withdraw(). - A moderator can hide an ad's image, title and link on the site. Its blocks stay with it until it ends. - Renters sign every transaction in their own wallet: nothing custodial and no account. An ad's image, title and link are stored in the contract, not on a server. ## The main banner - The big screen behind the stage is the main banner: the first thing everyone sees when they walk into the arena, and the most expensive slot. One banner at a time, leased by the day (1 to 30 days per lease) from the Realty Banner contract with rent(days, image, title, link), at pricePerDay. - A running banner can be taken over the same way as an ad: the new renter pays the lease to the treasury and 200% of what is left of the current banner to its renter. quote(days, renter) returns both; banner() returns the current banner, the price and the chain time; bannerImage() returns its image bytes. ## LED lights (paid add-on) - The owner of a running ad can buy days of LED lights around it from the Realty Glow contract with glow(id, days, style), in one of six patterns: 0 rainbow, 1 party, 2 marquee, 3 mint, 4 neon, 5 ice. The arena draws a ring of colored LEDs around the ad while they last. - The price is per block of the ad per day (pricePerBlockDay of Realty Glow), quoted by quote(id, days). Days add on to lights that are still on, and lights never run past the ad's own lease (they may finish within the day it ends). setStyle(id, style) changes the pattern for free. - lit() lists every ad whose lights are on, with when they end and their pattern. The payment goes straight to the treasury. ## Where the rent goes - The treasury of the wall, the lights and the banner is the Realty Wheel contract. Every payment for rent (a lease, added days, lights, the main banner) goes to it in the same transaction, and it spends the ETH on one thing: buying the $REALTY coin and burning it. Takeover charges are not rent: they go to the renter who was there first. - Before the coin is out, the rent waits in the wheel. Nobody can withdraw it, the owner included; the owner names the coin once (arm) and can then only spend what waited on that coin (flush). stats() returns the coin, the ETH waiting, received and spent, the tokens burned and the number of buys. - Every burn is an on-chain event (Burned) and is announced on X. ## Reading the wall - wall() returns every block's ad id (4 bytes per block, row by row), every running ad, the price and the chain time in one call. - On a wall of very many small ads that one call can pass a node's gas cap. The same snapshot then reads in parts: cellsPacked(), getAds(ids) a page at a time (keep the ads marked active), pricePerBlockDay() and the block time. - adImages(ids) returns the image bytes. An ad's image address changes whenever its image does, so it works as a cache key. - The human-readable ABI: the abi list in https://ad.realty/contracts.json ## Pages - https://ad.realty/: what Realty Ads Agent is - https://ad.realty/arena: the arena in 3D, with the wall around it - https://ad.realty/contracts.json: the contract address, the wall's rules and the ABI ## Contract (Robinhood Chain, chain 4663) - Realty Wall: 0x1470e46dD7b257F2D489fbDC69F1ef5A0A717719 (deployed in block 111754559, https://robinhoodchain.blockscout.com/address/0x1470e46dD7b257F2D489fbDC69F1ef5A0A717719) - Realty Glow (LED lights): 0xAd2492435bb60c00dE8b46D23049bd8415f69497 (deployed in block 111754577, https://robinhoodchain.blockscout.com/address/0xAd2492435bb60c00dE8b46D23049bd8415f69497) - Realty Banner (main banner): 0x2cB2Bf5dfe660639381fd5c32Ef793C90EA1269f (deployed in block 111754596, https://robinhoodchain.blockscout.com/address/0x2cB2Bf5dfe660639381fd5c32Ef793C90EA1269f) - Realty Wheel (buyback and burn): 0xE7A9E3A56b5aab7d4F7930C14E2ff7174f53Fa05 (deployed in block 112644516, https://robinhoodchain.blockscout.com/address/0xE7A9E3A56b5aab7d4F7930C14E2ff7174f53Fa05) - $REALTY (the coin): 0x0816F5c88c786723993653e22703FfF5D5f6F381 (https://ponsfamily.com/launchpad/0x0816f5c88c786723993653e22703fff5d5f6f381) 2026 Realty Ads Agent.