joshua Profile picture
Jan 17 19 tweets 6 min read
Many of the significant crypto hacks have been characterized by bridge exploits. They often contain lots of money & have few trusted key holders. Hacks such as the wormhole exploit encouraged the creation of a #Ergo centric bridge put forth by @mhs_sam.
🧵👇🏾
Some of the advantages of the Rosen bridge are
⁃Ergo centric
⁃Other chains only need multi-sig to support Rosen
⁃No smart contract logic in other chains
⁃2 layer architecture
⁃Audits are only needed on ergo
⁃Easy configuration for other chains
Let’s take a high level overview of how the bridge works.
The first step is a user either sending funds to the multi-sig on ergo side or chain-x said depending on where they are bridging to. Image
Watchers, who periodically look for transactions in the multi-sig wallet find said transaction. Image
Once watchers have witnessed some arbitrary number of block confirmations they create an event box on the ergo side. Image
If a particular event(transaction) has an sufficient number of event boxes created for it by different watchers a watcher can then create a approved event box. Any watcher can create a approved event box Image
Guards then look for approved event boxes & independently verify the event. Guards also wait for multiple block confirmations to verify events Image
When a significant portion(m of n, 2 of 3, etc) of the guards have independently verified the event the event is broadcasted to the recipient chain. Image
The users tokens are then minted or released on the target chain & the transaction is confirmed Image
Guards then watch and ensure the transaction is mined on the #Ergo side & that enough block confirmations have occurred to be confident in the transactions finality. Image
- Let’s talk about watchers
Anyone can be a watcher, watchers must stake the “Rosen token” to get the same number “Rosen event tokens”. Every box needs one Rosen event token. You will lose your token if the event is found to be fraudulent. It will be sent back to you if not.
To avoid this problem of watchers watching other watchers & not looking at the event independently a honeypot(trap) can be created to punish(slash) watchers that report on fraudulent events. Other potential methods are also available, such as commit reveal schemes. twitter.com/i/web/status/1…
-let’s talk about Guards

- The guard set is predefined & consists of a few well known entities. Who these guards is very important.
- Guards independently verify events
- M of N guards are needed to submit transaction
Guards create final transaction, they then share fees with the participating watchers & distribute Rosen tokens to those watchers. Bridges with more volume will naturally have more watchers because watchers like profits. This also leads to a efficient natural distribution Image
Scaleable

- the 2 layered architecture allows for scaling, guards don’t need to increase with the number of chains. One just needs to add watchers to the new chain of higher volume chain when needed. Image
The saves computation resources for the guards as they don’t need to keep track of every transaction on every chain. Just the approved event boxes.
Big thanks to @ERG_Armeanio 😎I used slides from a video he did
Or higher volume chain*
These typos are killing me🧐😓

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with joshua

joshua Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(