// Create client by private key as identification.
// Handle function is used when the network exists. Can be null.
Create client by private key as identification.
Handle function is used when the network exists. Can be null.
// Create client by private key as identification . // Handle function is used when the network exists . Can be null .
func NewClient(priv crypto.PrivKey) *Client {
	if priv == nil {
		return nil
	}
	return &Client{
		privateKey: priv,
	}
}
func NewClient ( priv crypto . PrivKey ) * Client { if priv == nil { return nil } return & Client { privateKey : priv , } }
Create client by private key as identification.
Create client by private key as identification .