Currently cdk does not offer a function to withdraw the max or withdraw all via lighting for a given mint. This is useful for emptying a wallet for swapping from an untrusted mint to a trusted one.
Wallets like macademia support this where the wallet internally does a loop of getting mint quotes to estimate the fee of the melt, we could provide this in cdk.
Currently cdk does not offer a function to withdraw the max or withdraw all via lighting for a given mint. This is useful for emptying a wallet for swapping from an untrusted mint to a trusted one.
Wallets like macademia support this where the wallet internally does a loop of getting mint quotes to estimate the fee of the melt, we could provide this in cdk.