Documentation
¶
Index ¶
- Variables
- type GetKeystoresResp
- type KeystoreImportResp
- type LighthouseWeb3SignerRequest
- type Web3SignerActionsClient
- func (w *Web3SignerActionsClient) EnableWeb3SignerLighthouse(ctx context.Context, kns zeus_common_types.CloudCtxNs, ...) (zeus_pods_resp.ClientResp, error)
- func (w *Web3SignerActionsClient) GetKeystores(ctx context.Context, kns zeus_common_types.CloudCtxNs) ([]GetKeystoresResp, error)
- func (w *Web3SignerActionsClient) ImportKeystores(ctx context.Context, kns zeus_common_types.CloudCtxNs, p filepaths.Path, ...) ([]KeystoreImportResp, error)
- type Web3SignerKeystores
Constants ¶
This section is empty.
Variables ¶
View Source
var Web3SignerPorts = []string{"9000:9000"}
Functions ¶
This section is empty.
Types ¶
type GetKeystoresResp ¶
type KeystoreImportResp ¶
type LighthouseWeb3SignerRequest ¶
type LighthouseWeb3SignerRequest struct { Enable bool `json:"enable"` Description string `json:"description"` SuggestedFeeRecipient string `json:"suggested_fee_recipient"` VotingPublicKey string `json:"voting_public_key"` Graffiti string `json:"graffiti,omitempty"` Url string `json:"url,omitempty"` RootCertificatePath string `json:"root_certificate_path,omitempty"` RequestTimeoutMs int `json:"request_timeout_ms,omitempty"` }
type Web3SignerActionsClient ¶
type Web3SignerActionsClient struct {
zeus_client.ZeusClient
}
func (*Web3SignerActionsClient) EnableWeb3SignerLighthouse ¶
func (w *Web3SignerActionsClient) EnableWeb3SignerLighthouse(ctx context.Context, kns zeus_common_types.CloudCtxNs, w3req []LighthouseWeb3SignerRequest) (zeus_pods_resp.ClientResp, error)
func (*Web3SignerActionsClient) GetKeystores ¶
func (w *Web3SignerActionsClient) GetKeystores(ctx context.Context, kns zeus_common_types.CloudCtxNs) ([]GetKeystoresResp, error)
func (*Web3SignerActionsClient) ImportKeystores ¶
func (w *Web3SignerActionsClient) ImportKeystores(ctx context.Context, kns zeus_common_types.CloudCtxNs, p filepaths.Path, pw string) ([]KeystoreImportResp, error)
type Web3SignerKeystores ¶
type Web3SignerKeystores struct { Keystores []string `json:"keystores"` Passwords []string `json:"passwords"` SlashingProtection string `json:"slashing_protection,omitempty"` }
func (*Web3SignerKeystores) ReadKeystoreAndAppend ¶
func (k *Web3SignerKeystores) ReadKeystoreAndAppend(fp string) error
func (*Web3SignerKeystores) ReadKeystoreDirAndAppendPw ¶
Click to show internal directories.
Click to hide internal directories.