Skip to content

[General] <withdraw contract's balance> #131

Closed Answered by vasyl-ivanchuk
FireLoveInIce asked this question in General
Discussion options

You must be logged in to vote

To my knowledge, native transfers are supported (yet not recommended) but with the gas limit specified for the transaction. Please, let me know if that works for you.

Here is a good blog post about why transfer() should not be used: Stop Using Solidity's transfer() Now. Please, also check our zkSync Era Security and best practices page where we also have a section for this.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@FireLoveInIce
Comment options

@vasyl-ivanchuk
Comment options

@FireLoveInIce
Comment options

@vasyl-ivanchuk
Comment options

Answer selected by vasyl-ivanchuk
@FireLoveInIce
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
General
Labels
general General question
2 participants