Welcome to the documentation for the Xiler Domains Synchronization to OrdinalsWallet project. This closed-source Rust project allows you to synchronize Xiler Domains and send a Discord webhook message when certain events occur. Below, you will find a step-by-step guide to setting up and configuring this project.
Before you get started, make sure you have the following prerequisites installed on your system:
The project uses environment variables for its configuration. You need to set these variables in a .env
file before running the project. Here is a list of the environment variables:
CREATOR_ADDRESS
: The BTC address of the collection creator.CREATOR_SIGNATURE
: The signature of the creator address.SLUG
: The slug for the collection.DATABASE_URL
: The URL for your PostgreSQL database, including username, password, host, port, and database name.WEBHOOK_URL
: The Discord webhook URL for sending messages.
To build and run the project, follow these steps:
-
Clone the project repository:
git clone [email protected]:XilerNet/ordinalswallet.git ordinalswallet-sync cd ordinalswallet-sync
-
Set up the environment variables by copyin the
.env.example
file to.env
and configuring it as explained in the comments. -
Build the project using Cargo:
cargo build --release
-
Run the project:
./target/release/ordinalswallet
The project should now be up and running, synchronizing Xiler Domains and sending Discord webhook messages when necessary.
This project is closed source, and contributions are not accepted.
Altough this project's LICENCE is MIT, it does not apply until this is open source, as it intended for private use.