Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What addr to use for reflector wallet.Connect #59

Open
Lukasz825700516 opened this issue Jun 3, 2022 · 0 comments
Open

What addr to use for reflector wallet.Connect #59

Lukasz825700516 opened this issue Jun 3, 2022 · 0 comments

Comments

@Lukasz825700516
Copy link

Hi, I wanted to use LBRY through golang, but the lack of good documentation makes it really hard for me.

What address should I use to connect with wallet serwer? I tried using these urls:
https://github.com/lbryio/lbry-sdk/blob/7a8d5da0e8df0244bafbfd03acd4403557608dcb/lbry/conf.py#L689
but I get panic dial tcp 147.135.1.20:50001: i/o timeout

My code:

	var r *pb.Output
	var err error

	addr := []string{
		"spv11.lbry.com:50001",
		"spv12.lbry.com:50001",
		"spv13.lbry.com:50001",
		"spv14.lbry.com:50001",
		"spv15.lbry.com:50001",
		"spv16.lbry.com:50001",
		"spv17.lbry.com:50001",
		"spv18.lbry.com:50001",
		"spv19.lbry.com:50001",
	}
	w := wallet.NewNode()
	defer w.Shutdown()

	if err = w.Connect(addr, nil); err != nil {
		panic(err)
	}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant