Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Flow Charts #80

Merged
merged 1 commit into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ abigen --abi ethereum/abi/MessageTransmitter.json --pkg contracts- --type Messag
```

### Useful links
[Relayer Flow Charts](./docs/flows.md)

[USDC faucet](https://usdcfaucet.com/)

[Circle Docs/Contract Addresses](https://developers.circle.com/stablecoins/docs/evm-smart-contracts)
15 changes: 15 additions & 0 deletions docs/flows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Flowcharts

#### General Relayer Flow
The diagram on the left outlines the general flow of starting the relayer.

#### Chain Initialization
The diagram in the middle details the steps taken by the relayer to initialize all of the chains setup in the configuration.

#### Listening, Broadcasting, and Flushing
The diagram on the right displays how the listeners, broadcasters, and the chain's corresponding flushing mechanism are initialized.

[![](https://mermaid.ink/img/pako:eNp1Vg1vozgQ_SsW0kq7p7bqV7ZppN0ToaRBpZAFssndcUIuOI2vxEZAuu1W_e83xkAMSStVis2b8fPMewNvWswToo20T5_QDVlRRtAk5b8KRBnyyDPJC4LcPCE5Kjgq1-QV4SwjOEc2WZXo-Dvy6OO6DNkKguI1zktkeyELWbCMbMsPTMf0Is-dB5Zj_hNqwQuyaVESBvk8vi3huFD7N2SWHznu2DbfQs0qkMMfUoKMNabsz1B7D5kTGZ6pB2Y0tl3jrk0MCf1SHDlOefx0OHMbunC9O9Pz25gl-rEl-Sta8PxpF1NUQWYT5M_HvuFZs8BynTbSDKaSHPK3D0Wc06yknHVOhQSu48_vTeXuMtjgrNhuCIJKdAN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xugrEczHbUUKLLMVi3qQpeiCIr1YnMpMqM6n9jpqqrUYyMqJZSbSil2pDlUbjJbX3rR3UTdUVspcfwhoD9nVSB_R2JaVld6Z0m92QFN1sTxULhVS3AMrzhk234Qd87Jm2_pfpff7cSMsj0A-h3y9fpIAVhMmS7nMbLiQG18S6BWHYoH7V0cDnp25bDUJK8icYpkGpLwx9ZrXyht_IJ_lzz60S2PdCY4JDAR39CpN1p1UrXWDqW7eObkdmNQVqu4J04coqSznto5nr2i0BMO4s5zEpCt57qy90SyjEi6Dj95aj1y_1BQaDrAAckHxDGRaO6FuvrnrjubrqXbN1Oli1W-lHIx-1A61M1M2exut0H0K7LxrolMpFNG73UBVytxUNuV3R2_N2WwqxveJ_AG_I7V1kL0FtuP3-HI6vPRMyGHCGHGPyqzVkaqfQt2_fvh8am_JB_6tFO9I2IAFME_gcfhMnhRpMxQ2odwQ_E5w_hVrI3gGHtyX3X1msjcp8S460bZbAm_SGYpDLRhutcFrAbobZ35xvGhAstdGb9qKNzi4HJ9fDs8HXs-H52fD04kh7hc2LwcnF2elX8T-4PIfl-5H2u4o_PbkaDi4H15eD4fD86vrq_PJIIwmFb8N7-fFefcO__w8ccapX)

#### For Editors
Please visit the embedded link in the markdown to modify the flowchart in the mermaid live editor. After changes are made, please update the image link in the markdown.
Loading