Skip to content

Commit

Permalink
add toncli
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyar committed Aug 8, 2023
1 parent 6a3f8a9 commit 9157a6c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN 7z x git-remote-gosh-linux-amd64.tar.gz -so | 7z x -aoa -si -ttar -o"git-rem
RUN chmod +x /target/bin/*

#FROM alpine:3.18.2
FROM ubuntu:20.04
FROM python:3.10.12-slim-bullseye

LABEL "com.github.actions.name"="TVM Action"
LABEL "com.github.actions.description"="Action for TVM can be used for development on TON, Everscale, Gosh, Venom"
Expand All @@ -55,6 +55,9 @@ COPY --from=build /target/fift /usr/local/lib/fift
COPY --from=build /target/smartcont /usr/local/lib/smartcont
COPY --from=build /target/lib /usr/local/lib

RUN pip install bitstring==3.1.9 toncli
COPY etc/config.ini /root/.config/toncli/config.ini

ENV FIFTPATH=/usr/local/lib/fift
ENV TVM_LINKER_LIB_PATH=/usr/local/lib/stdlib_sol_0_71_0.tvm

Expand Down
11 changes: 11 additions & 0 deletions etc/config.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[DEFAULT]
testnet = https://ton-blockchain.github.io/testnet-global.config.json
mainnet = https://ton-blockchain.github.io/global.config.json
toncenter_mainnet = https://toncenter.com/api/v2
toncenter_testnet = https://testnet.toncenter.com/api/v2
libs_warning = False

[executable]
func = /usr/local/bin/func
fift = /usr/local/bin/fift
lite-client = /usr/local/bin/lite-client

0 comments on commit 9157a6c

Please sign in to comment.