본문으로 바로가기

Docker Setup for Liquidity Provider Server

The provided docker-compose files can be used to quickly spin up an environment with the Liquidity Provider Server and its dependent services (bitcoind and rskj) for either regtest or testnet. Note that different environments require different setup files - the regtest environment requires a regtest federation and localstack, making the setup process different from testnet or mainnet.

Deploy Locally (Regtest Environment)

  • Use scripts located in the local directory
  • If there are any changes to the Liquidity Bridge Contracts that you need to deploy locally in your environment, you'll need to:
    • Get the LiquidityBridgeContractProxy address from your deployment
    • Export it as an environment variable:
      export LBC_ADDR="NEW_ADDRESS"
      export LPS_STAGE=regtest
    • Make the script executable and run it:
      chmod +x lps-env.sh
      ./lps-env.sh up

Deploy on Development Server with Testnet Config

For testnet or mainnet environments, use the docker-compose files directly:

docker-compose --env-file .env.testnet down &&
docker-compose --env-file .env.testnet build --no-cache &&
docker-compose --env-file .env.testnet up -d
Troubleshooting

Encountering difficulties with the Docker setup or Flyover issues? Join the Rootstock Discord community for expert support and assistance. Our dedicated team is ready to help you resolve any problems you may encounter.

최종 수정: 작성일: 작성자: github-actions[bot]