Inspiration
We wanted to build a small public works project make it easier to use cross chain bridges. Currently the Synapse bridge is supported, with adapters to 13 chains.
What it does
Given a bridge transaction input hash, dendrite gives information about the current status about the transaction.
Bridging requires separate transactions on both the "to chain" and "from chain." A limitation of bridge explorers such as Etherscan is that they don't identify the resulting transaction in the "to chain" and map where transactions are. Identifying is difficult because transactions in bridges between two different chains are not directly correlated. At dendrite we do some on-chain-sleuthing to connect transactions between the two chains by looking at transaction metadata so that users can directly see where there tokens are at, diagnose bridging issues, have have a much more transparent picture of their bridging process.
Our motto: Use Dendrite!! Make sure your eth doesn't go to the ether :).
How we built it
The current solution is built with react and etherscan apis with vercel hosting, longer term we plan to migrate to decentralized subgraphs for indexing and ipfs for true decentralization.
Challenges we ran into
It's deceptively difficult to be able to collate all the relevant information. For instance, how do you know which transaction on the "from chain" should be associated with which transaction on the receiving chain?
Accomplishments that we're proud of
Being able to provide a seamless user experience. To make for the most delightful experience, the user should only have to provide the transaction hash of the from chain. This makes it more difficult, for instance we then have to query all chains to check which one actually contains the actual hash. However, we believe this is preferred to having to submit additional information such as additional chain id's.
In the even longer term, it would be nice to build it such that the only action needed is to be able to click "connect wallet". Then, the app should pull all the recent transactions associated with the user across all chains and automatically detect bridge transactions, and then display sophisticated information about the most recent transaction with ability to also view more historical ones.
What we learned
We learned a lot about ethereum, event listeners, and how bridging works. The graph is pretty neat, while we didn't have time to use the graph as the indexing solution, it would have been nicer for aggregated stats and decentralized querying.
What's next for Dendrite
The 1 true cross chain explorer 👀
Log in or sign up for Devpost to join the conversation.