Are there any libraries to integrate your Elixir/Phoenix applications to cryptocurrency platforms like Etherium, Cardano, etc?
How are you integrating your Elixir/Phoenix application to this platforms?
Thanks for your comments,
Best regards,
Are there any libraries to integrate your Elixir/Phoenix applications to cryptocurrency platforms like Etherium, Cardano, etc?
How are you integrating your Elixir/Phoenix application to this platforms?
Thanks for your comments,
Best regards,
@CinderellaMan might know
Thanks @AstonJ , but I’m afraid that this is not what @joaquinalcerro is after🤔
As far as I understand his post correctly, he’s looking for a way to read data from blockchain. My work on the other hand is geared towards exchanges (which at the end of the day are just REST apis).
I don’t know much about inspecting the blockchain but it looks like there are already some packages to do that: GitHub - mana-ethereum/ethereumex: Elixir JSON-RPC client for the Ethereum blockchain
I hope that helps
Ah sorry Kamil - I saw cryptocurrency and immediately thought of you
Thanks for the link - I’m sure it will be of help to Joaquin
Yeah, really heavily depends on what you want. There are IMHO basically two views:
I’ve not used any existing wrappers but the APIs are easy to use from Hackney and other HTTP libs. And there are libsecp256k1 libraries you can use for signing your transactions. We haven’t “libarized” our code but you can browse the repo of our full node to see how to sign and submit a transaction for example diode_server/transaction.ex at master · diodechain/diode_server · GitHub
Exthereum might have something similar as a library already.
Hope this helps in some ways.
Cheers!
Thanks for your responses,
@CinderellaMan thanks for the trading bot video/series I will definitely have a blast with it.
And yes, you are right… I was asking for a library to interact with the Blockchain… I assume our application
should generate transactions and send it to a miner/validator who will do its magic against the rest of the Blockchain… please correct me if I am wrong.
I assume wallets come into play in some place but not sure where.
@AstonJ @CinderellaMan any additional information is very welcome.
Thanks.
Did you manage to find a solution?
Nop not really.
A post was split to a new topic: Xogmios - an Elixir client for Ogmios
I think you are looking for this library:
https://hexdocs.pm/ethers/readme.html
You can use it to interact with EVM compatible blockchains such as ethereum or binance smart chain.