{"id":19365687,"url":"https://github.com/ryanleecode/raiden-api-sdk","last_synced_at":"2026-05-07T16:41:11.969Z","repository":{"id":44083518,"uuid":"199772019","full_name":"ryanleecode/raiden-api-sdk","owner":"ryanleecode","description":"Server/Client side SDK for interacting with the Raiden API","archived":false,"fork":false,"pushed_at":"2023-01-04T07:16:11.000Z","size":1138,"stargazers_count":1,"open_issues_count":16,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-02T03:46:33.592Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://raiden-api.drdgvhbh.site/","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/ryanleecode.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}},"created_at":"2019-07-31T03:35:05.000Z","updated_at":"2019-08-25T16:10:00.000Z","dependencies_parsed_at":"2023-02-02T03:01:47.524Z","dependency_job_id":null,"html_url":"https://github.com/ryanleecode/raiden-api-sdk","commit_stats":null,"previous_names":["drdgvhbh/raiden-api-sdk"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanleecode/raiden-api-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanleecode%2Fraiden-api-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanleecode%2Fraiden-api-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanleecode%2Fraiden-api-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanleecode%2Fraiden-api-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanleecode","download_url":"https://codeload.github.com/ryanleecode/raiden-api-sdk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanleecode%2Fraiden-api-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32746528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":"2024-11-10T07:41:54.207Z","updated_at":"2026-05-07T16:41:11.929Z","avatar_url":"https://github.com/ryanleecode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raiden API SDK\n\n[![npm version](https://badge.fury.io/js/raiden-api-sdk.svg)](https://badge.fury.io/js/raiden-api-sdk)\n[![Build Status](https://travis-ci.com/drdgvhbh/raiden-api-sdk.svg?branch=master)](https://travis-ci.com/drdgvhbh/raiden-api-sdk)\n[![Downloads](https://img.shields.io/npm/dt/raiden-api-sdk)](https://img.shields.io/npm/dt/raiden-api-sdk)\n\nThis is an typescript SDK for interacting with the [Raiden API](https://raiden-network.readthedocs.io/en/latest/rest_api.html).\n\n[Raiden](https://raiden.network) is a second-layer solution for doing payments on [Ethereum](https://www.ethereum.org/).\n\nAlso checkout the raw SDK generated using openapi [here](https://github.com/drdgvhbh/raiden-openapi-sdk).\n\nWinning submission for the [Grow Ethereum — Build A Raiden Library In Your Favorite Programming Language challenge](https://gitcoin.co/issue/raiden-network/hackathons/4/3284).\n\n## Installation\n\n`npm install raiden-api-sdk`\n\n## Documentation\n\nhttps://raiden-api.drdgvhbh.site/\n\n## Running the Tests\n\n`npm run test`\n\n## Usage\n\n```typescript\nimport Raiden, { Configuration, NewToken } from 'raiden-api-sdk';\n\n// Defaults to http://127.0.0.1:5001/api/v1\nconst raiden = Raiden.create();\n\nconst configuration = new Configuration({\n  basePath: 'http://127.0.0.1:5002/api/v1',\n});\nconst raiden2 = Raiden.create(configuration);\n\nconst tokenAddress = '0x022E292b44B5a146F2e8ee36Ff44D3dd863C915c';\n\n(async () =\u003e {\n  const partnerAddress = await raiden2.node.ourAddress().toPromise();\n\n  await raiden.tokens.register(tokenAddress).toPromise();\n\n  const channel = await raiden.channels\n    .open({\n      tokenAddress,\n      partnerAddress,\n      totalDeposit: 6 * Math.pow(10, 18),\n      settleTimeout: 500,\n    })\n    .toPromise();\n\n  const paymentReceipt = await raiden.payments\n    .initiate(\n      NewToken(channel.tokenAddress, 3 * Math.pow(10, 18)),\n      channel.partnerAddress,\n    )\n    .toPromise();\n\n  console.log(paymentReceipt.identifier);\n})();\n```\n\n## Contributing\n\nSubmit a PR, documenting the change and what version of the Raiden client you are using.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanleecode%2Fraiden-api-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanleecode%2Fraiden-api-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanleecode%2Fraiden-api-sdk/lists"}