Cardanoex Tests Inline docs Coverage Status

The library is still in early development. Consider it experimental and the API might change in the future.

This library is the implementation of the idea submitted to Catalyst project.


  1. You need to have the cardano-wallet up and running


Add cardanoex to your list of dependencies in mix.exs:

def deps do
    {:cardanoex, "~> 0.2.0"}


In config/config.exs, add url to the cardano-wallet

config :cardanoex,
  wallet_base_url: "http://localhost:8090/v2"

Example usage

Create a wallet

name = "Wallet #1"
mnemonic = Util.generate_mnemonic()
pass = "Super_Secret3.14!"
{:ok, wallet} = Wallet.create_wallet(name: name, mnemonic_sentence: mnemonic, passphrase: pass)

List all transactions

{:ok, transactions} = Transaction.list(

Send a transaction

payments = %{
  passphrase: "Super_Secret3.14!",
  payments: [
            amount: %{quantity: 1_000_000, unit: "lovelace"}

{:ok, transaction} = Transaction.create(, payments)

If you like to support the idea with a donation, the address is: addr1qyfe0we0tkdu9qn8ztufplz0lmktgpx9zxnj54cd7y359wsyhwvjrl2zkf5cy72yv6p47f2gs5zglyplfggh6e5n4p0sdvvrng