{"id":32161048,"url":"https://github.com/kelecorix/accumulate-haskell-client","last_synced_at":"2025-10-21T13:50:01.901Z","repository":{"id":59150964,"uuid":"415058449","full_name":"kelecorix/accumulate-haskell-client","owner":"kelecorix","description":"Haskell client for Accumulate","archived":false,"fork":false,"pushed_at":"2023-11-14T15:31:07.000Z","size":68,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-21T13:49:47.222Z","etag":null,"topics":["accumulate","haskell","json-rpc","rpc","rpc-api"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kelecorix.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,"governance":null}},"created_at":"2021-10-08T16:35:35.000Z","updated_at":"2024-03-27T17:55:42.000Z","dependencies_parsed_at":"2023-11-14T16:42:06.662Z","dependency_job_id":null,"html_url":"https://github.com/kelecorix/accumulate-haskell-client","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"8abf447371e5a5acd15f15c08affe6aa491605c2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kelecorix/accumulate-haskell-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelecorix%2Faccumulate-haskell-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelecorix%2Faccumulate-haskell-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelecorix%2Faccumulate-haskell-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelecorix%2Faccumulate-haskell-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kelecorix","download_url":"https://codeload.github.com/kelecorix/accumulate-haskell-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kelecorix%2Faccumulate-haskell-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280272338,"owners_count":26302260,"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","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["accumulate","haskell","json-rpc","rpc","rpc-api"],"created_at":"2025-10-21T13:49:59.936Z","updated_at":"2025-10-21T13:50:01.888Z","avatar_url":"https://github.com/kelecorix.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Haskell client for Accumulate\n\n![build](https://github.com/kelecorix/accumulate-haskell-client/workflows/build/badge.svg)\n![Hackage](https://img.shields.io/hackage/v/api-rpc-accumulate)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/kelecorix/api-rpc-accumulate/blob/master/LICENSE)\n\nA JSON-RPC Haskell client for the Factom protocol. Each response has special ADT(algebraic data type) that automatically converted from JSON response. Using [Remote Monad](https://ku-fpg.github.io/files/Gill-15-RemoteMonad.pdf) pattern multiple request can be batched and executed simulatenously, following more robust approach and reducing usage of expensive RPC calls.\n\nChoosing a batching strategy. There are two strategies:\n- `Weak`   - a single command or a single procedure, or\n- `Strong` - a sequence of commands, optionally terminated by a procedure\n\n# Installation\n\nYou can install package from [Hackage](https://hackage.haskell.org/package/api-rpc-accumulate) and build with Cabal, but we recommend to use [Stack](https://haskellstack.org) tool. Add to you dependencies in stack.yaml and cabal file dependency `- api-rpc-accumulate`.\n\nTo run and test from repository\n\n1. Build with stack\n```bash\n$ stack build\n```\n2. Load REPL with stack for evaluation\n```\n$ stack repl\n```\n\n3. execute required methods\n\n\n```haskell\nlet s = weakSession (traceSendAPI \"\" $ clientSendAPI endpoint)\nh \u003c-\n  send s $ do\n\th \u003c- reqGetData \"acc://9c549cbba290efeb8029184caac3d36c5bfcacb361a29282/ACME\"\n\treturn h\nprint h\n```\n\n## Usage\n\nSee API documentation first, to get familliar with API methods https://docs.accumulatenetwork.io/ and https://documenter.getpostman.com/view/1835497/UzBnrSFB\n\nSee how it's used in real application here https://github.com/sigrlami/siare/tree/master/siare-accumulate - Siare is an Oracle dApps that brings various types of data on-chain. There you can see examples of getting infromation from chain, creating transactions and writing to data accounts.\n\n## Contributions\n\nThe library developed by Kelecorix, Inc. If you're an active user or find it useful we strongly encourage you to support our efforts and ensure long maintenance by contributing a small donation to one of the following cryptocurrency addresses:\n\n- ACME: acc://dodecahedron.acme/tipjar\n- ETH: 0x885cf43dbe00739202d817d87133189dc5d2441d\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelecorix%2Faccumulate-haskell-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkelecorix%2Faccumulate-haskell-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkelecorix%2Faccumulate-haskell-client/lists"}