Skip to content

delvison/coinbase-auto-withdraw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coinbase Auto Withdraw

Python script that can make Bitcoin auto-withdrawals from Coinbase.

Use Case:

I want to withdraw to my cold storage wallet any time I have a Bitcoin balance over a certain amount.

Environment Variables

Env Var description
COINBASE_API_KEY coinbase's API key
COINBASE_API_SECRET coinbase's API secret
BITCOIN_WALLET bitcoin address to withdraw to
XPUB_ADDRESS xpub to be used to generate a bitcoin address. Only used if BITCOIN_WALLET is null.

Deploy to microk8s

  1. build docker image
make build
  1. import image to microk8s
make microk8s
  1. insert base64 encoded secrets into k8s/secret.yml file
  2. deploy to microk8s
microk8s.kubectl apply -f k8s/secret.yml
microk8s.kubectl apply -f k8s/cronjob.yml

About

autowithdraw BTC from coinbase

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published