Case Studies/

Blockchain · Smart Contracts

W3.io

Spearheading PIE (Programmable Intelligence Economy) — making blockchains smarter, more programmable, and capable of complex on-chain decision-making and execution. AR Data delivered the smart contract architecture and oracle infrastructure.

Visit site

The problem

Most blockchain applications are simple state transitions — transfer tokens, stake, vote. Complex business logic that requires multi-step decision-making, conditional execution, and integration with off-chain data is genuinely hard to implement on-chain. Existing smart contract platforms were designed for simple state transitions, not programmable intelligence, and the workarounds (heavy off-chain compute with on-chain settlement) undercut the whole point of using a blockchain for the logic in the first place. W3.io needed infrastructure that could support complex on-chain logic — multi-step execution, off-chain data integration, and cross-chain coordination — while maintaining the decentralization and security guarantees that make blockchain useful in the first place. The bar was: everything the platform does has to be verifiable and reproducible from on-chain state alone.

Key challenges

Building programmable execution on top of Ethereum-family chains introduces every difficulty of smart contract engineering at once: gas cost, upgradeability, storage collision risk across contract versions, cross-chain message reliability, and the oracle problem. Every one of these is a live area of research; combining them in one production platform requires disciplined architectural choices at every layer. On top of that, W3.io's ambition (PIE) requires the platform to compose across ecosystems — not just Ethereum L1 but L2s and eventually non-EVM chains. That composition constrains every design decision, because anything Ethereum-specific becomes a rewrite when the platform expands.

What we built

AR Data delivered smart contract architecture and development for the PIE platform — designing upgradeable contract patterns, implementing multi-step execution flows, and building the oracle infrastructure that connects on-chain logic to off-chain data. The architecture supports: programmable execution pipelines, multi-signature governance, cross-chain message passing, and integration with decentralized storage for large state objects. Upgradeability uses a UUPS proxy pattern with a strict storage gap discipline — every version reserves storage for future extensions, and version transitions are gated behind multisig governance with timelock. Cross-chain messages use battle-tested bridge primitives with retry semantics; oracles pull from Chainlink for standard price feeds and custom oracles for domain-specific data. Large state objects (documents, artifacts, execution logs) live on IPFS with on-chain CID commitments.

Our approach

  1. 1

    Upgradeable proxy pattern with storage discipline

    UUPS proxies with reserved storage gaps across every version. This is what makes programmable-intelligence platforms upgradeable without breaking user state — the biggest failure mode for platforms in this space.

  2. 2

    Oracle strategy: standard + custom

    Standard price feeds via Chainlink (mature, well-audited). Domain-specific data via custom oracles with multi-source verification. The two-layer approach isolates risk — a custom oracle bug can't compromise standard financial primitives.

  3. 3

    IPFS commitments for large state

    Storing large state on-chain is expensive and often unnecessary. The pattern is: hash on-chain, blob on IPFS. Verifiable, cheap, and integrates cleanly with the rest of the decentralized-storage stack.

  4. 4

    Cross-chain message passing with retry semantics

    Bridges fail. The execution pipeline treats cross-chain messages as unreliable by default and includes retry, timeout, and settlement finality checks. This is the design that survives the messy reality of multi-chain operation.

Key architectural decisions

UUPS proxy over Transparent proxy

UUPS is cheaper per call and puts upgrade authority in the implementation, which matches PIE's governance model. Transparent proxies would have added ongoing gas overhead without benefit here.

Multisig + timelock for upgrades

Programmable-intelligence platforms are high-value targets. Single-key upgrade authority is a compromise waiting to happen; multisig + timelock is the responsible baseline.

Chainlink for price feeds, custom for domain data

Don't reinvent price oracles. Do reinvent domain-specific oracles where multi-source verification and provenance matter. The two-layer approach isolates risk.

IPFS-anchored large state via CID commitment

Keeps gas costs sane while preserving verifiability. The pattern is standard in decentralized storage; using it consistently across PIE gave the platform a predictable state model.

Results

  • Production smart contracts deployed on Ethereum and L2s
  • Multi-step execution pipeline handling complex business logic
  • Governance framework with multi-sig and timelock controls
  • Open-source components contributed back to the ecosystem
  • Oracle infrastructure spanning standard and domain-specific feeds
  • IPFS-anchored state model — verifiable and gas-efficient
  • Cross-chain messaging with retry and finality guarantees

Impact

W3.io is one of the projects that demonstrates the difference between "we can do smart contracts" and "we can architect a platform that survives contact with production." The engagement built durable primitives — upgradeability, governance, oracles, cross-chain — that the PIE roadmap continues to build on. It's also the engagement that most directly informs how we scope smart-contract platform work for other blockchain clients: upgradeability discipline is not optional, and governance decisions made in year one define what year three looks like.

Tech stack

SolidityEthereumArbitrumOptimismIPFSThe GraphChainlinkHardhatFoundryOpenZeppelin

Want a case study like this?

30 minutes. We scope the real problem and figure out what to build.

Book a call
AR Logo

AR Data Intelligence Solutions Inc. · Agentic Workflow Transformation · AI, Blockchain, and Decentralized Tech

7030 Woodbine Avenue, Suite 500, Markham, Ontario, L3R 6G2, Canada

AnthropicAnthropic PartnerClaudeClaude Partner Network

©2026 AR Data Intelligence Solutions, Inc. All Rights Reserved.