Documentation
¶
Index ¶
- func CreateBinaryWallets(tendermintValidatorPubKey string, vegaWalletRecoveryPhrase string, ...) (*secrets.BinaryWallets, error)
- func GenerateAvatarURL() (string, error)
- func GenerateCountryCode() (string, error)
- func GenerateDeHistoryIdentity(seed string) (config.Identity, error)
- func GenerateEthereumWallet(mnemonic string, seed string, password string) (*secrets.EthereumWalletPrivate, error)
- func GenerateName() (string, error)
- func GenerateNewEthereumWallet() (*secrets.EthereumWalletPrivate, error)
- func GeneratePassword() (string, error)
- func GenerateRandomWikiURL() (string, error)
- func GenerateVegaNodeSecrets() (*secrets.VegaNodePrivate, error)
- func GenerateVegaWallet() (*secrets.VegaWalletPrivate, error)
- func ValidateEthereumAddressWithPrivateKey(hexAddress string, hexPrivateKey string) error
- func ValidateTendermintPublicKeyAndAddressWithPrivateKey(publicKey string, address string, privateKey string) error
- func ValidateVegawalletIdAndPubKeyAndPrivKeyWithRecoveryPhrase(id string, publicKey string, privateKey string, recoveryPhrase string) error
- type TendermintKeys
- type VegaNodeMetadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBinaryWallets ¶
func GenerateAvatarURL ¶
func GenerateCountryCode ¶
func GenerateEthereumWallet ¶
func GenerateName ¶
func GenerateNewEthereumWallet ¶
func GenerateNewEthereumWallet() (*secrets.EthereumWalletPrivate, error)
func GeneratePassword ¶
func GenerateRandomWikiURL ¶
func GenerateVegaNodeSecrets ¶
func GenerateVegaNodeSecrets() (*secrets.VegaNodePrivate, error)
func GenerateVegaWallet ¶
func GenerateVegaWallet() (*secrets.VegaWalletPrivate, error)
Types ¶
type TendermintKeys ¶
type TendermintKeys struct {
Address string `json:"address"`
PublicKey string `json:"public_key"`
PrivateKey string `json:"private_key"`
}
func GenerateTendermintKeys ¶
func GenerateTendermintKeys() TendermintKeys
type VegaNodeMetadata ¶
type VegaNodeMetadata struct {
Name string `json:"name"`
Country string `json:"country"`
InfoURL string `json:"info_url"`
AvatarURL string `json:"avatar_url"`
}
func GenerateNodeMetadata ¶
func GenerateNodeMetadata() (*VegaNodeMetadata, error)
Click to show internal directories.
Click to hide internal directories.