Read bridge key from a file and print the corresponding information.
If is_validator_key
is true, the key must be a Secp256k1 key.
Generate Bridge Authority key (Secp256k1KeyPair) and write to a file as base64 encoded privkey
.
Generate Bridge Client key (Secp256k1KeyPair or Ed25519KeyPair) and write to a file as base64 encoded flag || privkey
.
Generate Bridge Node Config template and write to a file.
Return a mappping from validator name to their bridge voting power.
If a validator is not in the Sui committee, we will use its base URL as the name.
Given the address of SuiBridge Proxy, return the addresses of the committee, limiter, vault, and config.
Given the address of SuiBridge Proxy, return the contracts of the committee, limiter, vault, and config.
Return a mappping from validator pub keys to their names.
If a validator is not in the Sui committee, we will use its base URL as the name.