This project is a WebSocket bridge for Steem, designed to facilitate communication between clients and the Steem blockchain. It provides a robust and efficient way to interact with the Steem network.
- WebSocket-based communication
- Easy deployment with Docker
- Configurable Nginx setup
steem-bridge.js: Main application logic.steem-client.js: Client for interacting with the Steem blockchain.nginx/nginx.conf: Nginx configuration file.Dockerfile: Docker setup for containerized deployment.deploy.ps1anddeploy.sh: Deployment scripts for Windows and Unix-based systems.detailed-test.js,enhanced-test.js,comprehensive-test.js: Test scripts for various scenarios.
- Node.js (v14 or higher)
- Docker
- Git
- Clone the repository:
git clone https://github.com/Steemblocks/Steem-WebSocket-Bridge-v2.git
- Navigate to the project directory:
cd Steem-WebSocket-Bridge-v2 - Install dependencies:
npm install
To start the application, run:
node steem-bridge.jsRun the test scripts to ensure everything is working correctly:
node detailed-test.js
node enhanced-test.js
node comprehensive-test.js-
Build the Docker image:
docker build -t steem-websocket-bridge-v2 . -
Run the Docker container:
docker run -d -p 80:80 --name steem-websocket-bridge-v2 steem-websocket-bridge-v2
This will start the container and expose the application on port 80.
-
Verify the container is running:
docker ps
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.