BitcoinLib

BitcoinElixir

Want to interact with the Bitcoin network through a DIY app? Look no further, this library is about doing it with Elixir, whether you know what it is or not in the simplest way possible. It makes abstraction of most of the cryptography jargon, while sticking to the Bitcoin glossary.

How to use

For non-elixir developers, here is a getting started tutorial

Otherwise here are the most useful links

Add as a dependency in mix.exs

def deps do
[
{:bitcoinlib, "~> 0.1.0"}
]
end

Technicalities

This lib can

Mid term goals

Address types

Address TypeDescriptionStarts WithSupported
P2PKHPay to Primary Key Hash1
P2WPKH-nested-in-P2SHNested Segwit3
P2WPKHNative Segwitbc1q
P2TRTaprootbc1pEventually...

Referenced bitcoin improvement proposals (bips)