Skip to content

Dev whirlpool#4

Open
SeanTong11 wants to merge 19 commits intoSolana-ZH:mainfrom
SeanTong11:dev-whirlpool
Open

Dev whirlpool#4
SeanTong11 wants to merge 19 commits intoSolana-ZH:mainfrom
SeanTong11:dev-whirlpool

Conversation

@SeanTong11
Copy link

@SeanTong11 SeanTong11 commented Aug 20, 2025

@SeanTong11 SeanTong11 closed this Aug 21, 2025
@SeanTong11 SeanTong11 reopened this Aug 21, 2025
@SeanTong11 SeanTong11 closed this Aug 21, 2025
@SeanTong11 SeanTong11 reopened this Aug 21, 2025
@0xfakeSpike
Copy link
Collaborator

感谢seanTong的pr,辛苦了!

不过我测试出两个问题需要解决下:

  1. 价格计算有偏差:
    2025/08/30 09:59:17 Selected best pool: CWjGo5jkduSW5LN5rxgiQ18vGnJJEKWPCXkpJGxKSQTH
    2025/08/30 09:59:17 Expected output amount: 1820
    以上卖出sol的价格是180u/sol
    但是我在https://www.orca.so/pools/CWjGo5jkduSW5LN5rxgiQ18vGnJJEKWPCXkpJGxKSQTH 查询到的时价是203u/sol

2.instruction参数有问题:
Program Error: "Instruction #1 Failed - custom program error: 6011 | Provided sqrt price out of bounds"

@SeanTong11 SeanTong11 closed this Sep 7, 2025
@SeanTong11 SeanTong11 reopened this Sep 7, 2025
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

Successfully merging this pull request may close these issues.

2 participants