RedStone Oracles Pioneering DeFi Advancements on the TON Blockchain

Rocket Boys
3 min readJan 16, 2024

In a groundbreaking move, RedStone, a leading oracle provider, has seamlessly integrated with the Open Network (TON), enhancing the blockchain’s capabilities, particularly in the realm of decentralized finance (DeFi).

Understanding TON: A Decentralized Internet Platform

The Open Network (TON) stands as a decentralized internet platform, encompassing vital components like TON Blockchain, TON DNS, TON Storage, and TON Sites. TON Blockchain acts as the central protocol, unifying the TON Ecosystem’s infrastructure. With a strong emphasis on cross-chain interoperability, scalability, and security, TON aims to handle millions of transactions per second, paving the way for a decentralized future internet. TON Blockchain is often referred to as a “superserver,” serving as a distributed supercomputer to support diverse products and services.

TON x RedStone Integration: Adapting to Asynchronous Decentralization

https://blog.redstone.finance/wp-content/uploads/2024/01/TON.mp4

The integration of RedStone with TON required a strategic shift due to TON’s distinctive asynchronous and fully decentralized nature. Departing from the typical contract-to-contract reading found in other blockchains, TON contracts demand the transmission of messages and the patient anticipation of asynchronous responses. This involves traversing a complex transaction route, necessitating careful consideration of sender identity, message structure, and response validity.

Integration Challenges: Navigating TON’s Unique Characteristics

TON’s FunC language introduces data structures significantly different from commonly used languages like Solidity or Rust. These structures are notably low-level and come with inherent limitations, requiring developers to use basic elements like tuples, large integers, and ‘cells.’ Cells, a unique but complex component in TON’s programming, impose strict constraints on value and computational costs. Developers must efficiently pack data into a single cell while ensuring careful parsing to prevent overflows.

To overcome TON’s challenges, RedStone undertook the task of restructuring the RedStone Payload data, transforming it into a tree-like structure to accommodate TON’s limitations. This transformation ensures efficient data packing and parsing, considering TON’s constraints.

The Road Ahead: RedStone’s Commitment to TON’s DeFi Growth

Looking forward, RedStone has ambitious plans for the TON blockchain. The development of a robust relayer system for consistent price updates, smart contract templates for easy integration, and expanded data feeds are on the horizon. Automatic relayers will ensure uninterrupted service, while smart contract templates using TON Connect will empower developers. RedStone aims to evaluate protocol needs and deploy production infrastructure for in-demand asset prices, supported by robust monitoring services.

RedStone is dedicated to driving the growth of DeFi on TON, providing essential tools and expanding the ecosystem with valuable data feeds. The commitment to innovation and progress positions RedStone as a key player in advancing DeFi capabilities on the TON blockchain.

About RedStone: Revolutionizing Oracles with Versatile Data Offering

RedStone is at the forefront of revolutionizing the Oracles industry with its novel modular design and three tailor-made data consumption models. Offering versatile data, including long-tail, LP, and ecosystem-native tokens, as well as real-world data and custom feeds, RedStone empowers the new generation of DeFi and Web3 protocols. Stay tuned for updates as RedStone continues to shape the future of decentralized finance.

Join RedStone’s community: Twitter | Discord | Telegram

--

--