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)'.
[link] [comments]
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