Skip to content
Discussion options

You must be logged in to vote
  1. For “new wallet deposit → top up Unified on an existing channel”, what is the correct use of allocate_amount and resize_amount?

Currently resize(...) it NOT able to perform a deposit from EOA to Custody SC, thus either Custody available balance should suffice or a separate deposit(...) transaction is required prior. Therefore the intended flow is to use NitroliteClient.deposit(tokenAddress, amount) before doing the resize.

In the next major release we indeed plan to merge this into one flow. We will notify on our developments.


  1. I might be wrong but my understanding was in the Go docs AllocateAmount and ResizeAmount are mutually exclusive, but you mentioned allocate_amount = -resize_…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@rahimunlu
Comment options

@nksazonov
Comment options

Answer selected by nksazonov
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants