cyphernode icon indicating copy to clipboard operation
cyphernode copied to clipboard

Liquid branch testnet

Open BHodl opened this issue 4 years ago • 7 comments

When selecting testnet as network on liquid branch, elements is configured as regtest.

BHodl avatar Nov 16 '21 19:11 BHodl

There's no testnet on liquid :)

There is liquidv1 (mainnet) and elementsregtest (regtest for elements). There is now also signet if I'm not mistaken... haven't tried it yet.

Kexkey avatar Nov 16 '21 21:11 Kexkey

Look like it exist now. https://blockstream.info/liquidtestnet/blocks/recent I managed to make it work with elements-qt but no success with peg-in for now. Configuration and faucet --> https://liquidtestnet.com

BHodl avatar Nov 17 '21 20:11 BHodl

Oh wow! I wasn't aware they finally created one! Thanks! I'll update the features/liquid branch!

Kexkey avatar Nov 18 '21 17:11 Kexkey

@BHodl Have you had any success with this? I am trying to get this working as well.

i5hi avatar Nov 27 '23 12:11 i5hi

Look like it exist now. https://blockstream.info/liquidtestnet/blocks/recent I managed to make it work with elements-qt but no success with peg-in for now. Configuration and faucet --> https://liquidtestnet.com

Still figuring this out myself. FWIU LiquidTestnet is maintained by Blockstream and not actually linked to BitcoinTestnet - so no peg-ins.

i5hi avatar Nov 27 '23 12:11 i5hi

@BHodl

The reason why it doesn't work is because the liquidtestnet.com config has the setting daemon=1 Container needs the process to stay in the foreground.

i5hi avatar Nov 28 '23 09:11 i5hi

I got it working with this docker-compose.yaml

  elements_liquidtestnet:
    image: cyphernode/elements:v22.0.2-mosquitto-debian
    user: $USER
    command: elementsd
    ports:
      - 18891:18891
    volumes:
      - "/mnt/sharednodes/elements_liquidtestnet:/.elements"
    stop_grace_period: 30s
    networks:
      - sharednodesnet
    deploy:
      replicas: 1
      placement:
        constraints:
          - node.labels.io.sharednodes == true
      restart_policy:
        condition: "any"
        delay: 1s
      update_config:
        parallelism: 1

i5hi avatar Nov 28 '23 09:11 i5hi