btcsuite / btcd

An alternative full node bitcoin implementation written in Go (golang)

Home Page:https://github.com/btcsuite/btcd/blob/master/README.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When using client for RPC access, how do I specify the wallet?

s1mple1122 opened this issue · comments

commented

request err ,Wallet file not specified (must request wallet RPC through /wallet/ uri-path)
The method I am using is client.GetTransaction(txHash)

btcd doesn't package a wallet, you can find one here: https://github.com/btcsuite/btcwallet/tree/master

Or run lnd which lets you package neutrino and the wallet: https://github.com/lightningnetwork/lnd