Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
89f80eb
feat: epoch 3.5 basic setup
hstove-stacks Mar 26, 2026
be9be9a
feat: improve performance by caching stacks-node deps
hstove-stacks Mar 26, 2026
4d04510
feat: start of logic to make bitcoin lockups
hstove-stacks Mar 26, 2026
d00f945
feat: add tsconfig, update the stacks.js V7
hstove-stacks Apr 1, 2026
e866aeb
fix: use signer key grants, actually stake
hstove-stacks Apr 1, 2026
2829901
fix: match logic for timelock script
hstove-stacks Apr 1, 2026
5a7cbd9
fix: ts errors in flood script
hstove-stacks Apr 1, 2026
188841b
fix: consolidate scripts a bit
hstove-stacks Apr 3, 2026
c8ee6a5
fix: sign with correct chain id
hstove-stacks Apr 8, 2026
02d8c43
feat: update to use epoch 4.0
hstove-stacks May 14, 2026
01a4713
fix: nonce issues, add get-current-aggregate-pubkey
hstove-stacks May 15, 2026
3315e80
feat: update stacks-core image
hstove-stacks Jun 2, 2026
6a30570
feat: update stacks-core commit
hstove-stacks Jun 2, 2026
141767d
fix: typo in commit
hstove-stacks Jun 2, 2026
f209226
fix: update signer-manager, sbtc_registry, bond admin
hstove-stacks Jun 2, 2026
6ee6e90
feat: update stacks-core commit
hstove-stacks Jun 2, 2026
fae01a9
fix: update read_only read_length limit
hstove-stacks Jun 2, 2026
3211386
fix: update stacks-blockchain-api image
hstove-stacks Jun 3, 2026
270c2b0
fix: off-by-1 issue with stake-update timing
hstove-stacks Jun 3, 2026
b967b61
feat: update bond admin
hstove-stacks Jun 5, 2026
fec4f19
fix: use CHAIN_ID
hstove-stacks Jun 11, 2026
bb7f3ad
feat: added sBTC containers
hstove-stacks Jun 11, 2026
9fcb59b
feat: update config and scripts to use sbtc deployer addr
hstove-stacks Jun 11, 2026
6b823cd
feat: successfully make sBTC deposit tx
hstove-stacks Jun 11, 2026
4cc57ef
feat: update tsx for better tracing
hstove-stacks Jun 11, 2026
4e10dc9
feat: update stacks-core and stacks-blockchain-api
hstove-stacks Jun 11, 2026
d3a8810
fix: fund utxo for signers
hstove-stacks Jun 11, 2026
968281d
fix: add emily&sbtc event observers, fix aggregate pubkey handling
hstove-stacks Jun 11, 2026
75ebf7d
feat: add calculate-rewards to btc-staker script
hstove-stacks Jun 15, 2026
ed6d503
fix: remove unused sbtc contracts
hstove-stacks Jun 15, 2026
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
stacking/node_modules
package-lock.json
.cache
node_modules
ai
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"biome.enabled": false
}
8 changes: 6 additions & 2 deletions Dockerfile.stacker
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ WORKDIR /root
COPY ./stacking/package.json /root/
RUN npm i

COPY ./stacking/stacking.ts ./stacking/common.ts ./stacking/monitor.ts ./stacking/tx-broadcaster.ts /root/
COPY ./stacking/deployments/*.yaml /root/deployments/
COPY ./stacking/contracts/*.clar /root/contracts/
COPY ./stacking/*.ts /root/

CMD ["npx", "tsx", "/root/stacking.ts"]
ENV NODE_OPTIONS=--enable-source-maps

CMD ["./node_modules/.bin/tsx", "/root/stacking.ts"]
2 changes: 1 addition & 1 deletion Dockerfile.stacks-api
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN git init && \
git reset --hard FETCH_HEAD && \
git fetch --all --tags

RUN rm ".env"
# RUN rm ".env"
RUN git describe --tags --abbrev=0 || git -c user.name='user' -c user.email='email' tag vNext
RUN echo "GIT_TAG=$(git tag --points-at HEAD)" >> .env

Expand Down
19 changes: 10 additions & 9 deletions Dockerfile.stacks-node
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
FROM rust:bookworm AS builder

# TODO: is there a built-in required arg syntax?
ARG GIT_COMMIT
RUN test -n "$GIT_COMMIT" || (echo "GIT_COMMIT not set" && false)

RUN echo "Building stacks-node from commit: https://github.com/stacks-network/stacks-blockchain/commit/$GIT_COMMIT"

RUN apt-get update && apt-get install -y libclang-dev
RUN rustup toolchain install stable
RUN rustup component add rustfmt --toolchain stable

ARG GIT_COMMIT
RUN test -n "$GIT_COMMIT" || (echo "GIT_COMMIT not set" && false)
RUN echo "Building stacks-node from commit: https://github.com/stacks-network/stacks-blockchain/commit/$GIT_COMMIT"

WORKDIR /stacks
RUN git init && \
git remote add origin https://github.com/stacks-network/stacks-blockchain.git && \
git -c protocol.version=2 fetch --depth=1 origin "$GIT_COMMIT" && \
git reset --hard FETCH_HEAD

RUN cargo build --package stacks-node --package stacks-signer --bin stacks-node --bin stacks-signer
RUN --mount=type=cache,target=/stacks/target \
--mount=type=cache,target=/usr/local/cargo/registry \
cargo build --package stacks-node --package stacks-signer --bin stacks-node --bin stacks-signer --features slog_json && \
cp target/debug/stacks-node target/debug/stacks-signer /usr/local/bin/

FROM debian:bookworm

COPY --from=builder /stacks/target/debug/stacks-node /usr/local/bin/
COPY --from=builder /stacks/target/debug/stacks-signer /usr/local/bin/
COPY --from=builder /usr/local/bin/stacks-node /usr/local/bin/
COPY --from=builder /usr/local/bin/stacks-signer /usr/local/bin/

COPY --from=dobtc/bitcoin:25.1 /opt/bitcoin-*/bin /usr/local/bin

Expand Down
Loading