Skip to content

Customizable AWS Lambda function responsible for generate external bitcoin addresses from public key

License

Notifications You must be signed in to change notification settings

lorenzodisidoro/bitcoin-butler

Repository files navigation

bitcoin-butler

Hi sir, I'm here to help you.

I can generate external bitcoin addresses from your xPub keys on public request.

Prerequisite

Installation

Clone this repository

git clone https://github.com/lorenzodisidoro/bitcoin-butler.git

and install dependencies by moving into the bitcoin-butler directory and running install script as a follow

cd bitcoin-butler && bash ./scripts/install

Build

To build on Linux using build script running the following command

bash ./scripts/build linux amd64

or for others OS refer to a list of valid GOOS and GOARCH. Build script generate bitcoin-butler-lambda-linux.zip zip file to use to deploy the lambda function to AWS.

Lambda environments

Runtime environments for the lambda function:

  • NETWORK is bitcoin network
  • XPUB is extended public key encrypted using KMS
  • PATH is account BIP32 derivation path (eg. m/44/0/1/0) encrypted using KMS
  • BUCKET_NAME as the name of bucket to use
  • INDEX_FILE_NAME as the name of file used to save index

Lambda policy

You will give at your lambda function the basic permissions required, you can use resource/aws/lambda_policy.json and resource/aws/lambda_role.json documents.

About

Customizable AWS Lambda function responsible for generate external bitcoin addresses from public key

Resources

License

Stars

Watchers

Forks

Packages

No packages published