Better Programming

Advice for programmers.

Follow publication

Member-only story

Elixir API for NEAR Blockchain

Alex Filatov
Better Programming
Published in
8 min readMay 18, 2022
NEAR API for Elixir

My name is Alex and I created the Elixir API for NEAR blockchain. I hope this will be useful for you and please contact me in case you have any questions.

I confess — I don’t usually write articles, but I really want to share my achievements with you as I am quite pleased with the end result! That was my first experience with NEAR blockchain and I had an exciting time building this library.

If you want to jump straight to the code examples and skip my story and admiration for the NEAR blockchain, scroll down to the “Usage & Code Examples”.

Why I needed Elixir API for NEAR

One day a friend of mine told me he’s building a turn-based strategy game that looks like Clash of Clans and this game will be working on NEAR blockchain. I asked why NEAR when we have Ethereum with Solidity smart contracts? His answer was: “imagine your blockchain transaction finishes in a few milliseconds and doesn’t cost you ~$10 but a fraction of a cent”. I was (and still am) new to blockchain development but I heard that Ethereum has problems like this — slow and pricy transactions.

So I decided to make something for NEAR myself and my choice was a simple real-time multiplayer TicTacToe game with…

Alex Filatov
Alex Filatov

Written by Alex Filatov

developers developers developers developers

Write a response