tBTC Deposit Redemption Service

An attempt of capturing other contracts events via an oracle

tBTC Deposit Redemption Service

Created At

MarketMake

Project Description

Having access to data from events that is not stored on chain is very useful when it comes to rewarding users for their actions. However, current options out there are using the graph to build a snapshot of said events.

However, without access to the Graph's code, we cannot fully call these awards trust-less corrupted information can be brought onchain if it's not verified by say, an oracle.

How it's Made

Used and loved Scaffold-Eth!!

Tried using Chainlink

An API consumer will be deployed, upon requested it will use etherscan api to find event logs and report it back to the chainlink client. Although not the normal Oracle pattern, client is directly integrated with my main contract.

background image mobile

Join the mailing list

Get the latest news and updates