hdwallet

package
v0.0.24-wip-4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_hdwallet_api_proto protoreflect.FileDescriptor
View Source
var HdWalletApi_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "hdwallet_api.HdWalletApi",
	HandlerType: (*HdWalletApiServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GenerateMnemonic",
			Handler:    _HdWalletApi_GenerateMnemonic_Handler,
		},
		{
			MethodName: "EncryptMnemonic",
			Handler:    _HdWalletApi_EncryptMnemonic_Handler,
		},
		{
			MethodName: "ValidateMnemonic",
			Handler:    _HdWalletApi_ValidateMnemonic_Handler,
		},
		{
			MethodName: "LoadMnemonic",
			Handler:    _HdWalletApi_LoadMnemonic_Handler,
		},
		{
			MethodName: "UnLoadMnemonic",
			Handler:    _HdWalletApi_UnLoadMnemonic_Handler,
		},
		{
			MethodName: "UnLoadMultipleMnemonics",
			Handler:    _HdWalletApi_UnLoadMultipleMnemonics_Handler,
		},
		{
			MethodName: "GetAccount",
			Handler:    _HdWalletApi_GetAccount_Handler,
		},
		{
			MethodName: "GetMultipleAccounts",
			Handler:    _HdWalletApi_GetMultipleAccounts_Handler,
		},
		{
			MethodName: "LoadAccount",
			Handler:    _HdWalletApi_LoadAccount_Handler,
		},
		{
			MethodName: "SignData",
			Handler:    _HdWalletApi_SignData_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "hdwallet_api.proto",
}

HdWalletApi_ServiceDesc is the grpc.ServiceDesc for HdWalletApi service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterHdWalletApiServer

func RegisterHdWalletApiServer(s grpc.ServiceRegistrar, srv HdWalletApiServer)

Types

type Client

type Client struct {
	HdWalletApiClient
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg hdWalletClientConfig) *Client

nolint:revive // fixme

func (*Client) Dial

func (s *Client) Dial(ctx context.Context) error

func (*Client) Init

func (s *Client) Init(ctx context.Context) error

Init bc-wallet-tron-hdwallet GRPC-client service nolint:revive // fixme (autofix)

type EncryptMnemonicRequest

type EncryptMnemonicRequest struct {
	WalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	MnemonicData     []byte                         `protobuf:"bytes,2,opt,name=MnemonicData,proto3" json:"MnemonicData,omitempty"`
	// contains filtered or unexported fields
}

func (*EncryptMnemonicRequest) Descriptor deprecated

func (*EncryptMnemonicRequest) Descriptor() ([]byte, []int)

Deprecated: Use EncryptMnemonicRequest.ProtoReflect.Descriptor instead.

func (*EncryptMnemonicRequest) GetMnemonicData

func (x *EncryptMnemonicRequest) GetMnemonicData() []byte

func (*EncryptMnemonicRequest) GetWalletIdentifier added in v0.0.25

func (x *EncryptMnemonicRequest) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*EncryptMnemonicRequest) ProtoMessage

func (*EncryptMnemonicRequest) ProtoMessage()

func (*EncryptMnemonicRequest) ProtoReflect

func (x *EncryptMnemonicRequest) ProtoReflect() protoreflect.Message

func (*EncryptMnemonicRequest) Reset

func (x *EncryptMnemonicRequest) Reset()

func (*EncryptMnemonicRequest) String

func (x *EncryptMnemonicRequest) String() string

type EncryptMnemonicResponse

type EncryptMnemonicResponse struct {
	WalletIdentifier      *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	EncryptedMnemonicData []byte                         `protobuf:"bytes,2,opt,name=EncryptedMnemonicData,proto3" json:"EncryptedMnemonicData,omitempty"`
	// contains filtered or unexported fields
}

func (*EncryptMnemonicResponse) Descriptor deprecated

func (*EncryptMnemonicResponse) Descriptor() ([]byte, []int)

Deprecated: Use EncryptMnemonicResponse.ProtoReflect.Descriptor instead.

