Code Monkey home page Code Monkey logo

offline-multisig-python's Introduction

Offline Signing Tool (python version)

This simple tool can be used to sign a proposed multisig transaction (P2SH spend). You must already possess the associated extended public key (BIP32 wallet). The details of the transaction to be signed can either be fetched from Coinkite (based on a very long URL, provided with --url argument) or in a file, as downloaded from the site.

The signed output (which is a small JSON file) can be uploaded manually, but this program will by default upload the file to Coinkite. If this new signature is the final one required, the transaction is sent immediately.

This code is functionally equivalent to the standard Javascript offline-signing code we provide at: https://coinkite.com/offline/

Learn more about Coinkite's Multisig (Shared) accounts and visit the Coinkite Main Site to open your account today!

Usage

form screenshot

Save the file you get from pressing beside the Green arrow, and provide that as the --proposal argument. If you need to manually upload, use the file saved with --output at the Blue arrow.

You must always provide a base58 encoded xprv key using the --key argument.

Usage: olsign.py [OPTIONS]

Options:
  -i, --proposal FILENAME  JSON file downloaded from CK already
  -u, --url URL            https://coinkite.com/co-sign/json/<req>:<cos>:<pin_check>
  --html / --no-html       Show details of proposed transaction?
  -k, --key FILENAME       Extended private key (base58)  [required]
  --upload / --no-upload   Auto upload signed results file to CK?
  -o, --output FILENAME    Write signed response to this file
  --help                   Show this message and exit.

Requirements

See also the version numbers in the requirements.txt file, which should be ready to use with pip install -r requirements.txt.

Important: We require message signing features which have not yet been accepted upstream into pycoin from Richard Kiss so please use this fork of pycoin for now:

git://github.com/peter-conalgo/pycoin.git@msg_signing_2#egg=pycoin

More about Coinkite

Join The Most Powerful Bitcoin Platform

Coinkite is the leading bitcoin wallet with multi-signature, bank-grade security, developer's API and hardcore privacy.

Get Your Account Today!

offline-multisig-python's People

Contributors

doc-hex avatar nvk avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.