{"id":43171887,"url":"https://github.com/fuseio/earn-sdk","last_synced_at":"2026-02-01T02:35:32.858Z","repository":{"id":41790543,"uuid":"384426080","full_name":"fuseio/earn-sdk","owner":"fuseio","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-19T12:16:50.000Z","size":233,"stargazers_count":1,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-26T21:05:10.756Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fuseio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-09T12:11:00.000Z","updated_at":"2024-08-01T13:19:21.000Z","dependencies_parsed_at":"2024-06-12T09:57:07.390Z","dependency_job_id":"14ad6675-b9b6-4d2b-9623-b91d0e384564","html_url":"https://github.com/fuseio/earn-sdk","commit_stats":{"total_commits":52,"total_committers":3,"mean_commits":"17.333333333333332","dds":0.09615384615384615,"last_synced_commit":"9b6b066b6a941f1571713f70bf261c2648ee0d54"},"previous_names":["fuseio/rewards-sdk"],"tags_count":35,"template":false,"template_full_name":null,"purl":"pkg:github/fuseio/earn-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuseio%2Fearn-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuseio%2Fearn-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuseio%2Fearn-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuseio%2Fearn-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fuseio","download_url":"https://codeload.github.com/fuseio/earn-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuseio%2Fearn-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28965430,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T02:14:24.993Z","status":"ssl_error","status_checked_at":"2026-02-01T02:13:55.706Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-02-01T02:35:32.296Z","updated_at":"2026-02-01T02:35:32.846Z","avatar_url":"https://github.com/fuseio.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Earn SDK\nEarn SDK is a client and server SDK for building applications that can interact with various\nearning functionality on the Fuse network. \n\n## Table of Contents\n- [Getting Started](#getting-started)\n    - [Requirements](#requirements)\n    - [Installation](#installation)\n    - [Classes](#Classes)\n- [Development](#development)\n    - [Dependencies](#dependencies)\n    - [Test](#test)\n\n## Getting Started\nThe steps needed to get started with the Earn SDK with a few examples are provided below.\n\n### Requirements\n- Node.js 12+\n\n### Installation\nEarn is available as a package on NPM and it can be installed using either npm or yarn package managers.\n```bash\nnpm install -S @fuseio/earn-sdk\n```\nor\n```bash\nyarn add @fuseio/earn-sdk\n```\n\n### Classes\nThe Earn sdk exposes [SingleRewardProgram](https://github.com/fuseio/earn-sdk/blob/master/docs/classes/SingleRewardProgram.md) and [MultiRewardProgram](https://github.com/fuseio/earn-sdk/blob/master/docs/classes/MultiRewardProgram.md) classes which can be used to interact with the single and multi\nreward programs.\n\n## Development\nThe steps needed to get started started developing the SDK are provided below\n\n### Dependencies\nTo get set up run the command below to install SDK dependencies:\n```bash\nnpm install\n```\nor\n```bash\nyarn\n```\n\n### Lint\nTo run the linter run:\n```bash\nnpm run lint\n```\nor\n```bash\nyarn lint\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuseio%2Fearn-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuseio%2Fearn-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuseio%2Fearn-sdk/lists"}