func (*EncryptMnemonicResponse) GetEncryptedMnemonicData

func (x *EncryptMnemonicResponse) GetEncryptedMnemonicData() []byte

func (*EncryptMnemonicResponse) GetWalletIdentifier added in v0.0.25

func (x *EncryptMnemonicResponse) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*EncryptMnemonicResponse) ProtoMessage

func (*EncryptMnemonicResponse) ProtoMessage()

func (*EncryptMnemonicResponse) ProtoReflect

func (x *EncryptMnemonicResponse) ProtoReflect() protoreflect.Message

func (*EncryptMnemonicResponse) Reset

func (x *EncryptMnemonicResponse) Reset()

func (*EncryptMnemonicResponse) String

func (x *EncryptMnemonicResponse) String() string

type GenerateMnemonicRequest

type GenerateMnemonicRequest struct {
	WalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateMnemonicRequest) Descriptor deprecated

func (*GenerateMnemonicRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateMnemonicRequest.ProtoReflect.Descriptor instead.

func (*GenerateMnemonicRequest) GetWalletIdentifier added in v0.0.25

func (x *GenerateMnemonicRequest) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*GenerateMnemonicRequest) ProtoMessage

func (*GenerateMnemonicRequest) ProtoMessage()

func (*GenerateMnemonicRequest) ProtoReflect

func (x *GenerateMnemonicRequest) ProtoReflect() protoreflect.Message

func (*GenerateMnemonicRequest) Reset

func (x *GenerateMnemonicRequest) Reset()

func (*GenerateMnemonicRequest) String

func (x *GenerateMnemonicRequest) String() string

type GenerateMnemonicResponse

type GenerateMnemonicResponse struct {
	WalletIdentifier      *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	EncryptedMnemonicData []byte                         `protobuf:"bytes,2,opt,name=EncryptedMnemonicData,proto3" json:"EncryptedMnemonicData,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateMnemonicResponse) Descriptor deprecated

func (*GenerateMnemonicResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateMnemonicResponse.ProtoReflect.Descriptor instead.

func (*GenerateMnemonicResponse) GetEncryptedMnemonicData

func (x *GenerateMnemonicResponse) GetEncryptedMnemonicData() []byte

func (*GenerateMnemonicResponse) GetWalletIdentifier added in v0.0.25

func (x *GenerateMnemonicResponse) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*GenerateMnemonicResponse) ProtoMessage

func (*GenerateMnemonicResponse) ProtoMessage()

func (*GenerateMnemonicResponse) ProtoReflect

func (x *GenerateMnemonicResponse) ProtoReflect() protoreflect.Message

func (*GenerateMnemonicResponse) Reset

func (x *GenerateMnemonicResponse) Reset()

func (*GenerateMnemonicResponse) String

func (x *GenerateMnemonicResponse) String() string

type GetAccountRequest added in v0.0.25

type GetAccountRequest struct {
	WalletIdentifier  *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	AccountIdentifier *common.AccountIdentity        `protobuf:"bytes,2,opt,name=AccountIdentifier,proto3" json:"AccountIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountRequest) Descriptor deprecated added in v0.0.25

func (*GetAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetAccountRequest.ProtoReflect.Descriptor instead.

func (*GetAccountRequest) GetAccountIdentifier added in v0.0.25

func (x *GetAccountRequest) GetAccountIdentifier() *common.AccountIdentity

func (*GetAccountRequest) GetWalletIdentifier added in v0.0.25

func (x *GetAccountRequest) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*GetAccountRequest) ProtoMessage added in v0.0.25

func (*GetAccountRequest) ProtoMessage()

func (*GetAccountRequest) ProtoReflect added in v0.0.25

func (x *GetAccountRequest) ProtoReflect() protoreflect.Message

func (*GetAccountRequest) Reset added in v0.0.25

func (x *GetAccountRequest) Reset()

func (*GetAccountRequest) String added in v0.0.25

func (x *GetAccountRequest) String() string

type GetAccountResponse added in v0.0.25

type GetAccountResponse struct {
	WalletIdentifier  *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	AccountIdentifier *common.AccountIdentity        `protobuf:"bytes,2,opt,name=AccountIdentifier,proto3" json:"AccountIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccountResponse) Descriptor deprecated added in v0.0.25

func (*GetAccountResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAccountResponse.ProtoReflect.Descriptor instead.

func (*GetAccountResponse) GetAccountIdentifier added in v0.0.25

func (x *GetAccountResponse) GetAccountIdentifier() *common.AccountIdentity

func (*GetAccountResponse) GetWalletIdentifier added in v0.0.25

func (x *GetAccountResponse) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*GetAccountResponse) ProtoMessage added in v0.0.25

func (*GetAccountResponse) ProtoMessage()

func (*GetAccountResponse) ProtoReflect added in v0.0.25

func (x *GetAccountResponse) ProtoReflect() protoreflect.Message

func (*GetAccountResponse) Reset added in v0.0.25

func (x *GetAccountResponse) Reset()

func (*GetAccountResponse) String added in v0.0.25

func (x *GetAccountResponse) String() string

type GetMultipleAccountRequest added in v0.0.25

type GetMultipleAccountRequest struct {
	WalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	Parameters       *anypb.Any                     `protobuf:"bytes,2,opt,name=Parameters,proto3" json:"Parameters,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMultipleAccountRequest) Descriptor deprecated added in v0.0.25

func (*GetMultipleAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMultipleAccountRequest.ProtoReflect.Descriptor instead.

func (*GetMultipleAccountRequest) GetParameters added in v0.0.25

func (x *GetMultipleAccountRequest) GetParameters() *anypb.Any

func (*GetMultipleAccountRequest) GetWalletIdentifier added in v0.0.25

func (x *GetMultipleAccountRequest) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*GetMultipleAccountRequest) ProtoMessage added in v0.0.25

func (*GetMultipleAccountRequest) ProtoMessage()

func (*GetMultipleAccountRequest) ProtoReflect added in v0.0.25

func (*GetMultipleAccountRequest) Reset added in v0.0.25

func (x *GetMultipleAccountRequest) Reset()

func (*GetMultipleAccountRequest) String added in v0.0.25

func (x *GetMultipleAccountRequest) String() string

type GetMultipleAccountResponse added in v0.0.25

type GetMultipleAccountResponse struct {
	WalletIdentifier       *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	AccountIdentitiesCount uint64                         `protobuf:"varint,3,opt,name=AccountIdentitiesCount,proto3" json:"AccountIdentitiesCount,omitempty"`
	AccountIdentifier      []*common.AccountIdentity      `protobuf:"bytes,4,rep,name=AccountIdentifier,proto3" json:"AccountIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMultipleAccountResponse) Descriptor deprecated added in v0.0.25

func (*GetMultipleAccountResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetMultipleAccountResponse.ProtoReflect.Descriptor instead.

func (*GetMultipleAccountResponse) GetAccountIdentifier added in v0.0.25

func (x *GetMultipleAccountResponse) GetAccountIdentifier() []*common.AccountIdentity

func (*GetMultipleAccountResponse) GetAccountIdentitiesCount added in v0.0.25

func (x *GetMultipleAccountResponse) GetAccountIdentitiesCount() uint64

func (*GetMultipleAccountResponse) GetWalletIdentifier added in v0.0.25

func (x *GetMultipleAccountResponse) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*GetMultipleAccountResponse) ProtoMessage added in v0.0.25

func (*GetMultipleAccountResponse) ProtoMessage()

func (*GetMultipleAccountResponse) ProtoReflect added in v0.0.25

func (*GetMultipleAccountResponse) Reset added in v0.0.25

func (x *GetMultipleAccountResponse) Reset()

func (*GetMultipleAccountResponse) String added in v0.0.25

func (x *GetMultipleAccountResponse) String() string

type HdWalletApiClient

HdWalletApiClient is the client API for HdWalletApi service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type HdWalletApiServer

HdWalletApiServer is the server API for HdWalletApi service. All implementations must embed UnimplementedHdWalletApiServer for forward compatibility

type HdWalletClientConfig

type HdWalletClientConfig struct {
	ConnectionPath string `envconfig:"HDWALLET_UNIX_SOCKET_PATH" default:"unix:/tmp/hdwallet.sock"`
}

func (*HdWalletClientConfig) GetConnectionPath

func (c *HdWalletClientConfig) GetConnectionPath() string

func (*HdWalletClientConfig) Prepare

func (c *HdWalletClientConfig) Prepare() error

func (*HdWalletClientConfig) PrepareWith

func (c *HdWalletClientConfig) PrepareWith(cfgSrvList ...interface{}) error

type LoadAccountRequest added in v0.0.25

type LoadAccountRequest struct {
	WalletIdentifier  *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	AccountIdentifier *common.AccountIdentity        `protobuf:"bytes,2,opt,name=AccountIdentifier,proto3" json:"AccountIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadAccountRequest) Descriptor deprecated added in v0.0.25

func (*LoadAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoadAccountRequest.ProtoReflect.Descriptor instead.

func (*LoadAccountRequest) GetAccountIdentifier added in v0.0.25

func (x *LoadAccountRequest) GetAccountIdentifier() *common.AccountIdentity

func (*LoadAccountRequest) GetWalletIdentifier added in v0.0.25

func (x *LoadAccountRequest) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*LoadAccountRequest) ProtoMessage added in v0.0.25

func (*LoadAccountRequest) ProtoMessage()

func (*LoadAccountRequest) ProtoReflect added in v0.0.25

func (x *LoadAccountRequest) ProtoReflect() protoreflect.Message

func (*LoadAccountRequest) Reset added in v0.0.25

func (x *LoadAccountRequest) Reset()

func (*LoadAccountRequest) String added in v0.0.25

func (x *LoadAccountRequest) String() string

type LoadAccountsResponse added in v0.0.25

type LoadAccountsResponse struct {
	WalletIdentifier  *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	AccountIdentifier *common.AccountIdentity        `protobuf:"bytes,2,opt,name=AccountIdentifier,proto3" json:"AccountIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadAccountsResponse) Descriptor deprecated added in v0.0.25

func (*LoadAccountsResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoadAccountsResponse.ProtoReflect.Descriptor instead.

func (*LoadAccountsResponse) GetAccountIdentifier added in v0.0.25

func (x *LoadAccountsResponse) GetAccountIdentifier() *common.AccountIdentity

func (*LoadAccountsResponse) GetWalletIdentifier added in v0.0.25

func (x *LoadAccountsResponse) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*LoadAccountsResponse) ProtoMessage added in v0.0.25

func (*LoadAccountsResponse) ProtoMessage()

func (*LoadAccountsResponse) ProtoReflect added in v0.0.25

func (x *LoadAccountsResponse) ProtoReflect() protoreflect.Message

func (*LoadAccountsResponse) Reset added in v0.0.25

func (x *LoadAccountsResponse) Reset()

func (*LoadAccountsResponse) String added in v0.0.25

func (x *LoadAccountsResponse) String() string

type LoadMnemonicRequest

type LoadMnemonicRequest struct {
	WalletIdentifier      *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	TimeToLive            uint64                         `protobuf:"varint,2,opt,name=TimeToLive,proto3" json:"TimeToLive,omitempty"`
	EncryptedMnemonicData []byte                         `protobuf:"bytes,3,opt,name=EncryptedMnemonicData,proto3" json:"EncryptedMnemonicData,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadMnemonicRequest) Descriptor deprecated

func (*LoadMnemonicRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoadMnemonicRequest.ProtoReflect.Descriptor instead.

func (*LoadMnemonicRequest) GetEncryptedMnemonicData

func (x *LoadMnemonicRequest) GetEncryptedMnemonicData() []byte

func (*LoadMnemonicRequest) GetTimeToLive

func (x *LoadMnemonicRequest) GetTimeToLive() uint64

func (*LoadMnemonicRequest) GetWalletIdentifier added in v0.0.25

func (x *LoadMnemonicRequest) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*LoadMnemonicRequest) ProtoMessage

func (*LoadMnemonicRequest) ProtoMessage()

func (*LoadMnemonicRequest) ProtoReflect

func (x *LoadMnemonicRequest) ProtoReflect() protoreflect.Message

func (*LoadMnemonicRequest) Reset

func (x *LoadMnemonicRequest) Reset()

func (*LoadMnemonicRequest) String

func (x *LoadMnemonicRequest) String() string

type LoadMnemonicResponse

type LoadMnemonicResponse struct {
	WalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadMnemonicResponse) Descriptor deprecated

func (*LoadMnemonicResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoadMnemonicResponse.ProtoReflect.Descriptor instead.

func (*LoadMnemonicResponse) GetWalletIdentifier added in v0.0.25

func (x *LoadMnemonicResponse) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*LoadMnemonicResponse) ProtoMessage

func (*LoadMnemonicResponse) ProtoMessage()

func (*LoadMnemonicResponse) ProtoReflect

func (x *LoadMnemonicResponse) ProtoReflect() protoreflect.Message

func (*LoadMnemonicResponse) Reset

func (x *LoadMnemonicResponse) Reset()

func (*LoadMnemonicResponse) String

func (x *LoadMnemonicResponse) String() string

type SignDataRequest

type SignDataRequest struct {
	WalletIdentifier  *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	AccountIdentifier *common.AccountIdentity        `protobuf:"bytes,2,opt,name=AccountIdentifier,proto3" json:"AccountIdentifier,omitempty"`
	DataForSign       []byte                         `protobuf:"bytes,3,opt,name=DataForSign,proto3" json:"DataForSign,omitempty"`
	// contains filtered or unexported fields
}

func (*SignDataRequest) Descriptor deprecated

func (*SignDataRequest) Descriptor() ([]byte, []int)

Deprecated: Use SignDataRequest.ProtoReflect.Descriptor instead.

func (*SignDataRequest) GetAccountIdentifier added in v0.0.25

func (x *SignDataRequest) GetAccountIdentifier() *common.AccountIdentity

func (*SignDataRequest) GetDataForSign

func (x *SignDataRequest) GetDataForSign() []byte

func (*SignDataRequest) GetWalletIdentifier added in v0.0.25

func (x *SignDataRequest) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*SignDataRequest) ProtoMessage

func (*SignDataRequest) ProtoMessage()

func (*SignDataRequest) ProtoReflect

func (x *SignDataRequest) ProtoReflect() protoreflect.Message

func (*SignDataRequest) Reset

func (x *SignDataRequest) Reset()

func (*SignDataRequest) String

func (x *SignDataRequest) String() string

type SignDataResponse

type SignDataResponse struct {
	WalletIdentifier  *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	AccountIdentifier *common.AccountIdentity        `protobuf:"bytes,2,opt,name=AccountIdentifier,proto3" json:"AccountIdentifier,omitempty"`
	SignedData        []byte                         `protobuf:"bytes,3,opt,name=SignedData,proto3" json:"SignedData,omitempty"`
	// contains filtered or unexported fields
}

func (*SignDataResponse) Descriptor deprecated

func (*SignDataResponse) Descriptor() ([]byte, []int)

Deprecated: Use SignDataResponse.ProtoReflect.Descriptor instead.

func (*SignDataResponse) GetAccountIdentifier added in v0.0.25

func (x *SignDataResponse) GetAccountIdentifier() *common.AccountIdentity

func (*SignDataResponse) GetSignedData

func (x *SignDataResponse) GetSignedData() []byte

func (*SignDataResponse) GetWalletIdentifier added in v0.0.25

func (x *SignDataResponse) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*SignDataResponse) ProtoMessage

func (*SignDataResponse) ProtoMessage()

func (*SignDataResponse) ProtoReflect

func (x *SignDataResponse) ProtoReflect() protoreflect.Message

func (*SignDataResponse) Reset

func (x *SignDataResponse) Reset()

func (*SignDataResponse) String

func (x *SignDataResponse) String() string

type UnLoadMnemonicRequest

type UnLoadMnemonicRequest struct {
	WalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*UnLoadMnemonicRequest) Descriptor deprecated

func (*UnLoadMnemonicRequest) Descriptor() ([]byte, []int)

Deprecated: Use UnLoadMnemonicRequest.ProtoReflect.Descriptor instead.

func (*UnLoadMnemonicRequest) GetWalletIdentifier added in v0.0.25

func (x *UnLoadMnemonicRequest) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*UnLoadMnemonicRequest) ProtoMessage

func (*UnLoadMnemonicRequest) ProtoMessage()

func (*UnLoadMnemonicRequest) ProtoReflect

func (x *UnLoadMnemonicRequest) ProtoReflect() protoreflect.Message

func (*UnLoadMnemonicRequest) Reset

func (x *UnLoadMnemonicRequest) Reset()

func (*UnLoadMnemonicRequest) String

func (x *UnLoadMnemonicRequest) String() string

type UnLoadMnemonicResponse

type UnLoadMnemonicResponse struct {
	WalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*UnLoadMnemonicResponse) Descriptor deprecated

func (*UnLoadMnemonicResponse) Descriptor() ([]byte, []int)

Deprecated: Use UnLoadMnemonicResponse.ProtoReflect.Descriptor instead.

func (*UnLoadMnemonicResponse) GetWalletIdentifier added in v0.0.25

func (x *UnLoadMnemonicResponse) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*UnLoadMnemonicResponse) ProtoMessage

