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.1.tar.gz (5.6 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.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: patly-0.1.1.tar.gz
  • Upload date:
  • Size: 5.6 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.1.tar.gz
Algorithm Hash digest
SHA256 90a084a682fe196a3081283b8b358c8fc87bfcd479c282938c1c6c1baf36aa23
MD5 a8ee16e96704f5995f253d4c0fe4dd9f
BLAKE2b-256 9bc4dacdb8f95545f5f62ec28f97d3d0df2a57ae1d77c3801fe65d98490d43ca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: patly-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 190cc6c0c020dc139f3f62f58b82ddbcc9a4378b7edeeb4b6db36b7ddc65a07c
MD5 7f10ace677d50090124bd2bb0bf2922d
BLAKE2b-256 6bd7a4e99ce96e56ae081eed4b653f11d41b3a608b5bea8708b3a6d18d12cbbf

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