Im looking for a way to load a regtest wallet created by bitcoinlib using a specified client but i don't know exactly how this works or even if i can. Here's my code:
>>> from bitcoinlib.wallets import wallet_create_or_open, Wallet
>>> from bitcoinlib.services.bitcoind import BitcoindClient
>>>
>>> # Connect to a local regtest daemon
>>> base_url = '
http://user:password@127.0.0.1:18443'
>>> bitcoind_client = BitcoindClient(network='regtest', base_url=base_url)
>>>
>>> # Create or load a wallet
>>> wallet_name = 'my_regtest_wallet'
>>> wallet = wallet_create_or_open(wallet_name, network='regtest', witness_type='segwit')
What i want is to "tell" the wallet to use the bitcoind_client i provided.
Any help is welcomed!