Skip to content

Commit

Permalink
run with local api
Browse files Browse the repository at this point in the history
  • Loading branch information
zone117x committed Mar 13, 2024
1 parent f6478f8 commit 3acec74
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
version: "3.9"

x-common-vars:
- &STACKS_BLOCKCHAIN_COMMIT 206ea634857ea48485d810d79a866e30b3f42532
- &STACKS_BLOCKCHAIN_COMMIT ac33acea3a2091664488ebe983e1c4d164b218a1
- &BTC_ADDR miEJtNKa3ASpA19v5ZhvbKTEieYjLpzCYT
- &MINER_SEED 9e446f6b0c6a96cf2190e54bcd5a8569c3e386f091605499464389b8d4e0bfc201 # stx: STEW4ZNT093ZHK4NEQKX8QJGM2Y7WWJ2FQQS5C19, btc: miEJtNKa3ASpA19v5ZhvbKTEieYjLpzCYT, pub_key: 035379aa40c02890d253cfa577964116eb5295570ae9f7287cbae5f2585f5b2c7c, wif: cStMQXkK5yTFGP3KbNXYQ3sJf2qwQiKrZwR9QJnksp32eKzef1za
- &BITCOIN_PEER_PORT 18444
- &BITCOIN_RPC_PORT 18443
- &BITCOIN_RPC_USER btc
- &BITCOIN_RPC_PASS btc
- &MINE_INTERVAL ${MINE_INTERVAL:-1s}
- &MINE_INTERVAL_EPOCH25 ${MINE_INTERVAL_EPOCH25:-10s} # 10 second bitcoin block times in epoch 2.5
- &MINE_INTERVAL_EPOCH3 ${MINE_INTERVAL_EPOCH3:-600s} # 10 minute bitcoin block times in epoch 3
- &MINE_INTERVAL_EPOCH25 ${MINE_INTERVAL_EPOCH25:-3s} # 10 second bitcoin block times in epoch 2.5
- &MINE_INTERVAL_EPOCH3 ${MINE_INTERVAL_EPOCH3:-3s} # 10 minute bitcoin block times in epoch 3
- &STACKS_20_HEIGHT ${STACKS_20_HEIGHT:-101}
- &STACKS_2_05_HEIGHT ${STACKS_2_05_HEIGHT:-102}
- &STACKS_21_HEIGHT ${STACKS_21_HEIGHT:-103}
Expand Down Expand Up @@ -224,6 +224,7 @@ services:
- stacks-node

postgres:
profiles: ["disabled"]
networks:
- stacks
image: "postgres:15"
Expand All @@ -239,6 +240,7 @@ services:
PGDATA: /chainstate/pg-data

stacks-api:
profiles: ["disabled"]
networks:
- stacks
build:
Expand Down
8 changes: 4 additions & 4 deletions stacks-krypton-miner.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ block_proposal_token = "12345"

# Add stacks-api as an event observer
[[events_observer]]
endpoint = "stacks-api:3700"
endpoint = "host.docker.internal:3700"
retry_count = 255
include_data_events = false
events_keys = ["*"]
Expand Down Expand Up @@ -148,15 +148,15 @@ amount = 10000000000000000

[[ustx_balance]]
address = "STRYYQQ9M8KAF4NS7WNZQYY59X93XEKR31JP64CP"
amount = 10000000000000000
amount = 1000000000000000000
# secretKey = "e75dcb66f84287eaf347955e94fa04337298dbd95aa0dbb985771104ef1913db01"

[[ustx_balance]]
address = "STF9B75ADQAVXQHNEQ6KGHXTG7JP305J2GRWF3A2"
amount = 10000000000000000
amount = 1000000000000000000
# secretKey = "ce109fee08860bb16337c76647dcbc02df0c06b455dd69bcf30af74d4eedd19301",

[[ustx_balance]]
address = "ST18MDW2PDTBSCR1ACXYRJP2JX70FWNM6YY2VX4SS"
amount = 10000000000000000
amount = 1000000000000000000
# secretKey = "08c14a1eada0dd42b667b40f59f7c8dedb12113613448dc04980aea20b268ddb01",

0 comments on commit 3acec74

Please sign in to comment.