code: func New(dir string, client agentClient) (*XC, error) {
  	skr, _ := keyring.LoadSecring(filepath.Join(dir, secringFilename))
  	pkr, _ := keyring.LoadPubring(filepath.Join(dir, pubringFilename), skr)
  	return &XC{
  		dir:     dir,
  		pubring: pkr,
  		secring: skr,
  		client:  client,
  	}, nil
  }
docs: // New creates a new XC backend