polygon-edge icon indicating copy to clipboard operation
polygon-edge copied to clipboard

[Bridge] Polygon Edge Bridge

Open Kourin1996 opened this issue 3 years ago • 0 comments

Description

~~This PR adds Bridge which assembles bridge module and manage Tracker and SAM Pool.~~ ~~This PR is based on https://github.com/0xPolygon/polygon-edge/pull/386, https://github.com/0xPolygon/polygon-edge/pull/412~~ ~~Please don't push the change of Tracker and SAM Pool to this branch directly.~~

This is base branch for bridge stuffs. Currently this PR has the function for bridge v1

To start server with Bridge, please add following parameters. Please note these parameters for debug, the names may change.

$ ./polygon-edge --bridge --bridge-rootchain-url ws://127.0.0.1:11002/ws --bridge-rootchain-contract 0xA82373a89b8c7c08ad6c24d4961Df43179B690e2 --bridge-rootchain-confirmations 5

Please provide a detailed description of what was done in this PR

Changes include

  • [ ] Bugfix (non-breaking change that solves an issue)
  • [ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
  • [x] New feature (non-breaking change that adds functionality)
  • [ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes

Please complete this section if any breaking changes have been made, otherwise delete it

Checklist

  • [ ] I have assigned this PR to myself
  • [ ] I have added at least 1 reviewer
  • [ ] I have added the relevant labels
  • [ ] I have updated the official documentation
  • [ ] I have added sufficient documentation in code

Testing

  • [ ] I have tested this code with the official test suite
  • [ ] I have tested this code manually

Manual tests

Please complete this section if you ran manual tests for this functionality, otherwise delete it

Documentation update

Please link the documentation update PR in this section if it's present, otherwise delete it

Additional comments

Please post additional comments in this section if you have them, otherwise delete it

Fixes EDGE-402 and EDGE-396

Kourin1996 avatar Feb 14 '22 15:02 Kourin1996