From 8384767ec26e82ee96c5b584ffcea49f65c35852 Mon Sep 17 00:00:00 2001 From: SundarGowtham Date: Wed, 8 May 2024 17:56:07 -0500 Subject: [PATCH] Added the Docker Compose setup for local development --- .../bitcoin/docker/Dockerfile | 4 +- devenv/LOCAL/[0]-DOCKER-COMPOSE/build.sh | 3 + .../[0]-DOCKER-COMPOSE/docker-compose.yml | 123 ++-- devenv/LOCAL/[0]-DOCKER-COMPOSE/down.sh | 2 + .../electrs/docker/entrypoint.sh | 2 +- devenv/LOCAL/[0]-DOCKER-COMPOSE/log.sh | 3 + .../stacks-api/docker/Dockerfile | 3 + .../stacks-explorer/docker/Dockerfile | 35 +- .../[0]-DOCKER-COMPOSE/stacks/config.toml | 204 ------ .../stacks/docker/entrypoint.sh | 630 ------------------ .../LOCAL/[0]-DOCKER-COMPOSE/stacks/test.sh | 215 ------ devenv/LOCAL/[0]-DOCKER-COMPOSE/up.sh | 7 + 12 files changed, 92 insertions(+), 1139 deletions(-) create mode 100755 devenv/LOCAL/[0]-DOCKER-COMPOSE/build.sh create mode 100755 devenv/LOCAL/[0]-DOCKER-COMPOSE/down.sh create mode 100755 devenv/LOCAL/[0]-DOCKER-COMPOSE/log.sh delete mode 100644 devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks/config.toml delete mode 100644 devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks/test.sh create mode 100755 devenv/LOCAL/[0]-DOCKER-COMPOSE/up.sh diff --git a/devenv/LOCAL/[0]-DOCKER-COMPOSE/bitcoin/docker/Dockerfile b/devenv/LOCAL/[0]-DOCKER-COMPOSE/bitcoin/docker/Dockerfile index 576417cd8..e1a73eafc 100644 --- a/devenv/LOCAL/[0]-DOCKER-COMPOSE/bitcoin/docker/Dockerfile +++ b/devenv/LOCAL/[0]-DOCKER-COMPOSE/bitcoin/docker/Dockerfile @@ -31,9 +31,7 @@ RUN apt-get update && apt-get install -y \ COPY --from=builder /bitcoin/bin/* /usr/local/bin COPY default.conf /etc/nginx/conf.d/default.conf -EXPOSE 18443 -EXPOSE 18444 -EXPOSE 18433 + ADD entrypoint.sh /usr/local/bin RUN chmod a+x /usr/local/bin/entrypoint.sh diff --git a/devenv/LOCAL/[0]-DOCKER-COMPOSE/build.sh b/devenv/LOCAL/[0]-DOCKER-COMPOSE/build.sh new file mode 100755 index 000000000..2163712c3 --- /dev/null +++ b/devenv/LOCAL/[0]-DOCKER-COMPOSE/build.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +CWD=$(pwd) +docker compose -f $CWD/docker-compose.yml build diff --git a/devenv/LOCAL/[0]-DOCKER-COMPOSE/docker-compose.yml b/devenv/LOCAL/[0]-DOCKER-COMPOSE/docker-compose.yml index 4d4bdf6b7..7ac490a7f 100644 --- a/devenv/LOCAL/[0]-DOCKER-COMPOSE/docker-compose.yml +++ b/devenv/LOCAL/[0]-DOCKER-COMPOSE/docker-compose.yml @@ -1,5 +1,3 @@ -version: '3.2' - services: bitcoin: image: bitcoin:latest @@ -14,14 +12,13 @@ services: - 18443:18443 - 18433:18433 environment: - - ENV='DEV' - - BTC_NETWORK='regtest' - - BTC_DISABLEWALLET='0' - - BTC_TXINDEX='1' - - BTC_RPCBIND='0.0.0.0' - - BTC_RPCALLOWIP='0.0.0.0/0' - - BTC_RPCPASSWORD='devnet' - - BTC_RPCUSER='devnet' + - 'BTC_NETWORK=regtest' + - 'BTC_DISABLEWALLET=0' + - 'BTC_TXINDEX=1' + - 'BTC_RPCBIND=0.0.0.0' + - 'BTC_RPCALLOWIP=0.0.0.0/0' + - 'BTC_RPCPASSWORD=devnet' + - 'BTC_RPCUSER=devnet' postgres: image: postgres:15-alpine container_name: postgres @@ -38,21 +35,24 @@ services: ports: - 3306:3306 environment: - - MYSQL_DATABASE='mempool' - - MYSQL_USER='mempool' - - MYSQL_PASSWORD='mempool' - - MYSQL_ROOT_PASSWORD='admin' + MYSQL_DATABASE: "mempool" + MYSQL_USER: "mempool" + MYSQL_PASSWORD: "mempool" + MYSQL_ROOT_PASSWORD: "admin" bitcoin-miner: - image: miner:latest - container_name: miner + image: bitcoin-miner-sidecar:latest + container_name: bitcoin-miner-sidecar stop_grace_period: 5s build: - context: ./bitcion-miner-sidecar/docker + context: ./bitcoin-miner-sidecar/docker depends_on: - bitcoin environment: INIT_BTC_BLOCKS: 200 BTC_BLOCK_GEN_TIME: 10 + BITCOIN_RPC_HOST: "bitcoin" + BITCOIN_RPC_PORT: "18443" + MINER_ADDRESS: "n3GRiDLKWuKLCw1DZmV75W1mE35qmW2tQm" stacks: image: stacks:latest container_name: stacks @@ -66,8 +66,34 @@ services: - bitcoin - bitcoin-miner environment: - - STACKS_LOG_DEBUG=0 - - STACKS_LOG_JSON=0 + STACKS_LOG_DEBUG: 0 + STACKS_LOG_JSON: 0 + LOCAL_PEER_SEED: "3fd68a8fcab004754d6fee4756dd9c84ad64ee19a11aa9930893540e1357696f2f73957cd6e92797d7a66d1d3ae4a4ea752a8924fe028f1fc2c06b9d6d0ee0ad" + STACKS_WORKING_DIR: "/var/stacks" + MY_HTTP_AUTH_TOKEN: "helloworld" + SIGNER_ENDPOINT: "nakamoto-signer:30000" + MINER_KEY: "19ec1c3e31d139c989a23a27eac60d1abfad5277d3ae9604242514c738258efa01" + BTC_NODE_RPC_HOST: "bitcoin" + BTC_NODE_RPC_USER: "devnet" + BTC_NODE_RPC_PASSWORD: "devnet" + nakamoto-signer: + image: nakamoto-signer:latest + container_name: nakamoto-signer + stop_grace_period: 5s + build: + context: ./nakamoto-signer/docker + ports: + - 30000:30000 + depends_on: + - bitcoin + - bitcoin-miner + environment: + SIGNER_ENDPOINT: "0.0.0.0:30000" + MY_HTTP_AUTH_TOKEN: "helloworld" + STACKS_PRIVATE_KEY: "30947cbe3a7942ad502fceb66253191ad08db4ec4cddf66eba7e9ce3d73dd3ca01" + STACKS_NODE_RPC_HOST: "stacks" + STACKS_NODE_RPC_PORT: "20443" + RUST_BACKTRACE: '1' stacks-api: image: stacks-api:latest container_name: stacks-api @@ -117,7 +143,7 @@ services: - stacks-api - postgres environment: - - NEXT_PUBLIC_MAINNET_API_SERVER=http://127.0.0.1:3999 + - NEXT_PUBLIC_MAINNET_API_SERVER=http://stacks-api:3999 electrs: image: electrs:latest container_name: electrs @@ -130,29 +156,10 @@ services: depends_on: - bitcoin - bitcoin-miner - environment: - - RUST_BACKTRACE='1' - - BITCOIN_RPC_HOST='bitcoin-regtest-service.bitcoin' - - BITCOIN_RPC_PORT='18443' - sbtc: - image: sbtc:latest - container_name: sbtc - stop_grace_period: 5s - restart: on-failure - build: - context: ./../ - dockerfile: ./devenv/sbtc/docker/Dockerfile - depends_on: - - bitcoin - - stacks - - stacks-explorer - - stacks-api - - mempool-web - - bitcoin-miner environment: RUST_BACKTRACE: 1 - volumes: - - $PWD/sbtc/docker/config.json:/romeo/config.json + BITCOIN_RPC_HOST: 'bitcoin' + BITCOIN_RPC_PORT: '18443' mempool-web: image: mempool/frontend:latest container_name: mempool-web @@ -165,8 +172,8 @@ services: ports: - 8083:8083 environment: - - FRONTEND_HTTP_PORT="8083" - - BACKEND_MAINNET_HTTP_HOST="mempool-backend-service.mempool" + FRONTEND_HTTP_PORT: "8083" + BACKEND_MAINNET_HTTP_HOST: "mempool-api" command: "./wait-for mariadb:3306 --timeout=720 -- nginx -g 'daemon off;'" mempool-api: image: mempool/backend:latest @@ -180,18 +187,20 @@ services: ports: - 8999:8999 environment: - - MEMPOOL_BACKEND='electrum' - - ELECTRUM_HOST='electrs-service.electrs' - - ELECTRUM_PORT='60401' - - ELECTRUM_TLS_ENABLED='false' - - CORE_RPC_HOST='bitcoin-regtest-service.bitcoin' - - CORE_RPC_PORT='18443' - - CORE_RPC_USERNAME='devnet' - - CORE_RPC_PASSWORD='devnet' - - DATABASE_ENABLED='true' - - DATABASE_HOST='mariadb-service.mariadb' - - DATABASE_DATABASE='mempool' - - DATABASE_USERNAME='mempool' - - DATABASE_PASSWORD='mempool' - - STATISTICS_ENABLED='true' + # Connect to electrs host + MEMPOOL_BACKEND: "electrum" + ELECTRUM_HOST: "electrs" + ELECTRUM_PORT: "60401" + ELECTRUM_TLS_ENABLED: "false" + # Connect to bitcoin rpc + CORE_RPC_HOST: "bitcoin" + CORE_RPC_PORT: "18443" + CORE_RPC_USERNAME: "devnet" + CORE_RPC_PASSWORD: "devnet" + DATABASE_ENABLED: "true" + DATABASE_HOST: "mariadb" + DATABASE_DATABASE: "mempool" + DATABASE_USERNAME: "mempool" + DATABASE_PASSWORD: "mempool" + STATISTICS_ENABLED: "true" command: "./wait-for-it.sh mariadb:3306 --timeout=720 --strict -- ./start.sh" diff --git a/devenv/LOCAL/[0]-DOCKER-COMPOSE/down.sh b/devenv/LOCAL/[0]-DOCKER-COMPOSE/down.sh new file mode 100755 index 000000000..06f560b72 --- /dev/null +++ b/devenv/LOCAL/[0]-DOCKER-COMPOSE/down.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +docker compose down diff --git a/devenv/LOCAL/[0]-DOCKER-COMPOSE/electrs/docker/entrypoint.sh b/devenv/LOCAL/[0]-DOCKER-COMPOSE/electrs/docker/entrypoint.sh index b3abed8ab..996735caf 100644 --- a/devenv/LOCAL/[0]-DOCKER-COMPOSE/electrs/docker/entrypoint.sh +++ b/devenv/LOCAL/[0]-DOCKER-COMPOSE/electrs/docker/entrypoint.sh @@ -18,4 +18,4 @@ electrs --network regtest \ --utxos-limit=2048 \ --db-dir="/opt" \ --cors="*" \ - -vv \ No newline at end of file + -vv diff --git a/devenv/LOCAL/[0]-DOCKER-COMPOSE/log.sh b/devenv/LOCAL/[0]-DOCKER-COMPOSE/log.sh new file mode 100755 index 000000000..bb7ebf41a --- /dev/null +++ b/devenv/LOCAL/[0]-DOCKER-COMPOSE/log.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +docker logs -f $1 diff --git a/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks-api/docker/Dockerfile b/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks-api/docker/Dockerfile index 7d49824a0..91928e417 100644 --- a/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks-api/docker/Dockerfile +++ b/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks-api/docker/Dockerfile @@ -2,6 +2,7 @@ FROM node:16-alpine MAINTAINER Gowtham Sundar ARG GIT_URI='https://github.com/hirosystems/stacks-blockchain-api.git' +# ARG GIT_BRANCH='v7.3.0' ARG GIT_BRANCH='v7.10.0-nakamoto.7' WORKDIR /app @@ -12,4 +13,6 @@ RUN echo "GIT_TAG=$(git tag --points-at HEAD)" >> .env RUN npm config set unsafe-perm true && npm ci && npm run build && npm run build:docs && npm prune --production RUN apk del .build-deps +EXPOSE 3999 +EXPOSE 3700 CMD ["node", "./lib/index.js"] diff --git a/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks-explorer/docker/Dockerfile b/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks-explorer/docker/Dockerfile index 5374ce286..c2469a03c 100644 --- a/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks-explorer/docker/Dockerfile +++ b/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks-explorer/docker/Dockerfile @@ -1,44 +1,21 @@ +# -------------------------------------------------------- FROM node:18-alpine AS build +MAINTAINER Gowtham Sundar -ARG REDIS_URL -ARG SEGMENT_WRITE_KEY -ARG SENTRY_AUTH_TOKEN -ARG SENTRY_DSN -ARG SENTRY_LOG_LEVEL=warn -ARG NODE_ENV=production -ARG X_API_KEY -ARG RELEASE_TAG_NAME -# ARG STACKS_EXPLORER_VERSION='v1.170.1' ARG GIT_URI='https://github.com/hirosystems/explorer.git' ARG GIT_BRANCH='v1.170.1' WORKDIR /app RUN apk add --no-cache git python3 make g++ RUN git clone ${GIT_URI} -b ${GIT_BRANCH} . +RUN npm config set registry http://registry.npmjs.org RUN npm install -g pnpm RUN pnpm i RUN pnpm build +# -------------------------------------------------------- FROM node:18-alpine - -ARG REDIS_URL -ARG SEGMENT_WRITE_KEY -ARG SENTRY_AUTH_TOKEN -ARG SENTRY_DSN -ARG SENTRY_LOG_LEVEL=warn -ARG NODE_ENV=production - -# Set ENVs so they persist after image is built -ENV REDIS_URL=${REDIS_URL} -ENV SEGMENT_WRITE_KEY=${SEGMENT_WRITE_KEY} -ENV SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN} -ENV SENTRY_DSN=${SENTRY_DSN} -ENV SENTRY_LOG_LEVEL=${SENTRY_LOG_LEVEL} -ENV NODE_ENV=${NODE_ENV} -ENV X_API_KEY=${X_API_KEY} -ENV RELEASE_TAG_NAME=${RELEASE_TAG_NAME} - WORKDIR /app COPY --from=build /app/next.config.js /app/next.config.js @@ -46,6 +23,6 @@ COPY --from=build /app/public /app/public COPY --from=build /app/.next/static /app/.next/static COPY --from=build /app/.next/standalone /app - EXPOSE 3020 -CMD [ "node", "server.js" ] +EXPOSE 3000 +CMD [ "node", "server.js" ] \ No newline at end of file diff --git a/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks/config.toml b/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks/config.toml deleted file mode 100644 index 17c69d47d..000000000 --- a/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks/config.toml +++ /dev/null @@ -1,204 +0,0 @@ -[node] -rpc_bind = "0.0.0.0:20443" -p2p_bind = "0.0.0.0:20444" -local_peer_seed = "3fd68a8fcab004754d6fee4756dd9c84ad64ee19a11aa9930893540e1357696f2f73957cd6e92797d7a66d1d3ae4a4ea752a8924fe028f1fc2c06b9d6d0ee0ad" # Change to any 64-character hexidecimal string -prometheus_bind = "0.0.0.0:9153" -working_dir = "/var/stacks" # Change to data directory you would like to use for your node -wait_time_for_microblocks = 0 -mine_microblocks = false -stacker = true # required if you are running a signer -miner = true - -[miner] -min_tx_fee = 1 -first_attempt_time_ms = 180_000 -subsequent_attempt_time_ms = 360_000 -wait_for_block_download = false -microblock_attempt_time_ms = 10 -mining_key = "19ec1c3e31d139c989a23a27eac60d1abfad5277d3ae9604242514c738258efa01" - -[connection_options] -block_proposal_token = "helloworld" - -[[events_observer]] -endpoint = "nakamoto-signer-service.stacks:30000" # change to your signer endpoint -retry_count = 255 -include_data_events = false -events_keys = ["stackerdb", "block_proposal"] - -[burnchain] -chain = "bitcoin" -mode = "krypton" -magic_bytes = "T3" -pox_prepare_length = 5 -pox_reward_length = 20 -peer_host = "$" -username = "blockstack" -password = "blockstacksystem" -rpc_port = 18332 -peer_port = 18333 -pox_2_activation = 104 - -[[burnchain.epochs]] -epoch_name = "1.0" -start_height = 0 - -[[burnchain.epochs]] -epoch_name = "2.0" -start_height = 0 - -[[burnchain.epochs]] -epoch_name = "2.05" -start_height = 102 - -[[burnchain.epochs]] -epoch_name = "2.1" -start_height = 103 - -[[burnchain.epochs]] -epoch_name = "2.2" -start_height = 105 - -[[burnchain.epochs]] -epoch_name = "2.3" -start_height = 106 - -[[burnchain.epochs]] -epoch_name = "2.4" -start_height = 107 - -[[burnchain.epochs]] -epoch_name = "2.5" -start_height = 108 - -[[burnchain.epochs]] -epoch_name = "3.0" -start_height = 131 - -[[ustx_balance]] -address = "ST0DZFQ1XGHC5P1BZ6B7HSWQKQJHM74JBGCSDTNA" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST2G2RJR4B5M95D0ZZAGZJP9J4WH090WHP0C5YW0H" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST3JCQJE9NZRCAPPE44Q12KR7FH8AY9HTEMWP2G5F" -amount = 10000000000000000 - -[[ustx_balance]] -address = "STA0EP5GD8FC661T8Q0Z382QW7Z6JXDM3E476MB7" -amount = 17500000000000 - -[[ustx_balance]] -address = "ST3MNK12DGQF7JN4Q0STK6926VWE5MN21KJ4EGV0E" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST484MS3VACPAZ90WHC21XQ7T6XANCV341HJYE0W" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST2D1M978SCE52GAV07VXSRC9DQBP69X5WHX0DHN5" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST2A68NMMXVZDWDTDZ5GJGA69M86V8KK0JS9X1QQP" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST2ME1CR5XR0P332SBTSD90P9HG48F1SK8MZVJ3XW" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST19MXV72S9HHRSZCDY10K9DMB11JYPTXVVNYAWPH" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST20Q2N56E1NBWE37R4VGSF89X4HHTB3GSMD8GKYW" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST2Q6124HQFKVKPJSS5J6156BJR74FD6EC1297HJ1" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST1114TBQYGNPGFAVXKWBKZAHP0X7ZGX9K6XYYE4F" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST1NCEQ0T4Z32QTYT88BNXJKC9HR3VWYHJ0TB95TP" -amount = 10000000000000000 - -[[ustx_balance]] -address = "STWF12K119FTA70NDG29MNYWR0CPMF44ZKC2SG2T" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST36G5CRHH1GJVZGFWPTW4H9GSA8VAVWM0ST7AV82" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST2KWFMX0SVXFMZ0W7TXZ3MV0C6V276BNAT49XAQW" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST1ZMVDYKGWF5TFGH46GEFBR273JJ3RRTHEDETKNH" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST3D0TEK871ZMBFFF0998YY609A1QGM6ZTYCQJJFQ" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST372ND8K8M3GKESD0KG8ZWJ6EV0GGXWXC5246MJN" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST33PA4H3TW3DQFHG2RXPGGW1FFG5YQJ704B3DA8M" -amount = 24378281250000 - -[[ustx_balance]] -address = "STJ737JNPK525J86BGSPAW362SRRAYC4SP6F95HC" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST21AJANGK9NA2ZED5D5J1VZPTVW8DY05B0ECMFN" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST30Z74A4S2T8563D844ENSBHBFSVQEVBPV9S0A7E" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST2FGTGYAGJVXJZQX17NBJNSQAM4J2V5JFDHEEAZQ" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST16PC3G9BMQH0G37JGAGDGYZPDB5NGNARBDFPWYB" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST1XJHGBSQPV9B14HFYG98ZBSQGKG8GN0AMB3V2VT" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST2XDC0R30841X2RRECWV2F9KTANKQEERPS4V3H9D" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST2HC6JENRNNE6YVATT7WZVZWVR5J26BGYX67W8G7" -amount = 24378281250000 - -[[ustx_balance]] -address = "STPW2CGZC98EZ95XYC9DE93SFBS5KA2PYYK89VHM" -amount = 24378281250000 - -[[ustx_balance]] -address = "STNX3E9MYTA2ZDQK53YNMMJ3E7783DC019JZNYZZ" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST0D135PF2R0S4B6S4G49QZC69KF19MSZ4Z5RDF5" -amount = 24378281250000 diff --git a/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks/docker/entrypoint.sh b/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks/docker/entrypoint.sh index 4edf15b99..da34c7c0b 100644 --- a/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks/docker/entrypoint.sh +++ b/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks/docker/entrypoint.sh @@ -211,633 +211,3 @@ amount = 24378281250000 address = "ST0D135PF2R0S4B6S4G49QZC69KF19MSZ4Z5RDF5" amount = 24378281250000 END - -# sudo bash -c "cat < ./config.toml -# [node] -# rpc_bind = "0.0.0.0:20443" -# p2p_bind = "0.0.0.0:20444" -# local_peer_seed = "$LOCAL_PEER_SEED" # Change to any 64-character hexidecimal string -# prometheus_bind = "0.0.0.0:9153" -# working_dir = "$STACKS_WORKING_DIR" # Change to data directory you would like to use for your node -# wait_time_for_microblocks = 0 -# mine_microblocks = false -# stacker = true # required if you are running a signer -# miner = true - -# [miner] -# min_tx_fee = 1 -# first_attempt_time_ms = 180_000 -# subsequent_attempt_time_ms = 360_000 -# wait_for_block_download = false -# microblock_attempt_time_ms = 10 -# mining_key = "$MINER_KEY" - -# [connection_options] -# block_proposal_token = "$MY_HTTP_AUTH_TOKEN" - -# [[events_observer]] -# endpoint = "$SIGNER_ENDPOINT" # change to your signer endpoint -# retry_count = 255 -# include_data_events = false -# events_keys = ["stackerdb", "block_proposal"] - -# [burnchain] -# chain = "bitcoin" -# mode = "krypton" -# magic_bytes = "T3" -# pox_prepare_length = 5 -# pox_reward_length = 20 -# peer_host = "$" -# username = "blockstack" -# password = "blockstacksystem" -# rpc_port = 18332 -# peer_port = 18333 -# pox_2_activation = 104 - -# [[burnchain.epochs]] -# epoch_name = "1.0" -# start_height = 0 - -# [[burnchain.epochs]] -# epoch_name = "2.0" -# start_height = 0 - -# [[burnchain.epochs]] -# epoch_name = "2.05" -# start_height = 102 - -# [[burnchain.epochs]] -# epoch_name = "2.1" -# start_height = 103 - -# [[burnchain.epochs]] -# epoch_name = "2.2" -# start_height = 105 - -# [[burnchain.epochs]] -# epoch_name = "2.3" -# start_height = 106 - -# [[burnchain.epochs]] -# epoch_name = "2.4" -# start_height = 107 - -# [[burnchain.epochs]] -# epoch_name = "2.5" -# start_height = 108 - -# [[burnchain.epochs]] -# epoch_name = "3.0" -# start_height = 131 - -# [[ustx_balance]] -# address = "ST0DZFQ1XGHC5P1BZ6B7HSWQKQJHM74JBGCSDTNA" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2G2RJR4B5M95D0ZZAGZJP9J4WH090WHP0C5YW0H" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST3JCQJE9NZRCAPPE44Q12KR7FH8AY9HTEMWP2G5F" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "STA0EP5GD8FC661T8Q0Z382QW7Z6JXDM3E476MB7" -# amount = 17500000000000 - -# [[ustx_balance]] -# address = "ST3MNK12DGQF7JN4Q0STK6926VWE5MN21KJ4EGV0E" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST484MS3VACPAZ90WHC21XQ7T6XANCV341HJYE0W" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2D1M978SCE52GAV07VXSRC9DQBP69X5WHX0DHN5" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2A68NMMXVZDWDTDZ5GJGA69M86V8KK0JS9X1QQP" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2ME1CR5XR0P332SBTSD90P9HG48F1SK8MZVJ3XW" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST19MXV72S9HHRSZCDY10K9DMB11JYPTXVVNYAWPH" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST20Q2N56E1NBWE37R4VGSF89X4HHTB3GSMD8GKYW" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2Q6124HQFKVKPJSS5J6156BJR74FD6EC1297HJ1" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST1114TBQYGNPGFAVXKWBKZAHP0X7ZGX9K6XYYE4F" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST1NCEQ0T4Z32QTYT88BNXJKC9HR3VWYHJ0TB95TP" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "STWF12K119FTA70NDG29MNYWR0CPMF44ZKC2SG2T" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST36G5CRHH1GJVZGFWPTW4H9GSA8VAVWM0ST7AV82" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST2KWFMX0SVXFMZ0W7TXZ3MV0C6V276BNAT49XAQW" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST1ZMVDYKGWF5TFGH46GEFBR273JJ3RRTHEDETKNH" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST3D0TEK871ZMBFFF0998YY609A1QGM6ZTYCQJJFQ" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST372ND8K8M3GKESD0KG8ZWJ6EV0GGXWXC5246MJN" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST33PA4H3TW3DQFHG2RXPGGW1FFG5YQJ704B3DA8M" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "STJ737JNPK525J86BGSPAW362SRRAYC4SP6F95HC" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST21AJANGK9NA2ZED5D5J1VZPTVW8DY05B0ECMFN" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST30Z74A4S2T8563D844ENSBHBFSVQEVBPV9S0A7E" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST2FGTGYAGJVXJZQX17NBJNSQAM4J2V5JFDHEEAZQ" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST16PC3G9BMQH0G37JGAGDGYZPDB5NGNARBDFPWYB" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST1XJHGBSQPV9B14HFYG98ZBSQGKG8GN0AMB3V2VT" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST2XDC0R30841X2RRECWV2F9KTANKQEERPS4V3H9D" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST2HC6JENRNNE6YVATT7WZVZWVR5J26BGYX67W8G7" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "STPW2CGZC98EZ95XYC9DE93SFBS5KA2PYYK89VHM" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "STNX3E9MYTA2ZDQK53YNMMJ3E7783DC019JZNYZZ" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST0D135PF2R0S4B6S4G49QZC69KF19MSZ4Z5RDF5" -# amount = 24378281250000 -# EOF" - - - - - - - - - - - - -# If the miner key is not passed into the process, then we default to not running a Stacks miner -# if [[ -z "${MINER_KEY}" ]]; then -# # In the case where we don't see any miner key being passed in, we don't include the `[miner]`section -# sudo bash -c "cat < ./config.toml -# [node] -# rpc_bind = "0.0.0.0:20443" -# p2p_bind = "0.0.0.0:20444" -# local_peer_seed = "$LOCAL_PEER_SEED" # Change to any 64-character hexidecimal string -# prometheus_bind = "0.0.0.0:9153" -# working_dir = "$STACKS_WORKING_DIR" # Change to data directory you would like to use for your node -# wait_time_for_microblocks = 0 -# mine_microblocks = false -# stacker = true # required if you are running a signer - -# [connection_options] -# block_proposal_token = "$MY_HTTP_AUTH_TOKEN" - -# [[events_observer]] -# endpoint = "$SINGER_ENDPOINT" # change to your signer endpoint -# retry_count = 255 -# include_data_events = false -# events_keys = ["stackerdb", "block_proposal"] - -# [burnchain] -# chain = "bitcoin" -# mode = "krypton" -# magic_bytes = "T3" -# pox_prepare_length = 5 -# pox_reward_length = 20 -# peer_host = "bitcoind.testnet.stacks.co" -# username = "blockstack" -# password = "blockstacksystem" -# rpc_port = 18332 -# peer_port = 18333 -# pox_2_activation = 104 - -# [[burnchain.epochs]] -# epoch_name = "1.0" -# start_height = 0 - -# [[burnchain.epochs]] -# epoch_name = "2.0" -# start_height = 0 - -# [[burnchain.epochs]] -# epoch_name = "2.05" -# start_height = 102 - -# [[burnchain.epochs]] -# epoch_name = "2.1" -# start_height = 103 - -# [[burnchain.epochs]] -# epoch_name = "2.2" -# start_height = 105 - -# [[burnchain.epochs]] -# epoch_name = "2.3" -# start_height = 106 - -# [[burnchain.epochs]] -# epoch_name = "2.4" -# start_height = 107 - -# [[burnchain.epochs]] -# epoch_name = "2.5" -# start_height = 108 - -# [[burnchain.epochs]] -# epoch_name = "3.0" -# start_height = 131 - -# [[ustx_balance]] -# address = "ST0DZFQ1XGHC5P1BZ6B7HSWQKQJHM74JBGCSDTNA" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2G2RJR4B5M95D0ZZAGZJP9J4WH090WHP0C5YW0H" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST3JCQJE9NZRCAPPE44Q12KR7FH8AY9HTEMWP2G5F" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "STA0EP5GD8FC661T8Q0Z382QW7Z6JXDM3E476MB7" -# amount = 17500000000000 - -# [[ustx_balance]] -# address = "ST3MNK12DGQF7JN4Q0STK6926VWE5MN21KJ4EGV0E" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST484MS3VACPAZ90WHC21XQ7T6XANCV341HJYE0W" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2D1M978SCE52GAV07VXSRC9DQBP69X5WHX0DHN5" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2A68NMMXVZDWDTDZ5GJGA69M86V8KK0JS9X1QQP" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2ME1CR5XR0P332SBTSD90P9HG48F1SK8MZVJ3XW" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST19MXV72S9HHRSZCDY10K9DMB11JYPTXVVNYAWPH" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST20Q2N56E1NBWE37R4VGSF89X4HHTB3GSMD8GKYW" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2Q6124HQFKVKPJSS5J6156BJR74FD6EC1297HJ1" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST1114TBQYGNPGFAVXKWBKZAHP0X7ZGX9K6XYYE4F" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST1NCEQ0T4Z32QTYT88BNXJKC9HR3VWYHJ0TB95TP" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "STWF12K119FTA70NDG29MNYWR0CPMF44ZKC2SG2T" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST36G5CRHH1GJVZGFWPTW4H9GSA8VAVWM0ST7AV82" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST2KWFMX0SVXFMZ0W7TXZ3MV0C6V276BNAT49XAQW" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST1ZMVDYKGWF5TFGH46GEFBR273JJ3RRTHEDETKNH" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST3D0TEK871ZMBFFF0998YY609A1QGM6ZTYCQJJFQ" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST372ND8K8M3GKESD0KG8ZWJ6EV0GGXWXC5246MJN" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST33PA4H3TW3DQFHG2RXPGGW1FFG5YQJ704B3DA8M" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "STJ737JNPK525J86BGSPAW362SRRAYC4SP6F95HC" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST21AJANGK9NA2ZED5D5J1VZPTVW8DY05B0ECMFN" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST30Z74A4S2T8563D844ENSBHBFSVQEVBPV9S0A7E" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST2FGTGYAGJVXJZQX17NBJNSQAM4J2V5JFDHEEAZQ" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST16PC3G9BMQH0G37JGAGDGYZPDB5NGNARBDFPWYB" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST1XJHGBSQPV9B14HFYG98ZBSQGKG8GN0AMB3V2VT" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST2XDC0R30841X2RRECWV2F9KTANKQEERPS4V3H9D" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST2HC6JENRNNE6YVATT7WZVZWVR5J26BGYX67W8G7" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "STPW2CGZC98EZ95XYC9DE93SFBS5KA2PYYK89VHM" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "STNX3E9MYTA2ZDQK53YNMMJ3E7783DC019JZNYZZ" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST0D135PF2R0S4B6S4G49QZC69KF19MSZ4Z5RDF5" -# amount = 24378281250000 -# EOF" - -# else - -# sudo bash -c "cat < ./config.toml -# [node] -# rpc_bind = "0.0.0.0:20443" -# p2p_bind = "0.0.0.0:20444" -# local_peer_seed = "$LOCAL_PEER_SEED" # Change to any 64-character hexidecimal string -# prometheus_bind = "0.0.0.0:9153" -# working_dir = "$STACKS_WORKING_DIR" # Change to data directory you would like to use for your node -# wait_time_for_microblocks = 0 -# mine_microblocks = false -# stacker = true # required if you are running a signer -# miner = true - -# [miner] -# min_tx_fee = 1 -# first_attempt_time_ms = 180_000 -# subsequent_attempt_time_ms = 360_000 -# wait_for_block_download = false -# microblock_attempt_time_ms = 10 -# #self_signing_seed = 1 -# mining_key = "$MINER_KEY" - -# [connection_options] -# block_proposal_token = "$MY_HTTP_AUTH_TOKEN" - -# [[events_observer]] -# endpoint = "$SIGNER_ENDPOINT" # change to your signer endpoint -# retry_count = 255 -# include_data_events = false -# events_keys = ["stackerdb", "block_proposal"] - -# [burnchain] -# chain = "bitcoin" -# mode = "krypton" -# magic_bytes = "T3" -# pox_prepare_length = 5 -# pox_reward_length = 20 -# peer_host = "bitcoind.testnet.stacks.co" -# username = "blockstack" -# password = "blockstacksystem" -# rpc_port = 18332 -# peer_port = 18333 -# pox_2_activation = 104 - -# [[burnchain.epochs]] -# epoch_name = "1.0" -# start_height = 0 - -# [[burnchain.epochs]] -# epoch_name = "2.0" -# start_height = 0 - -# [[burnchain.epochs]] -# epoch_name = "2.05" -# start_height = 102 - -# [[burnchain.epochs]] -# epoch_name = "2.1" -# start_height = 103 - -# [[burnchain.epochs]] -# epoch_name = "2.2" -# start_height = 105 - -# [[burnchain.epochs]] -# epoch_name = "2.3" -# start_height = 106 - -# [[burnchain.epochs]] -# epoch_name = "2.4" -# start_height = 107 - -# [[burnchain.epochs]] -# epoch_name = "2.5" -# start_height = 108 - -# [[burnchain.epochs]] -# epoch_name = "3.0" -# start_height = 131 - -# [[ustx_balance]] -# address = "ST0DZFQ1XGHC5P1BZ6B7HSWQKQJHM74JBGCSDTNA" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2G2RJR4B5M95D0ZZAGZJP9J4WH090WHP0C5YW0H" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST3JCQJE9NZRCAPPE44Q12KR7FH8AY9HTEMWP2G5F" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "STA0EP5GD8FC661T8Q0Z382QW7Z6JXDM3E476MB7" -# amount = 17500000000000 - -# [[ustx_balance]] -# address = "ST3MNK12DGQF7JN4Q0STK6926VWE5MN21KJ4EGV0E" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST484MS3VACPAZ90WHC21XQ7T6XANCV341HJYE0W" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2D1M978SCE52GAV07VXSRC9DQBP69X5WHX0DHN5" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2A68NMMXVZDWDTDZ5GJGA69M86V8KK0JS9X1QQP" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2ME1CR5XR0P332SBTSD90P9HG48F1SK8MZVJ3XW" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST19MXV72S9HHRSZCDY10K9DMB11JYPTXVVNYAWPH" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST20Q2N56E1NBWE37R4VGSF89X4HHTB3GSMD8GKYW" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST2Q6124HQFKVKPJSS5J6156BJR74FD6EC1297HJ1" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST1114TBQYGNPGFAVXKWBKZAHP0X7ZGX9K6XYYE4F" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "ST1NCEQ0T4Z32QTYT88BNXJKC9HR3VWYHJ0TB95TP" -# amount = 10000000000000000 - -# [[ustx_balance]] -# address = "STWF12K119FTA70NDG29MNYWR0CPMF44ZKC2SG2T" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST36G5CRHH1GJVZGFWPTW4H9GSA8VAVWM0ST7AV82" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST2KWFMX0SVXFMZ0W7TXZ3MV0C6V276BNAT49XAQW" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST1ZMVDYKGWF5TFGH46GEFBR273JJ3RRTHEDETKNH" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST3D0TEK871ZMBFFF0998YY609A1QGM6ZTYCQJJFQ" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST372ND8K8M3GKESD0KG8ZWJ6EV0GGXWXC5246MJN" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST33PA4H3TW3DQFHG2RXPGGW1FFG5YQJ704B3DA8M" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "STJ737JNPK525J86BGSPAW362SRRAYC4SP6F95HC" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST21AJANGK9NA2ZED5D5J1VZPTVW8DY05B0ECMFN" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST30Z74A4S2T8563D844ENSBHBFSVQEVBPV9S0A7E" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST2FGTGYAGJVXJZQX17NBJNSQAM4J2V5JFDHEEAZQ" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST16PC3G9BMQH0G37JGAGDGYZPDB5NGNARBDFPWYB" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST1XJHGBSQPV9B14HFYG98ZBSQGKG8GN0AMB3V2VT" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST2XDC0R30841X2RRECWV2F9KTANKQEERPS4V3H9D" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST2HC6JENRNNE6YVATT7WZVZWVR5J26BGYX67W8G7" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "STPW2CGZC98EZ95XYC9DE93SFBS5KA2PYYK89VHM" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "STNX3E9MYTA2ZDQK53YNMMJ3E7783DC019JZNYZZ" -# amount = 24378281250000 - -# [[ustx_balance]] -# address = "ST0D135PF2R0S4B6S4G49QZC69KF19MSZ4Z5RDF5" -# amount = 24378281250000 -# EOF" -# fi \ No newline at end of file diff --git a/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks/test.sh b/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks/test.sh deleted file mode 100644 index bd1ff4166..000000000 --- a/devenv/LOCAL/[0]-DOCKER-COMPOSE/stacks/test.sh +++ /dev/null @@ -1,215 +0,0 @@ -export STACKS_LOG_DEBUG="0" -export STACKS_LOG_JSON="0" -export LOCAL_PEER_SEED="3fd68a8fcab004754d6fee4756dd9c84ad64ee19a11aa9930893540e1357696f2f73957cd6e92797d7a66d1d3ae4a4ea752a8924fe028f1fc2c06b9d6d0ee0ad" -export STACKS_WORKING_DIR="/var/stacks" -export MY_HTTP_AUTH_TOKEN="helloworld" -export SIGNER_ENDPOINT="nakamoto-signer-service.stacks:30000" -export MINER_KEY="19ec1c3e31d139c989a23a27eac60d1abfad5277d3ae9604242514c738258efa01" - - -tee -a ./config.toml << END -[node] -rpc_bind = "0.0.0.0:20443" -p2p_bind = "0.0.0.0:20444" -local_peer_seed = "$LOCAL_PEER_SEED" # Change to any 64-character hexidecimal string -prometheus_bind = "0.0.0.0:9153" -working_dir = "$STACKS_WORKING_DIR" # Change to data directory you would like to use for your node -wait_time_for_microblocks = 0 -mine_microblocks = false -stacker = true # required if you are running a signer -miner = true - -[miner] -min_tx_fee = 1 -first_attempt_time_ms = 180_000 -subsequent_attempt_time_ms = 360_000 -wait_for_block_download = false -microblock_attempt_time_ms = 10 -mining_key = "$MINER_KEY" - -[connection_options] -block_proposal_token = "$MY_HTTP_AUTH_TOKEN" - -[[events_observer]] -endpoint = "$SIGNER_ENDPOINT" # change to your signer endpoint -retry_count = 255 -include_data_events = false -events_keys = ["stackerdb", "block_proposal"] - -[burnchain] -chain = "bitcoin" -mode = "krypton" -magic_bytes = "T3" -pox_prepare_length = 5 -pox_reward_length = 20 -peer_host = "$" -username = "blockstack" -password = "blockstacksystem" -rpc_port = 18332 -peer_port = 18333 -pox_2_activation = 104 - -[[burnchain.epochs]] -epoch_name = "1.0" -start_height = 0 - -[[burnchain.epochs]] -epoch_name = "2.0" -start_height = 0 - -[[burnchain.epochs]] -epoch_name = "2.05" -start_height = 102 - -[[burnchain.epochs]] -epoch_name = "2.1" -start_height = 103 - -[[burnchain.epochs]] -epoch_name = "2.2" -start_height = 105 - -[[burnchain.epochs]] -epoch_name = "2.3" -start_height = 106 - -[[burnchain.epochs]] -epoch_name = "2.4" -start_height = 107 - -[[burnchain.epochs]] -epoch_name = "2.5" -start_height = 108 - -[[burnchain.epochs]] -epoch_name = "3.0" -start_height = 131 - -[[ustx_balance]] -address = "ST0DZFQ1XGHC5P1BZ6B7HSWQKQJHM74JBGCSDTNA" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST2G2RJR4B5M95D0ZZAGZJP9J4WH090WHP0C5YW0H" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST3JCQJE9NZRCAPPE44Q12KR7FH8AY9HTEMWP2G5F" -amount = 10000000000000000 - -[[ustx_balance]] -address = "STA0EP5GD8FC661T8Q0Z382QW7Z6JXDM3E476MB7" -amount = 17500000000000 - -[[ustx_balance]] -address = "ST3MNK12DGQF7JN4Q0STK6926VWE5MN21KJ4EGV0E" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST484MS3VACPAZ90WHC21XQ7T6XANCV341HJYE0W" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST2D1M978SCE52GAV07VXSRC9DQBP69X5WHX0DHN5" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST2A68NMMXVZDWDTDZ5GJGA69M86V8KK0JS9X1QQP" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST2ME1CR5XR0P332SBTSD90P9HG48F1SK8MZVJ3XW" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST19MXV72S9HHRSZCDY10K9DMB11JYPTXVVNYAWPH" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST20Q2N56E1NBWE37R4VGSF89X4HHTB3GSMD8GKYW" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST2Q6124HQFKVKPJSS5J6156BJR74FD6EC1297HJ1" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST1114TBQYGNPGFAVXKWBKZAHP0X7ZGX9K6XYYE4F" -amount = 10000000000000000 - -[[ustx_balance]] -address = "ST1NCEQ0T4Z32QTYT88BNXJKC9HR3VWYHJ0TB95TP" -amount = 10000000000000000 - -[[ustx_balance]] -address = "STWF12K119FTA70NDG29MNYWR0CPMF44ZKC2SG2T" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST36G5CRHH1GJVZGFWPTW4H9GSA8VAVWM0ST7AV82" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST2KWFMX0SVXFMZ0W7TXZ3MV0C6V276BNAT49XAQW" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST1ZMVDYKGWF5TFGH46GEFBR273JJ3RRTHEDETKNH" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST3D0TEK871ZMBFFF0998YY609A1QGM6ZTYCQJJFQ" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST372ND8K8M3GKESD0KG8ZWJ6EV0GGXWXC5246MJN" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST33PA4H3TW3DQFHG2RXPGGW1FFG5YQJ704B3DA8M" -amount = 24378281250000 - -[[ustx_balance]] -address = "STJ737JNPK525J86BGSPAW362SRRAYC4SP6F95HC" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST21AJANGK9NA2ZED5D5J1VZPTVW8DY05B0ECMFN" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST30Z74A4S2T8563D844ENSBHBFSVQEVBPV9S0A7E" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST2FGTGYAGJVXJZQX17NBJNSQAM4J2V5JFDHEEAZQ" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST16PC3G9BMQH0G37JGAGDGYZPDB5NGNARBDFPWYB" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST1XJHGBSQPV9B14HFYG98ZBSQGKG8GN0AMB3V2VT" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST2XDC0R30841X2RRECWV2F9KTANKQEERPS4V3H9D" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST2HC6JENRNNE6YVATT7WZVZWVR5J26BGYX67W8G7" -amount = 24378281250000 - -[[ustx_balance]] -address = "STPW2CGZC98EZ95XYC9DE93SFBS5KA2PYYK89VHM" -amount = 24378281250000 - -[[ustx_balance]] -address = "STNX3E9MYTA2ZDQK53YNMMJ3E7783DC019JZNYZZ" -amount = 24378281250000 - -[[ustx_balance]] -address = "ST0D135PF2R0S4B6S4G49QZC69KF19MSZ4Z5RDF5" -amount = 24378281250000 -END \ No newline at end of file diff --git a/devenv/LOCAL/[0]-DOCKER-COMPOSE/up.sh b/devenv/LOCAL/[0]-DOCKER-COMPOSE/up.sh new file mode 100755 index 000000000..ba87fb479 --- /dev/null +++ b/devenv/LOCAL/[0]-DOCKER-COMPOSE/up.sh @@ -0,0 +1,7 @@ +#!/usr/bin/env bash + +if [ $? -eq 0 ]; then + docker compose up -d +else + echo "Build failed, not starting devenv" +fi