func (*UnLoadMnemonicResponse) ProtoMessage()

func (*UnLoadMnemonicResponse) ProtoReflect

func (x *UnLoadMnemonicResponse) ProtoReflect() protoreflect.Message

func (*UnLoadMnemonicResponse) Reset

func (x *UnLoadMnemonicResponse) Reset()

func (*UnLoadMnemonicResponse) String

func (x *UnLoadMnemonicResponse) String() string

type UnLoadMultipleMnemonicsRequest

type UnLoadMultipleMnemonicsRequest struct {
	WalletIdentifier []*common.MnemonicWalletIdentity `protobuf:"bytes,1,rep,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*UnLoadMultipleMnemonicsRequest) Descriptor deprecated

func (*UnLoadMultipleMnemonicsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UnLoadMultipleMnemonicsRequest.ProtoReflect.Descriptor instead.

func (*UnLoadMultipleMnemonicsRequest) GetWalletIdentifier added in v0.0.25

func (x *UnLoadMultipleMnemonicsRequest) GetWalletIdentifier() []*common.MnemonicWalletIdentity

func (*UnLoadMultipleMnemonicsRequest) ProtoMessage

func (*UnLoadMultipleMnemonicsRequest) ProtoMessage()

func (*UnLoadMultipleMnemonicsRequest) ProtoReflect

func (*UnLoadMultipleMnemonicsRequest) Reset

func (x *UnLoadMultipleMnemonicsRequest) Reset()

func (*UnLoadMultipleMnemonicsRequest) String

type UnLoadMultipleMnemonicsResponse

type UnLoadMultipleMnemonicsResponse struct {
	WalletIdentifier []*common.MnemonicWalletIdentity `protobuf:"bytes,1,rep,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	// contains filtered or unexported fields
}

