aboutsummaryrefslogtreecommitdiffstats
path: root/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh')
-rw-r--r--setup.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
new file mode 100644
index 00000000..c3e58161
--- /dev/null
+++ b/setup.sh
@@ -0,0 +1,7 @@
+cp sampleconfig.js config.js
+cp -r sampledata data
+docker compose up -d
+docker run -it -v $(pwd):/app --entrypoint pnpm cs i
+docker exec -it bc bitcoin-cli createwallet coinos
+docker exec -it bc bitcoin-cli rescanblockchain
+docker exec -it bc bitcoin-cli generatetoaddress 500 $(docker exec -it bitcoin bitcoin-cli getnewaddress "" "p2sh-segwit")