Skip to content

Some scripts to parse the Witness data from a Bitcoin Txn to uncover the hidden Ordinals

Notifications You must be signed in to change notification settings

pow-co/ordinals-playground

 
 

Repository files navigation

Python Program with Docker Compose

This repository contains a Python program that connects to a PostgreSQL database and a RabbitMQ message broker using Docker Compose.

Prerequisites

Make sure you have the following software installed on your machine:

Getting Started

  1. Clone this repository to your local machine:

    git clone https://github.com/your_username/your_repository.git
  2. Navigate to the project directory:

    cd your_repository
  3. Open the docker-compose.yml file and replace the following placeholders with your own values:

    • your_postgres_user: Replace with your desired PostgreSQL username.
    • your_postgres_password: Replace with your desired PostgreSQL password.
    • your_database_name: Replace with the name of your PostgreSQL database.
    • your_rabbitmq_user: Replace with your desired RabbitMQ username.
    • your_rabbitmq_password: Replace with your desired RabbitMQ password.
  4. Build and start the containers:

    docker-compose up

    This command will build the Python app container based on the Dockerfile and start the PostgreSQL and RabbitMQ containers. The Python app container will automatically connect to the other containers based on the specified dependencies and links.

    The program output will be displayed in the console.

  5. To stop the containers, press Ctrl + C.

Contributing

Contributions are welcome! If you want to contribute to this project, please follow these steps:

  1. Fork this repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your forked repository.
  5. Submit a pull request to this repository.

License

This project is licensed under the MIT License.

About

Some scripts to parse the Witness data from a Bitcoin Txn to uncover the hidden Ordinals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 96.2%
  • Python 3.5%
  • Dockerfile 0.3%