The GSy Decentralized Energy Exchange (DEX) aims to revolutionize the way energy is traded and managed by leveraging the power of distributed ledger technology, such as blockchain, and advanced distributed runtime functionalities.
The target of the decentralized energy exchange is to design, develop, and implement a robust, secure, and efficient platform for energy trading in a decentralized environment.
The GSy Decentralized Energy Exchange can effectively facilitate peer-to-peer energy trading, optimize energy consumption and generation, and ultimately contribute to a more sustainable and resilient energy infrastructure.
Follow the steps below to set up the GSy Decentralized Energy Exchange locally.
Ensure you have the following software installed on your system before proceeding:
- Git - Download and install Git
- Rust (Install Rust programming language and Cargo, its package manager)
First, clone the repository to your local machine using the following command:
git clone https://github.com/gridsingularity/gsy-decentralized-exchange
Change to the project's directory using the command:
cd gsy-decentralized-exchange
cd gsy-node
Use the following command to build the node without launching it:
cargo build --release
Use Rust's native cargo run
command to build and launch the gsy-node:
cargo run --release -- --dev --tmp
or if you have already built using cargo build
you can launch the gsy-node using the following command:
./target/release/gsy-node --dev --tmp
First, install Docker and Docker Compose.
Build and tag the docker image:
docker build -t gsy_dex_image .
docker tag gsy_dex_image:latest gsy_dex_image:staging
and start docker-compose:
docker-compose up