-
Notifications
You must be signed in to change notification settings - Fork 12
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
Facilitator readme #359
base: develop
Are you sure you want to change the base?
Facilitator readme #359
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are inline comments ⚔️
|
||
Note: If subgraph deployment fails, then check node version to be 11.12.0. | ||
|
||
4. Manifest file is required to initialize and start facilitator. It must be an valid yaml file. Format for manifest file : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
4. Manifest file is required to initialize and start facilitator. It must be an valid yaml file. Format for manifest file : | |
4. Manifest file is required to initialize and start facilitator. It must be a valid yaml file. Format for manifest file : |
facilitate_tokens: | ||
- "<supported_tokens>" | ||
``` | ||
* Create account on origin and auxiliary nodes. At origin, fund avatar account with ETH. At auxiliary, fund avatar account with base coin. Save the keystore files. For each account, create a password file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Create account on origin and auxiliary nodes. At origin, fund avatar account with ETH. At auxiliary, fund avatar account with base coin. Save the keystore files. For each account, create a password file. | |
* Create account on origin and auxiliary nodes. In origin, fund avatar account with ETH. In auxiliary, fund avatar account with base coin. Save the keystore files. For each account, create a password file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can give reference of faucet for funding of base coin.
origin: | ||
avatar_account: "0xcd8b7d0211e51b78d3fd1209ca8a6955fc7dfbca" | ||
node_endpoint: https://rpc.slock.it/goerli | ||
graph_ws_endpoint: ws://localhost:8000/subgraphs/name/m1_facilitator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
graph_ws_endpoint: ws://localhost:8000/subgraphs/name/m1_facilitator | |
graph_ws_endpoint: ws://localhost:8000/subgraphs/name/mosaic/origin-erc20gateway |
avatar_account: "0xcd8b7d0211e51b78d3fd1209ca8a6955fc7dfbca" | ||
node_endpoint: https://rpc.slock.it/goerli | ||
graph_ws_endpoint: ws://localhost:8000/subgraphs/name/m1_facilitator | ||
graph_rpc_endpoint: http://localhost:8000/subgraphs/name/m1_facilitator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
graph_rpc_endpoint: http://localhost:8000/subgraphs/name/m1_facilitator | |
graph_rpc_endpoint: http://localhost:8000/subgraphs/name/mosaic/origin-erc20gateway |
auxiliary: | ||
avatar_account: "0xd14087a083fdd4049dcf1e7eb01ee2f5c89eb1c9" | ||
node_endpoint: https://chain.mosaicdao.org/hadapsar | ||
graph_ws_endpoint: ws://localhost:8000/subgraphs/name/m1_facilitator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
graph_ws_endpoint: ws://localhost:8000/subgraphs/name/m1_facilitator | |
graph_ws_endpoint: ws://localhost:8000/subgraphs/name/mosaic/aux-erc20gateway |
avatar_account: "0xd14087a083fdd4049dcf1e7eb01ee2f5c89eb1c9" | ||
node_endpoint: https://chain.mosaicdao.org/hadapsar | ||
graph_ws_endpoint: ws://localhost:8000/subgraphs/name/m1_facilitator | ||
graph_rpc_endpoint: http://localhost:8000/subgraphs/name/m1_facilitator |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
graph_rpc_endpoint: http://localhost:8000/subgraphs/name/m1_facilitator | |
graph_rpc_endpoint: http://localhost:8000/subgraphs/name/mosaic/aux-erc20gateway |
origin_contract_addresses: | ||
erc20_gateway: "0x65E1A3d1e95E271325B882aa139997AFAE6F0351" | ||
facilitate_tokens: | ||
- "0x0000000000000000000000000000000000000012" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specify that facilitate_tokens
can be null in case, all tokens needs to be supported
Example: | ||
``` | ||
version: v0.14 | ||
architecture_layout: MOSAIC1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specify other values of architecture_layout.
facilitate_tokens: | ||
- "<supported_tokens>" | ||
``` | ||
* Create account on origin and auxiliary nodes. At origin, fund avatar account with ETH. At auxiliary, fund avatar account with base coin. Save the keystore files. For each account, create a password file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Create account on origin and auxiliary nodes. At origin, fund avatar account with ETH. At auxiliary, fund avatar account with base coin. Save the keystore files. For each account, create a password file. | |
* Create account an on origin and auxiliary nodes. At origin, fund avatar account with ETH. At auxiliary, fund avatar account with base coin. Save the keystore files. For each account, create a password file. |
PR contains below instructions to setup facilitator :
fixes #354