Skip to main content

Gasless Polymarket position redemption — Redeem as a Service

Project description

patly

Gasless Polymarket position redemption. Two functions.

Install

pip install patly

Usage

import patly, os

patly.init(api_key=os.getenv("PATLY_API_KEY"), pk=os.getenv("PK"))

patly.redeem("btc-updown-15m-1234567890", "YES")

Setup

  1. Connect your wallet at patly.duckdns.org
  2. Copy your API key
  3. Add to .env:
PATLY_API_KEY=your_api_key

How it works

Your private key signs the transaction locally — it is never transmitted. Only the cryptographic signature is sent to Patly, identical to how MetaMask works.

Each redemption costs $0.01 USDC, paid automatically.

Docs

patly.mintlify.app

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

patly-0.1.7.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

patly-0.1.7-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file patly-0.1.7.tar.gz.

File metadata

  • Download URL: patly-0.1.7.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for patly-0.1.7.tar.gz
Algorithm Hash digest
SHA256 8e8bb358073e2a747e64e7f061f9592a9098bd4c5d4d3eebc6fdecb21a760c98
MD5 a95f1f5eb3b958f440c53547715c200d
BLAKE2b-256 b4ecfeafe2bac17086dcc4338096ed8df895338a7ed2d7800f9a467a3b19274f

See more details on using hashes here.

File details

Details for the file patly-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: patly-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for patly-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 371302ffc056a7f35a6491ecab9913ccd4fa12004f5072f930c402fe7aa640b2
MD5 4bac3a3a7860bde14367680e6e1e0ae8
BLAKE2b-256 8b2b5803374039abe3316921c79fcef61dacff357fbb068d130968781e14c633

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page