When converting BTC to ckBTC with the ckBTC minter the user needs to know his Bitcoin deposit address. It can be obtained by calling the get_deposit_address
function of the ckBTC minter.
But the user can also be a canister. And in some cases the canister wants to get many deposit addresses for each of its users. In this scenario it is beneficial if the canister can calculate the Bitcoin deposit address itself without having to call the ckBTC miner each time. This is now possible with this new Motoko package: Mops • Motoko Package Manager