emr / payment_confirmation

Blockchain payment confirmation challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PaymentConfirmation

Track the status of a transaction on the Ethereum network in realtime.

Environment

This app developed with Elixir 1.14.0 and Mix 1.14.0.

Start

  • This app needs to connect Ethereum mainnet, so you need to provide ETH_NODE_URL environment variable to run.
  • Also you can configure web server port via PORT env variable.
  • Dependencies must be installed with mix deps.get
  • And you can run the web server with mix phx.server command.
export PORT=4000
export ETH_NODE_URL="https://eth-mainnet.g.alchemy.com/v2/Ee49dY5NXWywgxJNkTNAdChuUF8zaNaD"
mix phx.server

(that node url above is created from Alchemy by me, it's limited, you can use it for testing purposes)

Now you can visit localhost:4000 from your browser.

To read further information about internal modules, you can check out moduledocs, and readme files of the apps.

About

Blockchain payment confirmation challenge

License:MIT License


Languages

Language:Elixir 85.8%Language:CSS 7.0%Language:HTML 4.5%Language:JavaScript 2.6%