Smart Hashinals with HCS-7
Dynamic, Programmable, and 100% on-graph assets. Finally, enabling a new generation of NFTs.
DeFi-Reactive NFTs
Create NFTs that transform based on token prices and liquidity ranges - visualize HBAR price changes, display fees and returns in real-time. Your NFT becomes a living dashboard.
Holder-Reactive Identity
Create NFTs that adapt to their current holder's on-chain identity - transform based on their KNS profile, token holdings,transaction history, and social graph. Your NFT becomes a living reflection of its owner.
Composable Game Assets
Design items that level up based on complex game achievements - combining multiple contract states,time-weighted scores, and cross-game interactions to unlock new forms and abilities.
Smart Contract Powered
Connect to any EVM smart contract to read state and transform your content based on on-chain data.
WASM Processing
Use WebAssembly to process contract state with custom logic, enabling complex transformations and routing.
Dynamic Content
Route to different Topic IDs based on contract state, enabling dynamic updates of metadata, images, and more.
How It Works
Request File
Client requests content from HCS CDN
Read Smart Contract
CDN reads current state from connected smart contracts
Process with WASM
WebAssembly processes contract state with custom logic
Return Content
Verified topic id is returned to the client
HCS-7 File Serving
A simple demo showing how to serve different background images through HCS-7. Each Topic ID represents a unique image, and we switch between them based on HBAR's price.
- • Each Topic ID = Different background image
- • Auto Mode: Changes with HBAR price
- • Manual Mode: Toggle between images
Chainlink Price Feed
Price data from Chainlink's decentralized oracle smart contracts on Hedera
Manual Mode: Click the toggle to switch between backgrounds
HCS-7 File
Switch between different background images based on HBAR's price
Price Feed
Example: Dynamic NFT Content
KiloScribe's Hackathon submission includes LaunchPage smart contracts and the LaunchPage builder. In this example, we will use the LaunchPage smart contract to create dynamic NFTs that change their content based on the state of how many NFTs have been minted.
Even State NFT
Odd State NFT
Example: Dynamic Banner Content
The same principle can be applied to banner content. Here's how the banner image and metadata changes based on the minted count:
Even State Banner
Odd State Banner
Dive Deeper
This is just the tip of the iceberg. Explore the complete HCS-7 standard documentation to understand how Smart Hashinals work on Hedera.