Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 1.19 KB

LIGHTCLIENT.md

File metadata and controls

63 lines (40 loc) · 1.19 KB

Light Client

Running Light Client in Docker

Prerequisites

  • Docker

Usage

Clone the repository:

git clone https://github.com/covalenthq/ewm-das
cd ewm-das

Build the Docker image:

docker build -t covalent/light-client -f Dockerfile.lc .

Run the Docker container:

docker run -d --restart always --name light-client -e PRIVATE_KEY="YOUR HEX PRIV KEY" covalent/light-client

Check the status of the Light Client:

docker logs -f light-client

Running Light Client Locally

Prerequisites

Building from Source

Running Light Client

To run the light-client, use the following command:

./bin/light-client --rpc-url <rpc-url> \
    --private-key <private-key> 

Note: Private key is the identity of your client. To generate a private key, use can use following resources:

./bin/light-client --rpc-url https://apilayer-ewm-838505730421.us-central1.run.app/api/v1 --private-key ${PRIVATE_KEY}