Question: Where can I get Admin account and relayer account details. [Newbie, Unclear from docs] #450
-
I am trying to setup ChainBridge I was following doc: https://edge-docs.polygon.technology/docs/additional-features/chainbridge/deploy-contracts
Where can I get these details below ? These are my assumptions:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@spunkyshooter Hi, Thank you for your questions. You can any accounts you want to use for admin and relayer account. If you're using Metamask, you can get the private key by exporting in account details. The address of the private key which you gave when you run On the other hand, relayer account is needed to run relayer. Only allowed relayer accounts can give proposals and votings to bridge contract from the signal in source chain. Please check the below link for more details. |
Beta Was this translation helpful? Give feedback.
-
Converting this to a discussion |
Beta Was this translation helpful? Give feedback.
@spunkyshooter Hi, Thank you for your questions.
You can any accounts you want to use for admin and relayer account. If you're using Metamask, you can get the private key by exporting in account details.
The address of the private key which you gave when you run
cb-sol-cli deploy
command will be assignedadmin
role as default. Thisadmin
role is required to run some specific method call in bridge like registering resource, chainging fee and setting burnable.On the other hand, relayer account is needed to run relayer. Only allowed relayer accounts can give proposals and votings to bridge contract from the signal in source chain.
--relayers
incb-sol-cli deploy
command gives bridge initial…