{"repo":"tigusigalpa/telegram-wallet-go","free":true,"listed":false,"github":"https://github.com/tigusigalpa/telegram-wallet-go","clone":"git clone https://github.com/tigusigalpa/telegram-wallet-go.git","description":"Lightweight Go SDK for Telegram Wallet Pay. Integrate crypto payments (TON, USDT, BTC, NOT) into Telegram bots effortlessly. Includes secure HMAC-SHA256 webhook verification, middleware for net/http, Gin, and Echo. Zero dependencies for core client, typed error handling, and full test coverage. MIT licensed","language":"Go","stars":15,"topics":["api","bitcoin","bitcoin-wallet","chainlink","crypto","cryptocurrency","go","golang","golang-library","golang-package"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Telegram Wallet Pay Go SDK Accept crypto payments in your Telegram bot with just a few lines of Go code. This SDK wraps the Telegram Wallet Pay API, letting your users pay with TON, USDT, BTC, and NOT — right inside Telegram. Why This SDK? If you're building a Telegram bot and want to accept crypto payments, you've come to the right place. We've done the heavy lifting so you can focus on your product: - Get started in minutes — Simple, clean API that feels natural in Go - Battle-tested security — Webhook signatures verified with HMAC-SHA256 - Works with your stack — Native support for net/http, Gin, and Echo - No bloat — Zero external dependencies for the core client - Production-ready — Comprehensive tests and proper error handling Installation Requirements - Go 1.21 or higher Quick Start Here's how simple it is to create a payment: Handle Webhooks When a payment succeeds (or fails), Wallet Pay will notify your server. Here's how to handle it: Configuration The default settings work great for most cases, but you can customize everything: Options at a Glance Option What it does Default -------------------------- ------------------------- ------------------------- WithBaseURL(url) Set custom base URL https://pay.wallet.tg WithTimeout(duration) Set HTTP client timeout 30s WithHTTPClient(client) Use custom HTTP client Standard http.Client API Reference Here's everything you can do with the client: Method Parameters Returns Description --------------------------- ----------------","default_branch":null,"files":null,"tree":[],"storefront":"/r/tigusigalpa","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tigusigalpa/telegram-wallet-go/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}