code: func (x *XC) ImportPublicKey(ctx context.Context, buf []byte) error {
  	if err := x.pubring.Import(buf); err != nil {
  		return err
  	}
  	return x.pubring.Save()
  }
docs: // ImportPublicKey imports a given public key into the keyring