mirror of
https://github.com/RoboSats/taptrade-core.git
synced 2025-07-17 08:13:26 +00:00
1.3 KiB
1.3 KiB
Regtest Node
This folder contains the documentation for setting up and using the Regtest Node in the TapTrade Core repository.
Any developer can use this to test this repository in an isolated Regtest node.
Prerequisites
Before using the Regtest Node, make sure you have the following prerequisites installed:
- docker
- docker compose
Installation
To install the Regtest Node, follow these steps:
- Clone the TapTrade Core repository to your local machine.
Build the Docker Containers:
-
Navigate to the
rpc_node
folder in the repository.cd rpc_node/regtest
-
Run the following command to build the services:
docker compose build
Start the Services:
- Once the containers are built, you can start the Bitcoin and Electrs services:
docker compose up -d
- This command will run the containers in detached mode. To see the logs in real-time, use:
docker compose logs -f
Check If the Services Are Running:
You can check the status of your containers by running:
```
docker ps
```
API Documentation
For detailed information on the available API endpoints and how to use them, refer to the API documentation file in this folder.