Skip to content

p2p-org/babylon-btc-sign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babylon-btc-sign

Init service

Install dependencies

yarn install

Set private key in config.js

{
  "privateKey": "PRIVATE_KEY_WIF",
  "network": "testnet or bitcoin"
}

Print your public key

node public-key.js

Sign transaction

node sign.js 'transacton in hex'

Docker examples

Docker build

docker build -t babylon-btc-sign .

Docker run sign.js

docker run -v $(pwd)/config.js:/app/config.js babylon-btc-sign node sign.js 'transacton in hex'

Docker run public-key.js

docker run -v $(pwd)/config.js:/app/config.js babylon-btc-sign node public-key.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published