advanced ai integration inside smart contracts

build intelligent, adaptive dapps that push the boundaries of what's possible.

try our playground

Available on

Base

Base

Active

application domains

citizen use apps

create fun, informative and engaging apps with compute paid by citizens/government.

non-fungible prompt tokens

develop dynamic, ai-enhanced token systems.

decentralized autonomous organizations

implement ai-driven governance mechanisms.

key advantages

multimodal input processing

analyze text and image within smart contracts for enhanced decision-making.

advanced natural language understanding

interpret complex contract terms and user intents for automated execution.

dynamic content generation

create adaptive NFTs and on-chain content based on real-time data and user interactions.

intelligent risk assessment

evaluate complex financial scenarios for improved DeFi protocols and lending decisions.

cross-chain data interpretation

analyze and act on data from multiple blockchains for sophisticated interoperability.

adaptive governance mechanisms

implement self-evolving DAO structures based on ongoing participant interactions.

1

Integration

Define AIOracle interface in your contract

interface IAIOracle { // the core functions of the AIOracle contract }
2

Request

Call requestAIResponse with prompt and required fee within your contract

aiOracle.requestAIResponse{value: fee}(prompt);
3

Response

AIOracle invokes handleAIResponse in your contract with the result

function handleAIResponse(bytes32 requestId, string memory prompt, string memory result) external

technical specifications

modular integration

compatible with Solidity smart contracts OpenZeppelin libraries.

network compatibility

operational on Base network, with planned expansion.

customizable ai queries

flexible ai prompt system for diverse contract functionalities.

write smart contracts of the future

a complete infrastructure for public apps

try our playground