Sign inSign up

bcrd/zcash-testnet

By bcrd

Updated about 8 years ago

Containerized Zcash testnet node

Image
1

2.7K

bcrd/zcash-testnet repository overview

zcash - Overwinter Testnet

Latest: Zcash 2.0.0

Sapling will activate on the testnet at block 280000, which is expected about a week after this release. Sapling had previously activated on testnet, but because changes were made to the consensus rules your node will automatically roll back and proceed on the Overwinter testnet branch until Sapling activates again at the new height.

This container contains all files and proving keys to run zcash. The docker container will sync the chain to the folder you create as a volume.

Before you run:

Create a folder for the zcash config file and data directory. see the zcash user guide

Run as container


docker run -it --name=zcash-docker
-v /path/to/.zcash:/root/.zcash
bcrd/zcash

Docker Compose


  • create folder .zcash-testnet-A -- create folder zcash-testnet-B
  • create file docker-compose.yml

#docker-compose.yml


version: '3.2'
services:
  zcash-A:
    image: bcrd/zcash-testnet:v2.0.0
    container_name: zcash-testnet-A
    tty: true
    volumes:
      - zcashtestdataA:/root/.zcash
    ports:
      - "127.0.0.1:18232:18232"

  zcash-B:
    image: bcrd/zcash-testnet:v2.0.0
    container_name: zcash-testnet-B
    tty: true
    volumes:
      - zcashtestdataB:/root/.zcash
    ports:
      - "127.0.0.1:18233:18232"


volumes:
  zcashtestdataA:
    driver: local
    driver_opts:
      type: bind
      device: $PWD/.zcash-test-A  # Change this to the right path!!!
      o: bind

  zcashtestdataB:
    driver: local
    driver_opts:
      type: bind
      device: $PWD/.zcash-test-B  # Change this to the right path!!!
      o: bind





ActionCommand
Rundocker-compose up -d
Check statusdocker logs zcash-testnet -f
Accessdocker-compose exec zcash-testnet bash

Tag summary

Content type

Image

Digest

Size

2.4 GB

Last updated

over 8 years ago

docker pull bcrd/zcash-testnet