{"id":19849647,"url":"https://github.com/geeks-solutions/ex_stacks","last_synced_at":"2025-08-03T03:18:25.282Z","repository":{"id":64274714,"uuid":"525335870","full_name":"Geeks-Solutions/ex_stacks","owner":"Geeks-Solutions","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-05T21:09:04.000Z","size":93,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"v_0.1.0","last_synced_at":"2025-01-11T13:10:33.963Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hex.pm/packages/ex_stacks","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Geeks-Solutions.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-08-16T10:43:07.000Z","updated_at":"2022-12-15T11:37:20.000Z","dependencies_parsed_at":"2022-12-05T23:13:41.797Z","dependency_job_id":null,"html_url":"https://github.com/Geeks-Solutions/ex_stacks","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/Geeks-Solutions%2Fex_stacks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geeks-Solutions%2Fex_stacks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geeks-Solutions%2Fex_stacks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geeks-Solutions%2Fex_stacks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Geeks-Solutions","download_url":"https://codeload.github.com/Geeks-Solutions/ex_stacks/tar.gz/refs/heads/v_0.1.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241230079,"owners_count":19930917,"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":[],"created_at":"2024-11-12T13:22:23.852Z","updated_at":"2025-02-28T20:44:30.643Z","avatar_url":"https://github.com/Geeks-Solutions.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"## ExStacks\n\n# Introduction\n\nExStacks is a library that serves as a interface to integrate Stacks Blockchain into your project.\n\n# Setup\n\n1. Add ex_stacks to you `mix.exs`\n2. Retrieve your desired node base URL - `required`\n3. In case you want to receive event updates directly from the blockchain through the websocket, you need the websocket base url - `optional`\n4. Add the following config to your configuration file:\n ```elixir\n config :ex_stacks,\n node_url: \"your_node_url\",\n node_ws_url: \"your_optional_node_websocket_url\"\n ```\n\n- You can use [Hiro](https://docs.hiro.so/get-started/stacks-blockchain-api)'s mainnet or testnet node URLs in case you do not have your own node access\n\n# Usage\n\nAs of now, the following Stacks Blockchain API actions are supported:\n- All websocket events through the ``ExStacks.StacksAPI.subscribe/2`` and ``ExStacks.StacksAPI.unsubscribe/2`` function.\n- All Get API calls through the ``ExStacks.StacksAPI.request/2`` function.\n- Submitting a signed transaction through the ``ExStacks.StacksAPI.request/2`` function.\n- Signing a transaction through the ``ExStacks.StacksAPI.request/2`` function.\n\nYou can retrieve the process listening to the websocket events ID through ``ExStacks.WebSocketClient.get_process_id/0``, and implement it in any way you want.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeeks-solutions%2Fex_stacks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeeks-solutions%2Fex_stacks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeeks-solutions%2Fex_stacks/lists"}