Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated alpha-README instructions to include adding RPC username/pass… #17

Merged
merged 2 commits into from
Jun 12, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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