What addr to use for reflector wallet.Connect
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 15
- Forks
- 13
- PR merge metrics
- No merged PRs in 30d
Description
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:
```go
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)
}
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the wallet.NewNode and wallet.Connect entry points shown in the Go example, and compare their expected server address format with the referenced lbry/conf.py configuration. Confirm which endpoint information is current, then document the supported address and connection guidance for Go users.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100