🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

github.com/button-tech/utils-node-tool

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/button-tech/utils-node-tool

v0.0.0-20200418092257-480d9bb15bff
Source
Go
Version published
Created
Source

UTILS-NODE-TOOL

Blockchain list: ETH based(ETH/ETC),UTXO based(BTC/BCH/LTC), WAVES, STELLAR, ZILLIQA, POA, TON(testnet)

Run in Docker container

Database for blockchain nodes addresses - MongoDB

  • Build
# docker build --build-arg DIR=dir_in_cmd -t name_of_image .
  • Run examples

ETH/UTXO Based:

# docker run -p 8080:8080 -e HOST=db_host -e DB=database -e USER=db_user -e PASS=db_password -e COLLECTION=db_collection -e BLOCKCHAIN=(eth/etc/poa/btc/ltc/bch) -e DSN=(sentry DSN) name_of_image

WAVES/XLM:

# docker run -p 8080:8080 name_of_image

TON(testnet)

# docker build -f Dockerfile.ton -t name_of_image .
# docker run -p 8080:8080 -e WORKDIR=/app/ name_of_image

Docker-compose

  • Create .env file:
HOST=...
DB=...
COLLECTION=...
USER=...
PASS=...
DSN=...
  • Build and run:
# docker-compose build
# docker-compose up

FAQs

Package last updated on 18 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts