Summary
After a confirmed sell the seller's key balance in the database should reflect the reduced amount. An integration test should execute a sell and confirm both the database record and the balance endpoint return the updated value.
Scope
- Seed a wallet with a balance of 10 keys for a creator
- Call the sell endpoint to sell 4 keys and await confirmation
- Query the balance endpoint for that wallet and creator, assert balance is 6
- Sell the remaining 6 keys and assert balance is 0
- Assert the wallet is no longer returned in the key holder list after selling all keys
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram
Summary
After a confirmed sell the seller's key balance in the database should reflect the reduced amount. An integration test should execute a sell and confirm both the database record and the balance endpoint return the updated value.
Scope
Acceptance Criteria
ETA: 12 hours
Coordinate on Telegram