Skip to content
Discussion options

You must be logged in to vote

Hello, @bertankofon !
Thanks for using Yellow SDK!

Question: Should sigs[0] be the signature of the RPC request or the channel state itself?

The state.sigs[0] should be the user signature of the channel state struct (without signatures, obviously).
Please note that it is more convenient to use Yellow SDK NitroliteClient's depositAndCreate method, that basically takes the response from create_channel Clearnode's endpoint as a parameter, performs all the necessary transformations and even submits the transation!

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
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