MultiversX Tracker is Live!

Error when using +1 wallets in Bitcoin Core testnet (denpamusic/php-bitcoinrpc)

Bitcoin Reddit

More / Bitcoin Reddit 98 Views

Hello everyone,

I have two wallets with Bitcoin Core testnet in the folder C:\Users' User's DataData, in the folder C:\Users' Data, in the folder C:\Users' User's Data. I use this PHP library: https://github.com/denpamusic/php-bitcoinrpc

Next, in this path is the folder named wallet and test1 with the .dat files of each wallet

If only one wallet exists, it detects it and can work without even putting 'walletdir' or 'wallet' in $config. But if there are two wallets, it does not work when I put the path in:

$config = [
scheme' => 'http',
'host' => 'localhost',
'port' => 8332,
'user' => 'user',
'password' => 'pass',
'walletdir' => '/wallets/wallet'
];

I have tried a thousand ways, for example: '/testnet3/wallets/wallet/wallet', '/wallets/wallet/wallet.dat' and it doesn't work either.

The error I get back is this: 'Fatal error: Uncaught Denpa\Bitcoin\Exceptions\BadRemoteCallException: Wallet file not specified (must request wallet RPC through /wallet/<filename> uri-path)'.

submitted by /u/rbn_god
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments