uranther

uranther

What do you all think about writing a blockchain in Elixir? Being a functional language and having OTP in our arsenal, it seems it would be easier to get a block chain up-and-running quickly. We even have some good starting points for the consensus algorithm and hash trees:

:024: :lol:

Blockchain resources

Elixir community effort

Background

Videos

Topical

General

Bitcoin

Ethereum

Books

White Papers

Benchmarks

These projects are in active (rapid!) development and in a variety of languages.

Academic Papers

Specific implementations

Meta-analysis

Distributed consensus

Proofs of “X”

Various methods of using blockchain technologies to prove something in a way that is cryptographically verifiable.

FOR CRYPTOCURRENCY
OTHER PROOFS

Blockchain components

Distributed consensus algorithms

A fundamental problem in distributed computing and multi-agent systems is to achieve overall system reliability in the presence of a number of faulty processes. This often requires processes to agree on some data value that is needed during computation. Examples of applications of consensus include whether to commit a transaction to a database, agreeing on the identity of a leader, state machine replication, and atomic broadcasts. (Wikipedia)

  • raftex - Raft consensus
  • expaxos - Paxos consensus
  • rafute - Another implementation of Raft
  • dike - Paxos implementation in Erlang

Merkle (hash) trees

A hash tree or Merkle tree is a tree in which every non-leaf node is labelled with the hash of the labels or values (in case of leaves) of its child nodes. Hash trees are useful because they allow efficient and secure verification of the contents of large data structures. Hash trees are a generalization of hash lists and hash chains. (Wikipedia)

Elixir

Erlang

Cryptography

Elixir

  • elixir-rsa - Erlang public_key cryptography wrapper
  • elixir-ecc - elliptic curve cryptography
  • elixir-mcrypt - NIF wrapper around libmcrypt
  • cryptex - library for encrypting/decrypting, signing/verifying data

Erlang

Keywords: state machine replication, distributed cryptographic ledger, transaction log

Showing Posts 87 to 78

apoorv-2204

apoorv-2204

lud

lud

Hi,

I would like to know if some of you use Ethereumex and Mana on a daily basis ? Mana particularly seems not actively developed.

I need to publish transactions to the blockhain and listen for the emitted events. I wonder if I should use web3js instead or keep working with Elixir.

Thank you

mkunikow

mkunikow

And many financial institutions will use blockchain for internal use:

kochetkov_av

kochetkov_av

IBM & Linux foundation Hyperledger project is developing rapidly and almost ready to provide enterprise-grade private and secure blockchain solutions.
Blockchain reputation is spoiled by huge amount of scams, ICOs and “we build digital revolution, give us your money” projects. But situation is getting better and enterprise interest is growing.
Typical use cases are supply chains, managing any kind of assets or records.

Hyperledger is an umbrella project and is opened for new solutions, which will stick to general project guidelines. So it is possible to start something there using Elixir.

Currently flagship project is Hyperledger Fabric, written on Go. It utilizes some side tools, like Apache Kafka. And supports smart-contracts (chaincodes) on Go, Java and Javascript. Not sure if Elixir is fit for chaincodes, but it can be good for SDK. SDK is used for communication between peers and client apps.

alexdovzhanyn

alexdovzhanyn

There’s also the project that my team and I have been working on, Elixium. It’s a PoW blockchain written entirely in Elixir. It allows developers to create decentralized applications that run on the chain using WASM and uses zkSNARKS to maintain privacy & fungibility.

Here are a few more links for anyone interested:

greenz1

greenz1

Thanks for the heads up @Qqwy

Qqwy

Qqwy

TypeCheck Core Team

Be aware that that project (while probably great!), is not maintained by the Ethereum Foundation: It’s not hosted under the ‘Ethereum’ organization on GitHub, but under the ‘Exthereum’ organization.

greenz1

greenz1

https://github.com/exthereum/ethereumex

This is the link to the project

Where Next? Top

Trending in Wikis Top

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
budgie
A little off-topic, but I feel like people here have a good head on their shoulders. I used to be quite good at making software. Was luc...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews