Skip to content

Test-project to get familiar with Elixir: a simple http server with one endpoint for fetching ETH balance on the Ethereum blockchain.

Notifications You must be signed in to change notification settings

msuard/elixir-bcx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BCX

This is a very simple test project for me to get to know Elixir.

Run: BCX.start()

It starts an http server listening to $PORT (as defined in config.exs)

It connects to an Ethereum node. You can use a local test node like Ganache, or connect to a public node like Infura (make sure you enter the infura url with your Infura API key in config.exs)

You can then fetch ETH balances on the Ethereum blockchain by sending http requests with the following query string:

/balance?address=0x.....

Enjoy!

About

Test-project to get familiar with Elixir: a simple http server with one endpoint for fetching ETH balance on the Ethereum blockchain.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages