{"id":18245079,"url":"https://github.com/edgeapp/edge-currency-dash","last_synced_at":"2025-04-08T18:50:17.553Z","repository":{"id":76839900,"uuid":"99663060","full_name":"EdgeApp/edge-currency-dash","owner":"EdgeApp","description":null,"archived":false,"fork":false,"pushed_at":"2020-08-11T22:59:23.000Z","size":170,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-14T14:55:08.118Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/EdgeApp.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":"2017-08-08T07:22:28.000Z","updated_at":"2021-05-28T02:08:22.000Z","dependencies_parsed_at":"2024-03-24T06:15:35.140Z","dependency_job_id":null,"html_url":"https://github.com/EdgeApp/edge-currency-dash","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-currency-dash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-currency-dash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-currency-dash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EdgeApp%2Fedge-currency-dash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EdgeApp","download_url":"https://codeload.github.com/EdgeApp/edge-currency-dash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247909138,"owners_count":21016475,"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:47.409Z","updated_at":"2025-04-08T18:50:17.507Z","avatar_url":"https://github.com/EdgeApp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Airbitz Dash Currency Plugin\n\nImplement Dash transactions using the Airbitz currency plugin API\nThe API can be found [here](https://developer.airbitz.co/javascript/#currency-plugin-api)\n\n## Installing\n\nSince this package is not on NPM, you will have to do things manually:\n\n1. Clone this project into a directory next to your project.\n2. Add to your project's `package.json`:\n\n    ```\n    cd ../your-project\n    npm install git+ssh://git@github.com/Airbitz/airbitz-currency-dash.git\n    ```\n    \n## Usage\n\nInitialize the plugin:\n\n```\nimport { DashPlugin } from `airbitz-currency-dash`\n\nDashPlugin.makePlugin({\n  io: yourPlatformSpecifcIo\n}).then(dashPlugin =\u003e {\n\n})\n```\n\nNow you can pass `dashPlugin` to `airbitz-core-js`.\n\n    \n## Developing the library\n\nThe following instructions are for those looking to develop this library or use it as a template to build a new currency-plugin for Airbitz.\n\n1. Install cli-tool, dependencies, \u0026 build the library:\n\n    ```\n    git clone git@github.com:Airbitz/airbitz-cli.git\n    git clone git@github.com:Airbitz/airbitz-cli-react-native.git\n    git clone git@github.com:Airbitz/airbitz-currency-dash.git\n    cd airbitz-currency-dash\n    npm install\n    cd ../airbitz-cli\n    npm install\n    cd ../airbitz-cli-react-native\n    npm install\n    npm run updot\n    ```\n\n`updot` is a tool to copy needed files from peer dependencies into the node_modules of the project it is run in. This replaces the need for `npm link` which is broken in React Native. In this setup, it will copy `airbitz-cli` and `airbitz-currency-dash` into `airbitz-cli-react-native/node_modules`. During development, run `npm run updot` after making any changes to `airbitz-currency-dash` or `airbitz-cli`\n\nThe CLI mobile app uses React Native and iOS/Android. As of 2017-08-08, you will need to use iOS/Xcode to run the CLI tool. Install React Native first:\n\n    npm install -g create-react-native-app\n\nLaunch Xcode and open the project `airbitz-cli-react-native/ios/airbitz_cli.xcodeproj`.\n\nRun the app in the simulator by clicking the Play button on xcode. You'll then have a mobile app launch in the simulator with a command line prompt to execute CLI commands. CLI command documentation can be seen by running `airbitz-cli help` from within the `airbitz-cli` project directory.\nExample CLI commands:\n\n| Command | Description |\n| --- | --- |\n| `tx-info dash` | Get the `currencyInfo` object from the plugin |\n| `tx-make-engine dash dash` | Call makeEngine() method of the dash plugin and createMasterKeys() with a `dash` walletType |\n| `tx-start-engine` | Call startEngine() method of the plugin called in `tx-make-engine` |\n| `tx-balance DASH` | Call getBalance('DASH') |\n| `tx-get-address` | Call getAddress() |\n| `tx-spend Xo4PooC7oH8Wcpt3oiNnNR6qAHHfUetwGf 150000000 DASH` | Spend 1.5 dash to given address |\n| `tx-transactions` | Call getTransactions() |\n\nThese CLI commands can be used to test the actual routines exported by the currency-plugin\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeapp%2Fedge-currency-dash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgeapp%2Fedge-currency-dash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgeapp%2Fedge-currency-dash/lists"}