Summary
The trade panel should display the expected price for the quantity the user has entered before they submit the transaction. An integration test should enter a quantity and assert the price preview updates to match the bonding curve price for that quantity.
Scope
- Render the trade panel for a creator with a known current price
- Enter quantity 1 into the buy input
- Assert the price preview shows the correct price for buying 1 key at the current supply
- Change the quantity to 2 and assert the price preview updates accordingly
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
The trade panel should display the expected price for the quantity the user has entered before they submit the transaction. An integration test should enter a quantity and assert the price preview updates to match the bonding curve price for that quantity.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram