Skip to content

Instantly share code, notes, and snippets.

View Krtekcze's full-sized avatar
🏠
Working from home

Krtekcze

🏠
Working from home
View GitHub Profile
@rhettre
rhettre / coinbase_withdrawals.py
Last active November 11, 2025 11:54
This Python script contains an AWS Lambda function designed to automate withdrawals from Coinbase accounts. It was created in response to the retirement of the Coinbase Pro API, which previously facilitated withdrawal automation. The script leverages the Coinbase Wallet API to list payment methods and initiate crypto withdrawals. Users can custo…
import json
import hmac
import hashlib
import time
import requests
from requests.auth import AuthBase
import os
with open(os.path.join(os.path.dirname(__file__), 'config.json')) as config_file:
config = json.load(config_file)