{"id":18245008,"url":"https://github.com/edgeapp/edge-currency-plugins","last_synced_at":"2025-04-30T04:40:10.485Z","repository":{"id":37052252,"uuid":"271169314","full_name":"EdgeApp/edge-currency-plugins","owner":"EdgeApp","description":"Edge currency plugin for UTXO based currencies, such as Bitcoin. ","archived":false,"fork":false,"pushed_at":"2025-04-15T23:01:38.000Z","size":2727,"stargazers_count":14,"open_issues_count":6,"forks_count":16,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-30T04:39:56.446Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EdgeApp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-06-10T03:24:31.000Z","updated_at":"2025-04-16T00:37:21.000Z","dependencies_parsed_at":"2023-02-18T14:01:01.901Z","dependency_job_id":"7bb994ba-e5f7-4214-b5f5-95b7ab0245fa","html_url":"https://github.com/EdgeApp/edge-currency-plugins","commit_stats":{"total_commits":906,"total_committers":11,"mean_commits":82.36363636363636,"dds":0.4392935982339956,"last_synced_commit":"a14a7a6f70cc1605d1c6804d1513d2d2c9fd6785"},"previous_names":[],"tags_count":104,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-currency-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-currency-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-currency-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-currency-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EdgeApp","download_url":"https://codeload.github.com/EdgeApp/edge-currency-plugins/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251644823,"owners_count":21620629,"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","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-05T09:18:35.547Z","updated_at":"2025-04-30T04:40:10.466Z","avatar_url":"https://github.com/EdgeApp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Edge Currency Plugin for UTXO-Based currencies\n\n\u003e Plugins for [edge-core-js](https://github.com/EdgeApp/edge-core-js), to support various cryptocurrencies such as bitcoin, bitcoin cash, and litecoin,\n\n## Installing\n\nFirst, add this library to your project:\n\n```sh\nnpm i -s edge-currency-plugins\n```\n\n### Node.js\n\nFor Node.js, you should call `addEdgeCorePlugins` to register these plugins with edge-core-js:\n\n```js\nconst { addEdgeCorePlugins, lockEdgeCorePlugins } = require(\"edge-core-js\");\nconst plugins = require(\"edge-currency-plugins\");\n\naddEdgeCorePlugins(plugins);\n\n// Once you are done adding plugins, call this:\nlockEdgeCorePlugins();\n```\n\nYou can also add plugins individually if you want to be more picky:\n\n```js\naddEdgeCorePlugins({\n  bitcoin: plugins.bitcoin,\n});\n```\n\n### Browser\n\nThe bundle located in `dist/edge-currency-plugins.js` will automatically register itself with edge-core-js. Just serve the entire `dist` directory along with your app, and then load the script:\n\n```html\n\u003cscript src='https://example.com/app/dist/edge-currency-plugins.js'\u003e\n```\n\nIf you want to debug this project, run `yarn start` to start a Webpack server,\nand then adjust your script URL to http://localhost:8084/edge-currency-plugins.js.\n\n### React Native\n\nThe `edge-currency-plugins` package will automatically install itself using React Native autolinking.\nTo integrate the plugins with edge-core-js, add its URI to the context component:\n\n```jsx\nimport { pluginUri, makePluginIo } from \"edge-currency-plugins\";\n\u003cMakeEdgeContext\n  nativeIo={{\n    \"edge-currency-plugins\": makePluginIo(),\n  }}\n  pluginUris={[pluginUri]}\n  // Plus other props as required...\n/\u003e;\n```\n\nTo debug this project, run `yarn start` to start a Webpack server, and then use `debugUri` instead of `pluginUri`.\n\n## How to Contribute\n\nContributions are welcome and appreciated. Please reference these guides for\nspecific contribution information:\n\n- [Currency Contribution Guide](./docs/currency-integration.md)\n\nAdditionally, any issues or bugs found can be reported by opening a issue on\nGitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeapp%2Fedge-currency-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgeapp%2Fedge-currency-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeapp%2Fedge-currency-plugins/lists"}