{"id":16272541,"url":"https://github.com/pat-s/ppcryptoparser","last_synced_at":"2025-10-30T08:08:47.262Z","repository":{"id":39570979,"uuid":"412988368","full_name":"pat-s/ppcryptoparser","owner":"pat-s","description":"Crypto currency staking rewards parser for Portfolio Performance","archived":false,"fork":false,"pushed_at":"2021-12-07T08:58:46.000Z","size":641,"stargazers_count":2,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-08T15:51:28.017Z","etag":null,"topics":["cardano","cryptocurrency","kusama","parser","polkadot","portfolio-performance"],"latest_commit_sha":null,"homepage":"https://pat-s.github.io/ppcryptoparser","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pat-s.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-10-03T05:48:23.000Z","updated_at":"2021-12-31T10:14:49.000Z","dependencies_parsed_at":"2022-09-20T05:04:29.001Z","dependency_job_id":null,"html_url":"https://github.com/pat-s/ppcryptoparser","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/pat-s/ppcryptoparser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat-s%2Fppcryptoparser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat-s%2Fppcryptoparser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat-s%2Fppcryptoparser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat-s%2Fppcryptoparser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pat-s","download_url":"https://codeload.github.com/pat-s/ppcryptoparser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pat-s%2Fppcryptoparser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266631458,"owners_count":23959419,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["cardano","cryptocurrency","kusama","parser","polkadot","portfolio-performance"],"created_at":"2024-10-10T18:18:12.204Z","updated_at":"2025-10-30T08:08:42.213Z","avatar_url":"https://github.com/pat-s.png","language":"R","funding_links":["https://www.buymeacoffee.com/patrickschratz"],"categories":[],"sub_categories":[],"readme":"\n# ppcryptoparser\n\n\u003c!-- badges: start --\u003e\n[![CRAN status](https://www.r-pkg.org/badges/version/ppcryptoparser)](https://CRAN.R-project.org/package=ppcryptoparser)\n[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)\n[![R-CMD-check](https://github.com/pat-s/ppcryptoparser/workflows/R-CMD-check/badge.svg)](https://github.com/pat-s/ppcryptoparser/actions)\n\u003ca href=\"https://www.buymeacoffee.com/patrickschratz\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/default-orange.png\" alt=\"Buy Me A Coffee\" height=\"20\" width=\"85\"\u003e\u003c/a\u003e\n\u003c!-- badges: end --\u003e\n\nThe goal of {ppcryptoparser} is to simplify the import of staking reward from various altcoins into [Portfolio Performance](https://www.portfolio-performance.info/).\n\n## Installation\n\nYou need a working installation of [R](https://www.r-project.org/).\n\nWindows: `scoop install r` or [download from CRAN](https://cran.r-project.org/).\n\nmacOS: `brew install --cask r` or [download from CRAN](https://cran.r-project.org/).\n\nUbuntu: `apt install r-base`\n\nYou can then install `ppcryptoparser` from GitHub with:\n\n``` r\ninstall.packages(\"remotes\")\nremotes::install_github(\"pat-s/ppcryptoparser\")\n```\n\n## Example\n\nSpin up an R session by calling \"R\" in a terminal and then run\n\n```r\nlibrary(\"ppcryptoparser\")\n\nparse_polkadot(\u003caddress\u003e, \u003ccsv output file\u003e)\n```\n\nPlease also consult the help files for each function, either on the command line via `?\u003cfunction name\u003e` or by looking at the [pkgdown](https://pat-s.github.io/ppcryptoparser) page of this package.\n\n## Supported Coins\n\n- Cardano (ADA)\n- Polkadot (DOT)\n- Kusama (KSM)\n- Solana (SOL) - [API Key needed!](#solana)\n\n## Planned Support\n\n- Terra (LUNA)\n- Polygon (MATIC)\n\n## Language \u0026 Currency\n\nThe default language is set to (US) English (`\"EN\"`).\nThe language setting should match the language used in Portfolio Performance.\n\n## Viewing statistics in Portfolio Performance\n\nStaking statistics for inbound deliveries can be viewed under \"Payments -\u003e Savings\" (German: \"Zahlungen -\u003e Ersparnisse\").\nTo only see the staking rewards in this menu, **you need to book the staking rewards to a dedicated depot which only contains the staking rewards**.\nThen you can select this depot via the filter option.\nOtherwise, when selecting your complete portfolio, also buy actions will be included in this overview and blur the statistics.\n\n## Encoding \u0026 Windows\n\nI've seen that on Windows machines, the encoding might be set to something else than \"UTF-8\", causing issues in the processing.\n\nAlso Windows seems to set the decimal separator to `.` instead of `,`, which causes a wrong import of the data.\nIn this case, edit the resulting `.csv` file and change the decimal separators from `,` to `.` and check whether the import is working as intended.\nI might add an argument to the functions to account for this within the R package.\n\n## CSV Import\n\nWhen importing, ensure to choose the type \"Depotumsätze\" / \"Portfolio Transactions\":\n\n![Screenshot showing how to import CSV](man/figures/readme-1.png)\n\n## Coin-specific Infos\n\n### Kusama\n\nKusama pays out rewards every six hours.\n`parse_kusama()` comes with an argument `\"by_day\" which aggregates rewards by day.\n\n### Solana\n\nSolana data is queried from https://solanabeach.io which requires an API key.\nInstructions how to ask for an API key can be found [on their GitHub README](https://github.com/solana-beach/api).\n\nSolana staking account cannot be topped up, hence often more than one staking account exists.\n`parse_solana()` is able to account for this by merging the rewards from multiple addresses.\nTo do so, one needs to pass the addresses as a vector like this \n\n```r\nparse_solana(c(\"\u003caddress1\u003e\", \"\u003caddress2\u003e\"), by_day = TRUE)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpat-s%2Fppcryptoparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpat-s%2Fppcryptoparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpat-s%2Fppcryptoparser/lists"}