Skip to content

0-don/polybot

Repository files navigation

polybot!

Bun is required to run this project. You can install it from here.

Alchemy RPC Token is required to run this project, you can aquire it here. (after login search for "Account Kit Quickstart" and go to "Networks" tab to enable Polygon network and grab the token)

bun install

prepare the environment variables copy .env.example to .env and fill in the values.

use Phantom/MetaMask to export the private key and set PK, connect your wallet with polymarket to get their internal wallet, use polymarket address to set POLYMARKET_FUNDER_ADDRESS when both are set generate api keys with generate-key.ts script

bun run src/utils/generate-key.ts

To setup / reset the database

bun drizzle

to seed the database

bun markets

+-------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------+------+------+ |question |description |market_slug |active|closed| +-------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------+------+------+ |Will Google have the top AI model on December 31?|This market will resolve to "Yes" if any model owned by Google has the highest arena score based off the Chatbot Arena LLM Leaderboard (https://lmarena.ai/leaderboard/text) when the table under the "Leaderboard" tab is checked on December 31, 2025, 12:00 PM ET. Otherwise, this market will resolve to "No". |which-company-has-best-ai-model-end-of-2025|true |false | | |If two models are tied for the top arena score at this market's check time, resolution will be based on whichever company's name, as it is described in this market group, comes first in alphabetical order (e.g. if both were tied, "Google" would resolve to "Yes", and "xAI" would resolve to "No") | | | | | |The resolution source for this market is the Chatbot Arena LLM Leaderboard found at https://lmarena.ai/. If this resolution source is unavailable at check time, this market will remain open until the leaderboard comes back online and resolve based on the first check after it becomes available. If it becomes permanently unavailable, this market will resolve based on another resolution source. | | | | +-------------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------+------+------+

Releases

No releases published

Packages

No packages published