func (*UnLoadMultipleMnemonicsResponse) Descriptor deprecated

func (*UnLoadMultipleMnemonicsResponse) Descriptor() ([]byte, []int)

Deprecated: Use UnLoadMultipleMnemonicsResponse.ProtoReflect.Descriptor instead.

func (*UnLoadMultipleMnemonicsResponse) GetWalletIdentifier added in v0.0.25

func (*UnLoadMultipleMnemonicsResponse) ProtoMessage

func (*UnLoadMultipleMnemonicsResponse) ProtoMessage()

func (*UnLoadMultipleMnemonicsResponse) ProtoReflect

func (*UnLoadMultipleMnemonicsResponse) Reset

func (*UnLoadMultipleMnemonicsResponse) String

type UnimplementedHdWalletApiServer

type UnimplementedHdWalletApiServer struct {
}

UnimplementedHdWalletApiServer must be embedded to have forward compatible implementations.

func (UnimplementedHdWalletApiServer) EncryptMnemonic

func (UnimplementedHdWalletApiServer) GenerateMnemonic

func (UnimplementedHdWalletApiServer) GetAccount added in v0.0.25

func (UnimplementedHdWalletApiServer) GetMultipleAccounts added in v0.0.25

func (UnimplementedHdWalletApiServer) LoadAccount added in v0.0.25

