TL;DR
- Band Protocol debuts as the first push-based oracle on the Sonic testnet, enabling real-time data updates for dApps with reduced latency and network congestion.
- Powers price feeds for DAI, ETH, FTM, USDC, USDT, and WBTC, expandable to additional assets.
- Developer resources include Sonic documentation and Band's tools for seamless integration.
- Exclusive priority support planned for Sonic mainnet launch.
Introduction
Band Protocol has integrated its price feed oracle into the Sonic testnet, enhancing dApp reliability with decentralized, real-time data. This collaboration builds on Band's longstanding partnership with Fantom since 2020, now extending to Sonic's high-performance ecosystem. The integration marks Band Protocol as the first pull-based oracle on Sonic, streamlining data retrieval for developers.
What is Sonic?
Sonic is a layer-1 blockchain acting as a gateway to Ethereum, offering:
- 10,000+ TPS and 1-second transaction finality.
- Low storage requirements via an optimized database.
- Full EVM compatibility, supporting existing Web3 tools.
👉 Explore Sonic's capabilities
Why Build on the Sonic Testnet?
Key advantages driving Band Protocol's integration:
- Optimization: Test and refine oracle performance in a live environment.
- Reliability: Leverage Sonic's throughput for efficient data handling.
- Innovation: Empower developers to create high-performance dApps with accurate price feeds.
How Band Oracle Works on Sonic
- Request Data: dApps query Band Protocol for specific price feeds.
- Aggregate Data: Band collects and verifies data from multiple sources.
- Relay Data: Decentralized BandChain transmits data securely.
- Read Symbol: dApps fetch data from Band's reference contracts.
- Send Price Data: Verified prices are delivered in real-time.
Supported Assets: DAI, ETH, FTM, USDC, USDT, WBTC (expandable).
Push-Based Oracle Benefits
Band Protocol's push-based model offers:
- Real-time updates: Continuous data streaming.
- Reduced latency: Faster than traditional pull-based oracles.
- Lower congestion: Fewer on-chain requests.
| Push-Based | Pull-Based |
|---|---|
| Continuous updates | On-demand requests |
| Lower latency | Higher latency |
| Efficient for high TPS | Manual trigger required |
Developer Resources
Integration Tools
Example Code
import interfaces/IStdReference.sol;
contract DemoBulk {
IStdReference public ref;
constructor(IStdReference _ref) public { ref = _ref; }
function demo_bulk() external view returns (IStdReference.ReferenceData[] memory) {
return ref.getReferenceDataBulk(["BTC", "ETH"], ["USD", "BTC"]);
}
}FAQ
What makes Band Protocol unique for Sonic?
Band offers push-based oracles, reducing latency and congestion compared to pull-based systems.
Which assets are supported?
Initial feeds include DAI, ETH, FTM, USDC, USDT, and WBTC, with flexibility to add more.
How do I integrate Band Oracle?
Use Band's reference contracts and follow Sonic's oracle documentation.
Community & Programs
- Band Protocol: Join Discord or apply for grants.
- Sonic: Participate in Sonic Boom or the Innovator Fund.
Upcoming Milestones
- Early builder support on Sonic testnet.
- Mainnet integration readiness.
- Expanded oracle features and asset support.
About Sonic
Sonic is a high-speed L1 blockchain with Ethereum compatibility. Learn more: https://linktr.ee/soniclabs.
About Band Protocol
Band Protocol provides decentralized oracle solutions for Web3. Explore: https://linktr.ee/bandprotocol.