Free course

PolyTools Trade Cost · Source code

Source code of PolyTools Trade Cost

This is the complete code of the extension, file by file, exactly as it is inside the zip you download. Nothing is minified or hidden, so you or a developer you trust can read it before installing.

v0.1.1version
26files
3 609lines of code
0servers of ours

Check that your download matches

The SHA-256 checksum of the zip on this site is below. Run the command for your system on the file you downloaded: the two values must be identical.

65de7d0c2b9739fb5b569939a6847de7a7de62fb46d19a279d68db5eb450d700

macOS and Linux, in Terminal:
shasum -a 256 polytools-trade-cost-0.1.1.zip
Windows, in Command Prompt:
certutil -hashfile polytools-trade-cost-0.1.1.zip SHA256

Where to look first

  • manifest.json lists every permission and the only sites the extension can reach.
  • src/lib/api.js sends the requests to the public Polymarket API.
  • Search the code for fetch and WebSocket to see each network call. Every one of them goes to Polymarket.

All files

FileLinesSizeSHA-256
_locales/en/messages.json80.3 KB70200b7111de
_locales/es/messages.json80.3 KBb1f5685ed2b1
_locales/fr/messages.json80.3 KB93d7d9a4ef31
_locales/ru/messages.json80.4 KBbc800c572a05
_locales/zh_CN/messages.json80.3 KBb1f7bf458423
icons/icon128.png3.7 KBf4260ad62f0c
icons/icon16.png0.5 KB1ab604e53a61
icons/icon32.png1.0 KB9ba73eb2daef
icons/icon48.png1.4 KB4a72fd9f6b13
manifest.json691.6 KBecb2eb3e4e01
src/background.js562.2 KB88aad779e082
src/content/content.js48123.7 KB44cde0312cd4
src/content/live-book.js1425.3 KB5ed9fa43605a
src/content/page-bridge.js1065.0 KB78535d4817e4
src/content/panel.js42525.4 KB253c13b2db3e
src/content/ticket-reader.js1768.3 KB44bb0cb35cfe
src/flavor.js120.6 KB1f493ced0b06
src/lib/api.js24611.1 KBbc0ea1d6e825
src/lib/calc.js34416.6 KB64a946f3c586
src/lib/format.js974.0 KB8ee789785171
src/lib/i18n-locales.js53035.0 KB4ffdbdc90629
src/lib/i18n.js38126.7 KBfc9361d9404f
src/lib/journal-stats.js35818.8 KBb5d688fe9a4f
src/popup/popup.css211.7 KB4977957346e6
src/popup/popup.html622.4 KBdcfea435825b
src/popup/popup.js632.5 KBc41d8c834c14

Download for Chrome How to install