Skip to content

button-tech/blockchain-gram-testnet

Repository files navigation

About

TON Testner Wrapper that allow to use TON via REST api

Implementation for BUTTON Wallet Bot

Build

  • Worker

Build and run

# docker build -f Dockerfile.worker -r username/imagename .
# sudo docker run -v /mnt/filedir/masterchain:/app/wrappers/scripts/masterchain -v /mnt/filedir/basechain:/app/wrappers/scripts/basechain -e WORKDIR=/app/wrappers/scripts -d -p 80:80 username/imagename
  • Load balancer (Round Robin)
  1. Add addresses of hosts with workers (instance of api - wrappers/main.go). You should edit this line before build

  2. Then you can build and run

# docker build -f Dockerfile.rr_lb -t username/imagename .
# docker run username/imagename

Warning

Do not use that in production. Demo purposes only.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published