{"id":28310382,"url":"https://github.com/eftybv/efty-pay-nodejs-sdk","last_synced_at":"2026-04-28T12:33:10.436Z","repository":{"id":292857091,"uuid":"977928990","full_name":"eftybv/efty-pay-nodejs-sdk","owner":"eftybv","description":"Efty Pay Node.js SDK for Efty Pay; Efty's online transaction service designed to ensure secure and transparent buying and selling of domain names. It acts as a trusted intermediary to safeguard both the buyer and seller's interests during the transaction process.","archived":false,"fork":false,"pushed_at":"2025-05-13T17:01:41.000Z","size":157,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T09:37:51.508Z","etag":null,"topics":["domain-investment","efty","eftypay","grpc","nodejs"],"latest_commit_sha":null,"homepage":"https://efty.com/partnership-program/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eftybv.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-05T07:44:43.000Z","updated_at":"2025-05-13T16:40:43.000Z","dependencies_parsed_at":"2025-05-12T14:51:40.419Z","dependency_job_id":"20782917-71b6-4783-8761-bcdeb53c5ede","html_url":"https://github.com/eftybv/efty-pay-nodejs-sdk","commit_stats":null,"previous_names":["eftybv/efty-pay-nodejs-sdk"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/eftybv/efty-pay-nodejs-sdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eftybv%2Fefty-pay-nodejs-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eftybv%2Fefty-pay-nodejs-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eftybv%2Fefty-pay-nodejs-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eftybv%2Fefty-pay-nodejs-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eftybv","download_url":"https://codeload.github.com/eftybv/efty-pay-nodejs-sdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eftybv%2Fefty-pay-nodejs-sdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32381488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["domain-investment","efty","eftypay","grpc","nodejs"],"created_at":"2025-05-24T11:11:05.804Z","updated_at":"2026-04-28T12:33:10.430Z","avatar_url":"https://github.com/eftybv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# efty-pay-nodejs-sdk\nThe Efty Pay Node.js SDK for Efty Pay; Efty's online transaction service designed to ensure secure and transparent buying and selling of domain names. It acts as a trusted intermediary to safeguard both the buyer and seller's interests during the transaction process.\n\nThe Efty Pay production URLs:\n\n- SDK use (over gRPC): *api.eftypay.com:443*\n- API use (over REST): *https://api.eftypay.com*\n\n## Table of Contents\n\n- [Efty Pay Node.js SDK](#efty-pay-nodejs-sdk)\n- [Requirements](#requirements)\n- [Getting started](#getting-started)\n  - [Install the SDK](#install-the-sdk)\n  - [Authentication](#authentication)\n  - [Quickstarts](#quickstarts)\n  - [Troubleshooting](#troubleshooting-support)\n- [API resource documentation](#api-resource-documentation)\n- [License](#license)\n\n## Requirements\n- Node.js 14 or higher\n- npm or yarn\n- Efty Pay API access credentials; please fill out the [access request form](https://forms.gle/fk85K45eThgepi1Q8) to obtain early access.\n\n## Getting started\n\n### Install the SDK\n\nYou can include the SDK from our public GitHub repository by adding it to your `package.json`.\n\nRun the following command to install the SDK:\n```bash\nnpm install git+https://github.com/eftybv/efty-pay-nodejs-sdk.git#v1.0.0\n```\nOr, if you are using yarn:\n```bash\nyarn add git+https://github.com/eftybv/efty-pay-nodejs-sdk.git#v1.0.0\n```\n\n### Authentication\nThe methods in the SDK require you to pass an auth token that contains a JWT. Below is an example of how to generate the token and pass it into the request.\n\nToken generation:\n```js\nconst jwt = require('jsonwebtoken');\n\nfunction generateToken() {\n    const apiKey = \"YOUR_API_KEY\";\n    const apiSecret = \"YOUR_API_SECRET\";\n    const integratorId = \"YOUR_INTEGRATOR_ID\";\n\n    const payload = {\n        iat: Math.floor(Date.now() / 1000),\n        sub: apiKey,\n        exp: Math.floor(Date.now() / 1000) + 600,\n        type: 2,\n        iid: integratorId\n    };\n\n    return jwt.sign(payload, apiSecret, { algorithm: 'HS256' });\n}\n```\n\nInjecting the token in the gRPC client:\n```js\n// examples/createTransaction.js\nconst grpc = require('@grpc/grpc-js');\nconst { generateToken } = require('./helpers');\nconst { Id, TransactionsClient } = require('efty-pay-nodejs-sdk');\nrequire('dotenv').config();\n\nconsole.log('Getting transaction...');\n\n// Create gRPC client\nconst client = new TransactionsClient(\n        process.env.EFTY_PAY_API_URL,\n        grpc.credentials.createSsl()\n);\n\n// Prepare metadata with JWT token\nconst metadata = new grpc.Metadata();\nmetadata.add('Authorization', generateToken());\n\nconsole.log(metadata);\n\n// Create an Id object\nconst transactionId = new Id();\ntransactionId.setId('1IOefXThiDx5OV6YGAwrs8');\n\n// Call getTransaction\nclient.getTransactionById(transactionId, metadata, (err, response) =\u003e {\n  if (err) {\n    console.error('Error fetching transaction:', err);\n  } else {\n    console.log('Transaction details:', response.toObject());\n  }\n});\n```\n\n## Quickstarts\nYou can now use the SDK in your project. For our quickstart and examples, please visit our [Efty Pay Node.js Quickstart repository](https://github.com/eftybv/efty-pay-nodejs-quickstart).\n\n## Troubleshooting \u0026 Support\n- If you encounter any issues, ensure that the package name is correctly specified.\n- You can also specify a version constraint (e.g., `^1.0` or `main`) if you need a specific version of the SDK. It's strongly recommended to always use the latest version.\n- If you run into any other issues, contact us at [api@efty.com](api@efty.com).\n\n## API resource documentation\nThe Efty Pay API resource documentation can be found at [https://docs.eftypay.com](https://docs.eftypay.com)\n\n## License\nThis project is licensed under the MIT License. See the LICENSE file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feftybv%2Fefty-pay-nodejs-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feftybv%2Fefty-pay-nodejs-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feftybv%2Fefty-pay-nodejs-sdk/lists"}