Author: StJohn Piano
This page is subject to change at any time. It is not signed by its author or by Edgecase Datafeed.
385 words - 98 lines - 3 pages

Edgecase's working definition of a standard transaction:
- It has at least one input and at least one output.
- All input and output addresses are Pay-To-Public-Key-Hash (P2PKH).
- All input scriptSigs contain uncompressed public keys.

Example standard P2PKH Bitcoin address (34 characters):

Currently, Edgecase software only supports standard Bitcoin transactions that contain a single standard input and a single standard output.

You will need:
- The private key of each input address.
- 32 bytes of entropy per input address. The article Recipe for generating entropy bytes using dice describes one way to generate this entropy. The transaction must be signed by each input (using the private key), and each signature requires 32 bytes of entropy.
- An offline computer with Python 2.7.x installed. The code has been developed under Python 2.7.13 running on Mac OS X 10.6.8 (Snow Leopard), and should run successfully on other versions of Python 2.7.
- The details of each unspent output that you want to use as an input in the transaction. These are: The txid of the original transaction that sent the unspent output to its current address, the index of the unspent output in the list of outputs in the original transaction, and the value of the unspent output. The txid is a 64-hex-character string, the index is an integer, and the value can be either in satoshi (an integer) or in bitcoin (a decimal value with up to 8 decimal places).
- Access to several important Bitcoin tools or services. Please visit this page for details:
Services needed for creating Bitcoin transactions

Browse to the article Recipe for creating and signing a standard Bitcoin transaction. Use this recipe to create and sign a standard Bitcoin transaction with one input and one output.

Example standard Bitcoin transaction:

Projects that involved the creation and signing of a standard Bitcoin transaction:

- Browse to the article Creating and signing a standard raw Bitcoin transaction. Read the Goal and Brief Summary sections, then decide whether to read further.

- Browse to the article Creating and signing a standard raw Bitcoin transaction: Iteration #2. Read the Goal and Brief Summary sections, then decide whether to read further.