Skip to content

Price xALPH from its on-chain ALPH exchange rate - #682

Merged
h0ngcha0 merged 3 commits into
masterfrom
fix-xalph-price
Oct 30, 2026
Merged

h0ngcha0 merged 3 commits into
masterfrom
fix-xalph-price

Conversation

@nop33

@nop33 nop33 commented Oct 18, 2026

Copy link
Copy Markdown
Member

xALPH had no price on /market/prices, so wallets showed it at 0. Price configured liquid staking tokens as the ALPH price times totalDepositedAlph / totalXAlphSupply read from the token contract.

xALPH had no price on /market/prices, so wallets showed it at 0.
Price configured liquid staking tokens as the ALPH price times
totalDepositedAlph / totalXAlphSupply read from the token contract.
@nop33
nop33 requested review from h0ngcha0 and tdroxler October 18, 2026 07:15
alephium {
explorer {
market {
powfi-pools {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it work if we just add a xALPH section under powfi-pools ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, it does

nop33 added 2 commits October 20, 2026 07:21
Address review: drop the separate staked-alph-tokens pricing and add
xALPH to powfi-pools using the mainnet ALPH/xALPH CLMM pool.
@nop33
nop33 requested a review from h0ngcha0 October 20, 2026 05:25
@h0ngcha0
h0ngcha0 merged commit f06a602 into master Oct 30, 2026
2 checks passed
@h0ngcha0
h0ngcha0 deleted the fix-xalph-price branch October 30, 2026 14:44
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