Skip to content

xrpscanner/XRPL-Webhooks

 
 

Repository files navigation

XRPL Webhook

Register Apps and add XRPL account subscriptions + Webhook endpoint URL's. The service will watch the XRP ledger for payment transactions, and HTTP POST Webhooks will be sent to the subscribed apps + endpoints.

Start & run manually

  • Install dependencies with mix deps.get
  • Check your database setting at config/dev.exs and match your postgresql credential
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with cd assets && npm install
  • Add env variables to your environment
    • GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET Github Sign-in
    • TWITTER_CONSUMER_KEY and TWITTER_CONSUMER_SECRET Twitter-Sign-in
  • Start Phoenix endpoint with mix phx.server

Start & run with Docker Compose

The attached docker-compose definition will run postgres:alpine and this application.

Run the platform:

docker-compose up

If you made changes to this reposority, you may need to rebuild the Docker image:

docker-compose build

Releases

No releases published

Packages

No packages published

Languages

  • Elixir 54.7%
  • HTML 38.0%
  • API Blueprint 3.3%
  • JavaScript 3.0%
  • CSS 0.5%
  • Dockerfile 0.3%
  • Shell 0.2%