Skip to content

Commit

Permalink
Merge pull request bitcoin#17
Browse files Browse the repository at this point in the history
0f54007 fixed numbering in subsequent sections (metacoin)
ab97b89 updated alpha-README instructions to include adding RPC username/password to sidechain-manipulation.py (metacoin)
  • Loading branch information
pstratem committed Jun 12, 2015
2 parents 9cd702a + 0f54007 commit 8865ad9
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions alpha-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,13 @@ for notes on dependencies that must be installed before beginning.
```bash
git clone https://github.com/jgarzik/python-bitcoinrpc
```
5\. Use sidechain-manipulation.py:
5\. Edit sidechain-manipulation.py (replace `user:pass` with your RPC username and password):
```python
# VARIOUS SETTINGS...
sidechain_url = "http://user:pass@127.0.0.1:4241"
bitcoin_url = "http://user:pass@127.0.0.1:18332"
```
6\. Use sidechain-manipulation.py:
```bash
[matt@2ca87f82dd9a bitcoin]$ cd elements
[matt@2ca87f82dd9a bitcoin]$ ./contrib/sidechain-manipulation.py generate-one-of-one-multisig sidechain-wallet
Expand All @@ -72,8 +78,8 @@ for notes on dependencies that must be installed before beginning.

### To move money back out of Elements Alpha:

1. See 1-4 of above.
4\. Use sidechain-manipulation.py:
1\. See 1-5 of above.
2\. Use sidechain-manipulation.py:
```bash
[matt@2ca87f82dd9a bitcoin]$ cd elements
[matt@2ca87f82dd9a bitcoin]$ ./contrib/sidechain-manipulation.py generate-one-of-one-multisig mainchain-wallet
Expand All @@ -84,7 +90,7 @@ for notes on dependencies that must be installed before beginning.

### To run a fedpeg operator (for your own sidechain):
1. See 1 and 2 in "To run alphad" (Do not forget to append -blindtrust=false to the alphad command args once bitcoin syncs!)
2. See 2-4 of "To move money into Elements Alpha"
2. See 2-5 of "To move money into Elements Alpha"
Note that the bitcoind/sidechaind wallets must be EMPTY of keys/transactions except for those created automatically by fedpeg scripts
3. Install python ZeroMQ.
4. Ensure your clock is reasonably accurate (within a second should suffice)
Expand Down

0 comments on commit 8865ad9

Please sign in to comment.