Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

place order always creates a new account for wrapped token #97

Open
quazzuk opened this issue Nov 19, 2021 · 4 comments
Open

place order always creates a new account for wrapped token #97

quazzuk opened this issue Nov 19, 2021 · 4 comments

Comments

@quazzuk
Copy link
Contributor

quazzuk commented Nov 19, 2021

if I create an account with a balance of wrapped sol and pass it into the place_order call as the payer argument the call still creates, initialises and closes a temporary account. Is this the intended behaviour? It's different from serum-ts

@jaimindp
Copy link

Wondering about this as well. After the new 'quote wallet' when I try to place an order it goes through and the Solana Explorer shows an error: invalid program argument

@Skadi0h
Copy link

Skadi0h commented Feb 5, 2022

When creating my exchanger, I noticed that the "SOL/USDT" quote is actually produced using a Wrapped SOL token. I think this is due to the fact that the Solana coin itself is not a token and is difficult to trade in such a case.

@Skadi0h
Copy link

Skadi0h commented Feb 5, 2022

To implement my liquid exchanger with the attraction of other funds, I also had to wrap SOL accounts

@Skadi0h
Copy link

Skadi0h commented Feb 5, 2022

all markets directly related to SOL are special because it is impossible to trade without an additional liquid account, it is necessary to wrap SOL.
Correct me if this is not true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants