func Master(networkPassphrase string) KP {
	kp, err := FromRawSeed(network.ID(networkPassphrase))
	if err != nil {
		panic(err)
	}
	return kp
}
Master returns the master keypair for a given network passphrase
package keypair
import (
	"crypto/rand"
	"errors"
	"io"
	"github.com/stellar/go/network"
	"github.com/stellar/go/strkey"
	"github.com/stellar/go/xdr"
)
var (
	ErrInvalidKey = errors.New("invalid key")
	ErrInvalidSignature = errors.New("signature verification failed")
	ErrCannotSign = errors.New("cannot sign")
)
const (
	DefaultSignerWeight = 1
)
type KP interface {
	Address() string
	Hint() [4]byte
	Verify(input []byte, signature []byte) error
	Sign(input []byte) ([]byte, error)
	SignDecorated(input []byte) (xdr.DecoratedSignature, error)
}
func Random() (*Full, error) {
	var rawSeed [32]byte
	_, err := io.ReadFull(rand.Reader, rawSeed[:])
	if err != nil {
		return nil, err
	}
	kp, err := FromRawSeed(rawSeed)
	if err != nil {
		return nil, err
	}
	return kp, nil
}