ETH bridge?
And what does it mean? Atomic swaps or something?
Unrelated to atomic swaps. In a nutshell you burn Syscoins on the SYS blockchain and then use the the resulting proofs from that to mint SYSX ERC20 on the ETH chains through a series of contracts that validate the proof using SPV.
A few terms to be aware of:Superblock chain (contract) - A two way sidechain between SYS and ETH. 'Agents' collect 60 minutes worth of block headers from the Syscoin chain and post them to a superblock contract on the Ethereum chain. Data from the superblock contract is used to validate proof-of-burn from the Syscoin chain using SPV proofs.
Agents - Nodes that are bonded by 3 ETH and are responsible for submitting SYS block headers to the superblock contract on ETH. These nodes are also responsible for challenging other's who are submitting block headers that do not match their own. This mismatch initializes a challenge/response game between the two. The loser loses their ETH. Agents also earn SYS ERC20 (SYSX) for submitting superblocks. They earn fees for all assets moving across the bridge.
Syscoin Relayer - A process that runs adjacent to syscoind and relays blocks from a local geth client to syscoin. This data is used to validate proof-of-burn from the Ethereum chain coming back to Syscoin using SPV.
There are probably multiple points of attack but i think the biggest opportunities, if any, would be in:
- Submitting bad data to the superblock contract and it not being challenged/declined by other agents
- The challenge response game in itself; DDoS of other agents, or other vectors in there.
- The Syscoin relayer, tricking it somehow maybe?
Codehttps://github.com/syscoin/syscoin https://github.com/syscoin/sysethereum-contractshttps://github.com/syscoin/sysethereum-dapphttps://github.com/syscoin/sysethereum-agentsHappy hacking