Build a User Tx. History table
Complete⏰Reward: 100 DAI🤑Rewarded contributors: @io#0768🤩
Bazaar users need to have easy access to their history and query past transactions in order to make sure trades were completed, rejected or never went through.
- Create a User Transaction History Table in the Trade Centre page
Vue Javascript CSS
- This is data that needs to be displayed:
Transaction hash | State | Creator Wallet | Project/ Asset | Amount | Executor wallet | Project/Asset | Amount |
---|---|---|---|---|---|---|---|
0xb...a8bba?* | Completed | You | Aavegotchi / item #109 | 7 | 0x8ha...b7aha | SFL / gnome | 2 |
| Rejected | | | | | | |
| Canceled | | | | | | |
*Add an icon and link to Polygon scan's transaction Hash (only in Completed transaction)
- Access Bazaar's website repo in our Github
- Fork the repo and copy the test branch to your local host
- Access file
store/index.js
- Within folder
store
access filebazaar-connector.js
- Change method
getTradeInfo -
In line 178 change variable in order to store and return the transaction hash - within
components/history/table.vue
add column with the transaction hash URL - Crate a
Pull request
once you complete the work - Submit completed github pull request link into a google doc, copy editable doc link and fill into submission form https://forms.gle/ghptbcCykWWuNkDC8
- You will be notified if request is approved and merged with the
Master branch.
- Table provides all the data specified in the Bounty Challenges topic
- Table design matches current website UI
- Pull request is made before 11.59PM (UTC) of deadline's day
- Pull request is approved by core team and merged with the Master branch
- 100 DAI
- 1 pull request approved and rewarded only
- Reward sent on the last Friday of the month after the one your work is merged with the Master branch