{"id":19385453,"url":"https://github.com/ricn/cardanoex","last_synced_at":"2025-04-23T22:31:59.647Z","repository":{"id":46972201,"uuid":"353108630","full_name":"ricn/cardanoex","owner":"ricn","description":"Elixir client for the Cardano wallet API","archived":false,"fork":false,"pushed_at":"2022-04-16T20:55:41.000Z","size":727,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T20:44:44.336Z","etag":null,"topics":["cardano-wallet","cryptocurrency","elixir","wallet"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ricn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-30T18:50:54.000Z","updated_at":"2022-12-07T23:13:14.000Z","dependencies_parsed_at":"2022-08-30T06:00:43.878Z","dependency_job_id":null,"html_url":"https://github.com/ricn/cardanoex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricn%2Fcardanoex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricn%2Fcardanoex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricn%2Fcardanoex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ricn%2Fcardanoex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ricn","download_url":"https://codeload.github.com/ricn/cardanoex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250527087,"owners_count":21445299,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cardano-wallet","cryptocurrency","elixir","wallet"],"created_at":"2024-11-10T09:36:19.485Z","updated_at":"2025-04-23T22:31:59.226Z","avatar_url":"https://github.com/ricn.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cardanoex\n\n[![Hex.pm](https://img.shields.io/hexpm/v/cardanoex.svg)](https://hex.pm/packages/cardanoex)\n[![Tests](https://github.com/ricn/cardanoex/actions/workflows/elixir.yml/badge.svg)](https://github.com/ricn/cardanoex/actions/workflows/elixir.yml)\n[![Coverage Status](https://coveralls.io/repos/github/ricn/cardanoex/badge.svg?branch=master)](https://coveralls.io/github/ricn/cardanoex?branch=master)\n\nWelcome to the documentation for Cardanoex. \n\nThe aim of this library is to offer a set of tools for interacting with [Cardano](https://cardano.org/) blockchain platform in Elixir. It provides high level modules representing the Cardano environment, like wallets, addresses, transactions, native assets \u0026 stake pools.\n\nIt currently uses the REST protocol offered by the [cardano-wallet](https://github.com/input-output-hk/cardano-wallet) binary.\n\nThis library is the implementation of [the idea](https://cardano.ideascale.com/a/dtd/Elixir-library/350635-48088) submitted to Catalyst project.\n\n## Prerequisites\n\n1. You need to have the [cardano-wallet](https://github.com/input-output-hk/cardano-wallet) up and running\n\n## Installation\n\nAdd `cardanoex` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:cardanoex, \"~\u003e 0.6.0\"}\n  ]\nend\n```\n\n## Configuration\nIn `config/config.exs`, add url to the cardano-wallet\n\n```elixir\nconfig :cardanoex,\n  wallet_base_url: \"http://localhost:8090/v2\"\n```\n\n## Example usage\n\n### Create a wallet\n```elixir\nname = \"Wallet #1\"\nmnemonic = Util.generate_mnemonic()\npass = \"Super_Secret3.14!\"\n    \n{:ok, wallet} = Wallet.create_wallet(name: name, mnemonic_sentence: mnemonic, passphrase: pass)\n```\n### List all transactions\n```elixir\n{:ok, transactions} = Transaction.list(wallet.id)\n```\n### Send a transaction\n```elixir\npayments = %{\n  passphrase: \"Super_Secret3.14!\",\n  payments: [\n          %{\n            address:\n              \"addr_test1qqt6c697uderxaccgn...m64dsuzfj8f\",\n            amount: %{quantity: 1_000_000, unit: \"lovelace\"}\n           }\n  ]\n}\n\n{:ok, transaction} = Transaction.create(wallet.id, payments)\n```\n\n\n## Donate\n\nIf you like to support the project with a donation, the address is:\n`addr1qyfe0we0tkdu9qn8ztufplz0lmktgpx9zxnj54cd7y359wsyhwvjrl2zkf5cy72yv6p47f2gs5zglyplfggh6e5n4p0sdvvrng`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricn%2Fcardanoex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricn%2Fcardanoex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricn%2Fcardanoex/lists"}