Skip to content

What addr to use for reflector wallet.Connect #59

@Lukasz825700516

Description

@Lukasz825700516

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)
	}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions