Documentation ¶
Index ¶
- func CreateBinaryWallets(tendermintValidatorPubKey string, vegaWalletRecoveryPhrase string, ...) (*config.BinaryWallets, error)
- func GenerateAvatarURL() (string, error)
- func GenerateCountryCode() (string, error)
- func GenerateDeHistoryIdentity(seed string) (config.Identity, error)
- func GenerateName() (string, error)
- func GenerateRandomWikiURL() (string, error)
- func GenerateVegaNodeSecrets() (config.Node, error)
- func Password() (string, error)
- type EthereumWalletPrivate
- type TendermintKeys
- type VegaNodeMetadata
- type VegaWalletPrivate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBinaryWallets ¶
func GenerateAvatarURL ¶
func GenerateCountryCode ¶
func GenerateName ¶
func GenerateRandomWikiURL ¶
func GenerateVegaNodeSecrets ¶
Types ¶
type EthereumWalletPrivate ¶
type EthereumWalletPrivate struct { Address string `json:"address"` Mnemonic string `json:"mnemonic"` Seed string `json:"seed"` PrivateKey string `json:"private_key"` }
func GenerateEthereumWallet ¶
func GenerateEthereumWallet( mnemonic string, seed string, password string, ) (*EthereumWalletPrivate, error)
func GenerateNewEthereumWallet ¶
func GenerateNewEthereumWallet() (*EthereumWalletPrivate, error)
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)
type VegaWalletPrivate ¶
type VegaWalletPrivate struct { Id string `json:"id"` PublicKey string `json:"public_key"` PrivateKey string `json:"private_key"` RecoveryPhrase string `json:"recovery_phrase"` }
func GenerateVegaWallet ¶
func GenerateVegaWallet() (*VegaWalletPrivate, error)
Click to show internal directories.
Click to hide internal directories.