Skip to content

Commit

Permalink
feat(sdk): add paymaster to SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
tuler committed Jul 30, 2024
1 parent 2636e50 commit dcf7b9a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/lemon-rivers-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/sdk": minor
---

add paymaster to SDK
7 changes: 7 additions & 0 deletions packages/sdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ ARG SERVER_MANAGER_VERSION
ARG CARTESI_IMAGE_KERNEL_VERSION
ARG LINUX_KERNEL_VERSION
ARG XGENEXT2_VERSION
ARG PAYMASTER_VERSION

USER root
ARG DEBIAN_FRONTEND=noninteractive
Expand All @@ -78,6 +79,7 @@ apt-get install -y --no-install-recommends \
libarchive-tools \
locales \
nodejs \
npm \
squashfs-tools \
xxd \
xz-utils
Expand All @@ -98,6 +100,11 @@ rm ./xgenext2fs.deb
xgenext2fs --version
EOF

# Install mock-verifying-paymaster
RUN <<EOF
npm install -g @cartesi/mock-verifying-paymaster@${PAYMASTER_VERSION}
EOF

ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
Expand Down
1 change: 1 addition & 0 deletions packages/sdk/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ target "default" {
SERVER_MANAGER_VERSION = "0.9.1"
CARTESI_IMAGE_KERNEL_VERSION = "0.19.1"
ALTO_VERSION = "0.0.4"
PAYMASTER_VERSION = "0.2.0"
DEVNET_VERSION = "1.8.0"
LINUX_KERNEL_VERSION = "6.5.9-ctsi-1-v0.19.1"
XGENEXT2_VERSION = "1.5.6"
Expand Down

0 comments on commit dcf7b9a

Please sign in to comment.