Sign inSign up

mixhq/gxchain

By mixhq

•Updated almost 6 years ago

Image
0

908

mixhq/gxchain repository overview

⁠gxchain-docker

Dockerfile for gxchain witness node and gxchain cli wallet

  • We expose witness node at port 8090, and cli wallet at 8091
  • After initial run
    • wallet is at wallet.json
    • need to run set_password <pass> and unlock <pass>
    • use import_key myaccount <wif_priv_key> to import account

⁠Build

docker build -t gxchain .

⁠Run

mkdir data
# watch account `1.2.3456` for query actions
docker run --rm -itd --name igxc -e "track_account=1.2.3456" -p 8090:8090 -p 8091:8091 -v `pwd`/data:/opt/coin gxchain

⁠Using pre-built docker image

Using automated build image from https://hub.docker.com/r/mixhq/gxchain/⁠:

docker run --rm -itd --name igxc -e "track_account=1.2.3456" -p 8090:8090 -p 8091:8091 -v `pwd`/data:/opt/coin mixhq/gxchain

Tag summary

Content type

Image

Digest

Size

84.7 MB

Last updated

almost 6 years ago

docker pull mixhq/gxchain