dashed-slug.net › Forums › General discussion › More BTC deposit addresses › Reply To: More BTC deposit addresses
It is currently possible for a user to generate more deposit addresses for themselves.
The Coin Adapters are an abstraction layer. They abstract wallet functionality. Any wallet generates addresses and provides them to the plugin in the same way. So it should not matter which wallet you are using as a backend, the behavior would be the same.
The end user can request a new deposit address by clicking on the button in the [wallets_deposit]
shortcode. This does a JSON API call to the do_new_address
endpoint. This in turn triggers the wallets_api_deposit_address
WordPress filter which is part of the PHP API, with the force_new
argument. This instructs the adapter to request a new address from the wallet. The plugin then saves the address to the current user.
You can inspect the latest (default) deposit addresses of a user in their WordPress profile screen. You can also inspect all addresses for all users under Wallets -> Deposit Addresses.
I am not sure if I have answered your question, so please let me know if I haven’t.
with regards