func (UnimplementedHdWalletApiServer) LoadMnemonic

func (UnimplementedHdWalletApiServer) SignData

func (UnimplementedHdWalletApiServer) UnLoadMnemonic

func (UnimplementedHdWalletApiServer) ValidateMnemonic

type UnsafeHdWalletApiServer

type UnsafeHdWalletApiServer interface {
	// contains filtered or unexported methods
}

UnsafeHdWalletApiServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HdWalletApiServer will result in compilation errors.

type ValidateMnemonicRequest

type ValidateMnemonicRequest struct {
	WalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	MnemonicData     []byte                         `protobuf:"bytes,2,opt,name=MnemonicData,proto3" json:"MnemonicData,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateMnemonicRequest) Descriptor deprecated

func (*ValidateMnemonicRequest) Descriptor() ([]byte, []int)

Deprecated: Use ValidateMnemonicRequest.ProtoReflect.Descriptor instead.

func (*ValidateMnemonicRequest) GetMnemonicData

func (x *ValidateMnemonicRequest) GetMnemonicData() []byte

func (*ValidateMnemonicRequest) GetWalletIdentifier added in v0.0.25

func (x *ValidateMnemonicRequest) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*ValidateMnemonicRequest) ProtoMessage

func (*ValidateMnemonicRequest) ProtoMessage()

func (*ValidateMnemonicRequest) ProtoReflect

func (x *ValidateMnemonicRequest) ProtoReflect() protoreflect.Message

func (*ValidateMnemonicRequest) Reset

func (x *ValidateMnemonicRequest) Reset()

func (*ValidateMnemonicRequest) String

func (x *ValidateMnemonicRequest) String() string

type ValidateMnemonicResponse

type ValidateMnemonicResponse struct {
	WalletIdentifier *common.MnemonicWalletIdentity `protobuf:"bytes,1,opt,name=WalletIdentifier,proto3" json:"WalletIdentifier,omitempty"`
	IsValid          bool                           `protobuf:"varint,2,opt,name=IsValid,proto3" json:"IsValid,omitempty"`
	// contains filtered or unexported fields
}

func (*ValidateMnemonicResponse) Descriptor deprecated

func (*ValidateMnemonicResponse) Descriptor() ([]byte, []int)

Deprecated: Use ValidateMnemonicResponse.ProtoReflect.Descriptor instead.

func (*ValidateMnemonicResponse) GetIsValid

func (x *ValidateMnemonicResponse) GetIsValid() bool

func (*ValidateMnemonicResponse) GetWalletIdentifier added in v0.0.25

func (x *ValidateMnemonicResponse) GetWalletIdentifier() *common.MnemonicWalletIdentity

func (*ValidateMnemonicResponse) ProtoMessage

func (*ValidateMnemonicResponse) ProtoMessage()

func (*ValidateMnemonicResponse) ProtoReflect

func (x *ValidateMnemonicResponse) ProtoReflect() protoreflect.Message

func (*ValidateMnemonicResponse) Reset

func (x *ValidateMnemonicResponse) Reset()

func (*ValidateMnemonicResponse) String

func (x *ValidateMnemonicResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL