{"id":18245014,"url":"https://github.com/edgeapp/edge-currency-bitcoin","last_synced_at":"2025-04-04T13:31:59.369Z","repository":{"id":32795983,"uuid":"93885673","full_name":"EdgeApp/edge-currency-bitcoin","owner":"EdgeApp","description":"Implements Bitcoin support following the Edge currency plugin API","archived":false,"fork":false,"pushed_at":"2023-10-10T22:28:10.000Z","size":15608,"stargazers_count":17,"open_issues_count":22,"forks_count":43,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-20T14:09:42.503Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://edge.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","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}},"created_at":"2017-06-09T18:19:41.000Z","updated_at":"2022-09-04T12:09:57.000Z","dependencies_parsed_at":"2023-10-11T00:59:16.277Z","dependency_job_id":null,"html_url":"https://github.com/EdgeApp/edge-currency-bitcoin","commit_stats":null,"previous_names":["airbitz/edge-currency-bitcoin"],"tags_count":260,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-currency-bitcoin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-currency-bitcoin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-currency-bitcoin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-currency-bitcoin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EdgeApp","download_url":"https://codeload.github.com/EdgeApp/edge-currency-bitcoin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247185116,"owners_count":20897905,"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.868Z","updated_at":"2025-04-04T13:31:59.059Z","avatar_url":"https://github.com/EdgeApp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Edge Bitcoin Currency Plugin\n[![Build Status][travis-image]][travis-url] [![NPM version][npm-image]][npm-url] [![Dependency Status][daviddm-image]][daviddm-url]\n\n[![js-standard-style](https://cdn.rawgit.com/feross/standard/master/badge.svg)](https://github.com/feross/standard)\n\nImplements Bitcoin send/receive functionality per the spec for currency plugins for [edge-core-js](https://github.com/Airbitz/edge-core-js)\n\n## Installing\n\n    npm i edge-currency-bitcoin -s\n\n```js\nimport { bitcoinCurrencyPluginFactory, bitcoincashCurrencyPluginFactory } from `edge-currency-bitcoin`\n```\n\nNow you can pass `bitcoinCurrencyPluginFactory` to `edge-core-js`.\n\n```js\nconst context = makeEdgeContext({\n  apiKey: YOUR_API_KEY,\n  plugins: [ bitcoinCurrencyPluginFactory, bitcoincashCurrencyPluginFactory ]\n})\n```\n\nThis plugin exposes the following `otherSettings` which can be set using abcAccount.updateSettings()\n\n```js\n{\n  enableOverrideServers: boolean,\n  electrumServers: Array\u003cArray[String, String]\u003e,\n  earnComFeeInfoServer: String\n  mempoolSpaceFeeInfoServer: String\n}\n```\n\n`enableOverrideServers` = `true` will force the plugin to ONLY use the electrum servers specified in `electrumServers`.\n`electrumServers` should be in the format [`[DNS name]`, `[port]`]. ie [`h.1209k.com`, `50001`].\n`earnComFeeInfoServer` should be the fee server, should have the same API as `https://bitcoinfees.21.co/api/v1/fees/list`.\n`mempoolSpaceFeeInfoServer` should be the fee server, should have the same API as `https://mempool.space/api/v1/fees/recommended`.\n\n[npm-image]: https://badge.fury.io/js/edge-currency-bitcoin.svg\n[npm-url]: https://npmjs.org/package/edge-currency-bitcoin\n[travis-image]: https://travis-ci.org/Airbitz/edge-currency-bitcoin.svg?branch=master\n[travis-url]: https://travis-ci.org/Airbitz/edge-currency-bitcoin\n[daviddm-image]: https://david-dm.org/Airbitz/edge-currency-bitcoin.svg?theme=shields.io\n[daviddm-url]: https://david-dm.org/Airbitz/edge-currency-bitcoin\n\n## Contributing\n\nYou'll need to install Yarn 1.3.2 globally on your machine\n\nTo run a local version of this repo inside the full Edge Wallet app, clone this repo at the same level as `edge-react-gui`\n\n    git clone git@github.com:Airbitz/edge-currency-bitcoin.git`\n    cd edge-currency-bitcoin\n    yarn\n\nRun `npm run test` to run the unit tests.\n\nTo use the local cloned version of this repo, `cd edge-react-gui` and run\n\n    npm run updot edge-currency-bitcoin\n    npm run postinstall\n\nThis will copy the necessary files from `edge-currency-bitcoin` into the `edge-react-gui/node_modules/edge-currency-bitcoin` replacing the npm installed version. This needs to be done after any modifications to `edge-currency-bitcoin`\n\nAll sources are in the [JavaScript Standard Style](http://standardjs.com/) + [Prettier](https://prettier.io/). We check files prior to each commit, so if you have formatting issues, you can run `npm run format` to fix them automatically.\n\nIf you use Visual Studio Code, consider installing the [prettier-vscode](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) extension. You'll want to enable the `prettier.eslintIntegration` configuration option for this to work seamlessly with Standard.\n\nIf you use Atom, you can use [prettier-atom](https://atom.io/packages/prettier-atom). You'll want to check the \"ESLint Integration\" setting for this to work seamlessly with Standard.\n\n## License\nBSD 3\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeapp%2Fedge-currency-bitcoin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgeapp%2Fedge-currency-bitcoin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeapp%2Fedge-currency-bitcoin/lists"}