Skip to content

Commit

Permalink
feat: implement the stacks client (#228)
Browse files Browse the repository at this point in the history
* The docker MAINTAINER instruction has been deprecated in favor of the LABEL instruction.
* Make the devnet-liveness script executable.
* Add docker compose services and configs for the stacks node and stacks signer.
* Add code for the stacks client.
  • Loading branch information
djordon committed Jun 5, 2024
1 parent 3e7238b commit 86a2b9a
Show file tree
Hide file tree
Showing 21 changed files with 935 additions and 38 deletions.
180 changes: 177 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ tokio = "1.32.0"
tokio-stream = {version = "0.1.15", features = ["sync"] }
tracing = { version = "0.1", default-features = false }
tracing-attributes = "0.1"
url = "2.5"
wsts = "9.1.0"

[workspace.dependencies.tracing-subscriber]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM alpine:latest
MAINTAINER Gowtham Sundar <gowtham@trustmachines.co>
LABEL org.opencontainers.image.authors="Gowtham Sundar <gowtham@trustmachines.co>"

RUN apk add --no-cache curl jq

Expand Down
2 changes: 1 addition & 1 deletion devenv/local/docker-compose/bitcoin/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM debian:stable-slim as builder
MAINTAINER Gowtham Sundar <gowtham@trustmachines.co>
LABEL org.opencontainers.image.authors="Gowtham Sundar <gowtham@trustmachines.co>"

ARG VERSION=25.0

Expand Down
2 changes: 1 addition & 1 deletion devenv/local/docker-compose/electrs/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# --------------------------------------------------------
FROM debian:bookworm-slim as builder
MAINTAINER Gowtham Sundar <gowtham@trustmachines.co>
LABEL org.opencontainers.image.authors="Gowtham Sundar <gowtham@trustmachines.co>"
RUN apt-get update -qqy
RUN apt-get install -qqy librocksdb-dev curl git
# --------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM blockstack/stacks-core:2.5.0.0.3
MAINTAINER Gowtham Sundar <gowtham@trustmachines.co>
LABEL org.opencontainers.image.authors="Gowtham Sundar <gowtham@trustmachines.co>"
COPY . .

ARG SIGNER_ENDPOINT
Expand Down
2 changes: 1 addition & 1 deletion devenv/local/docker-compose/stacks-api/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM node:16-alpine
MAINTAINER Gowtham Sundar <gowtham@trustmachines.co>
LABEL org.opencontainers.image.authors="Gowtham Sundar <gowtham@trustmachines.co>"

ARG GIT_URI='https://github.com/hirosystems/stacks-blockchain-api.git'
ARG GIT_BRANCH='v7.10.0-nakamoto.7'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# --------------------------------------------------------
FROM node:18-alpine AS build
MAINTAINER Gowtham Sundar <gowtham@trustmachines.co>
LABEL org.opencontainers.image.authors="Gowtham Sundar <gowtham@trustmachines.co>"


ARG GIT_URI='https://github.com/hirosystems/explorer.git'
Expand Down
2 changes: 1 addition & 1 deletion devenv/local/docker-compose/stacks/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM blockstack/stacks-core:2.5.0.0.3
MAINTAINER Gowtham Sundar <gowtham@trustmachines.co>
LABEL org.opencontainers.image.authors="Gowtham Sundar <gowtham@trustmachines.co>"
COPY . .

ARG STACKS_LOG_DEBUG
Expand Down
Empty file modified devenv/local/docker-compose/tests/devnet-liveness.sh
100644 → 100755
Empty file.
Loading

0 comments on commit 86a2b9a

Please sign in to comment.