You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the user is sending BTC on-chain funds from an external wallet, we should use an ephemeral address to first receive the funds there and then send it to the real swap address only once we verified that it contains valid amount & pays high enough fee, prompting the user to refund the funds if those aren't satisfied, this also prevents user from sending in the funds too late, as in that case the user can just refund. This should also allow us to decrease the timeout time of the escrows significantly.
This approach will not be used when sending the funds from browser based wallet, as there we have full control of the transaction construction, with the fees & amounts.
It is proposed to use smart-chain wallet's signature over a known message to generate a private key for the ephemeral address, this however requires the use of deterministic nonce by the signing wallet (this works for Solana)
The text was updated successfully, but these errors were encountered:
If the user is sending BTC on-chain funds from an external wallet, we should use an ephemeral address to first receive the funds there and then send it to the real swap address only once we verified that it contains valid amount & pays high enough fee, prompting the user to refund the funds if those aren't satisfied, this also prevents user from sending in the funds too late, as in that case the user can just refund. This should also allow us to decrease the timeout time of the escrows significantly.
This approach will not be used when sending the funds from browser based wallet, as there we have full control of the transaction construction, with the fees & amounts.
It is proposed to use smart-chain wallet's signature over a known message to generate a private key for the ephemeral address, this however requires the use of deterministic nonce by the signing wallet (this works for Solana)
The text was updated successfully, but these errors were encountered: