Added token trading widget inside the community sidebar
"How We Fixed It"
N/A
Test Plan
Pre-req: there were some changes to tokens schema and contract in earlier prs that will result in non-valid values with existing tokens (if you have any created in local db). You'd need to clear those out, i.e first clear the LaunchpadTrades and then the Tokens table, create a new token and then you'd be able to test correctly.
Visit any community that has a token
Verify you see the community token loaded as a widget in the community sidebar
Verify you are able to trade (buy/sell) token from that widget
Verify that token pricing data and market caps displayed are correct
Link to Issue
Closes: https://github.com/hicommonwealth/commonwealth/issues/9489 https://github.com/hicommonwealth/commonwealth/issues/9946
Description of Changes
Added token trading widget inside the community sidebar
"How We Fixed It"
N/A
Test Plan
Pre-req: there were some changes to tokens schema and contract in earlier prs that will result in non-valid values with existing tokens (if you have any created in local db). You'd need to clear those out, i.e first clear the
LaunchpadTrades
and then theTokens
table, create a new token and then you'd be able to test correctly.Deployment Plan
N/A
Other Considerations
N/A