Maskbook icon indicating copy to clipboard operation
Maskbook copied to clipboard

feat: integrate predict and azuro plugins

Open SebastianLF opened this issue 2 years ago • 2 comments

Description

Closes #5495

  • [x] Integrate "POA Sokol" testnet chain
  • [x] display all events
  • [x] display user's bets
  • [x] allow to place a bet
  • [x] allow to redeem "won/cancelled" bets

Type of change

  • [ ] Documentation
  • [ ] Code refactoring (Restructuring existing code w/o changing its observable behavior)
  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (a fix or feature that would make something no longer possible to do/require old user must upgrade their Mask Network to this new version)

Previews

Checklist

  • [x] My code follows the style guidelines of this project.
  • [x] I have performed a self-review of my own code.
    • [x] I have removed all in development console.logs
    • [x] I have removed all commented code.
  • [x] I have commented on my code, particularly in hard-to-understand areas.
  • [x] I have read Internationalization Guide and moved text fields to the i18n JSON file.

If this PR depends on external APIs:

  • [ ] I have configured those APIs with CORS headers to let extension requests get passed.
    • chrome extension: chrome-extension://[id]
    • firefox extension: moz-extension://[id]
  • [x] I have delegated all web requests to the background service via the internal RPC bridge.

SebastianLF avatar Jun 16 '22 13:06 SebastianLF

@SebastianLF

  1. A lot of exceptions when fetch event, and also amounts of network request.

https://user-images.githubusercontent.com/2582974/180345911-0222322a-23f4-4a3a-a0b1-52fe9193d989.mp4

  1. 503 image

AinuX avatar Jul 22 '22 02:07 AinuX

@SebastianLF

  1. A lot of exceptions when fetch event, and also amounts of network request.

iShot_2022-07-22_09.56.45.mp4 2. 503

image

These errors comes continuously for 2 months, I can't find a solution. Moreover none want really to help me make it work so I don't know. Despite this, the plugin has fulfilled its promise, meaning you can list events, bet. list your personal bets and redeem.

SebastianLF avatar Jul 29 '22 15:07 SebastianLF

@SebastianLF

Unable to access azuro plugin.

https://user-images.githubusercontent.com/2582974/196134714-3b890d77-18dc-42d8-85ef-de4acc445bb1.mp4

AinuX avatar Oct 17 '22 08:10 AinuX

@SebastianLF

Unable to access azuro plugin.

iShot_2022-10-17_16.55.09.mp4

Sorry for the late reply. Plugin is only available for mainnet xDai. Try switch to Gnosis, should work.

SebastianLF avatar Oct 22 '22 10:10 SebastianLF