1. 引言
RSK 与 以太坊 之间的trusted bridge,相关代码见:
Celo <-> 以太坊 的Moss bridge也采用了类似的方案实现,代码见:
核心思想为:【其中Federation为合约】
部署的合约情况为:
-
RSk链上部署的合约有:
- “bridge”: 0x9d11937e2179dc5270aa86a3f8143232d6da0e69
- “federation”: 0x7ecfda6072942577d36f939ad528b366b020004b
- “allowTokens”: 0xcb789036894a83a008a2aa5b3c2dde41d0605a9a
- “multiSigWallet”: 0x040007b1804ad78a97f541bebed377dcb60e4138
- “RIF”: 0x2acc95758f8b5f583470ba265eb685a8f45fc9d5
-
Ethereum上部署的合约有:
- “bridge”: “0x12ed69359919fc775bc2674860e8fe2d2b6a7b5d”
- “federation”: “0x5e29C223d99648C88610519f96E85E627b3ABe17”
- “allowTokens”: 0xa3fc98e0a7a979677bc14d541be770b2cb0a15f3
- “multiSigWallet”: 0x040007b1804ad78a97f541bebed377dcb60e4138