[bisq-network/bisq] Add scripts to autosetup dao on regtest (#2405)

Christoph Atteneder notifications at github.com
Tue Feb 12 10:03:44 UTC 2019


ripcurlx requested changes on this pull request.

utACK - except some minor typos.

> @@ -0,0 +1,188 @@
+# Automated setup of regtest dao - for Linux
+
+The goal of these helper scripts is to set up a bisq dao from scratch. The scripts run `bitcoind` in regtest mode for you and a `seed node`, `alice` and `bob` instances.

Bisq DAO should be uppercase.

> @@ -0,0 +1,188 @@
+# Automated setup of regtest dao - for Linux
+
+The goal of these helper scripts is to set up a bisq dao from scratch. The scripts run `bitcoind` in regtest mode for you and a `seed node`, `alice` and `bob` instances.
+
+We assume the user is in the `autosetup-regtest-dao` directory. Is it ok to move the directory, but please move it as a whole. Also `bitcoin-qt`, `bitcoin-cli`, `bitcoin-tx`, `jq` and `bc` has to be installed on the system. Do not change the shipped `bitcoin.conf` file as it will break things.

`It is ok ` instead of `Is it ok`

> +]
+./generate_101_blocks.sh: done, exiting
+```
+2. Open a new terminal (preferably a new tab), go to the `bisq` folder and start the `create_genesis.sh` script. The script tests for a running bitcoind node in regtest, so make sure step 1 was successful. 
+```
+cd bisq
+./create_genesis.sh
+```
+example output:
+```
+user at host:~/bin/KanoczTomas/bisq/docs/autosetup-regtest-dao/bisq$ ./create_genesis.sh 
+testing if bitcoind is running: bitcoind is running, all is ok!
+Please provide Alice's BSQ Address
+
+```
+3. We need the BSQ address of `Alice`. We need to go to the bisq directory and start the `Alice` instance. Wait until the instance starts up then go to `DAO -> Receive` and copy the BSQ address. Note the address starts with a `B`. Open a new terminal and enter the below commands to start `Alice`. Then wait for the gui to start and paste the BSQ address to `create_genesis.sh` which is still running from step 2.

I think `..enter the below commands..` should be `... enter the commands below..` , but I'm not a native speaker myself ;-)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/2405#pullrequestreview-202574104
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190212/6159252c/attachment.html>


More information about the bisq-github mailing list