Registry /
networking / decred-dcrwallet-rpc-client-dcrd
Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
dcrd
✓ github.com/decred/dcrwallet/rpc/client/dcrd
Connect to a dcrd node and retrieve blockchain info.
package main
import (
"fmt"
"github.com/decred/dcrwallet/rpc/client/dcrd"
)
func main() {
client, err := dcrd.New("localhost:9109", "user", "pass", false)
if err != nil {
panic(err)
}
info, err := client.GetInfo()
if err != nil {
panic(err)
}
fmt.Println(info)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.