{"id":20455150,"url":"https://github.com/ossystem/blockstarter-ripple","last_synced_at":"2025-03-05T10:19:44.674Z","repository":{"id":114175076,"uuid":"136447011","full_name":"ossystem/blockstarter-ripple","owner":"ossystem","description":"This library helps to integrate blockstarter with Ripple","archived":false,"fork":false,"pushed_at":"2018-06-07T08:33:01.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-15T23:25:40.273Z","etag":null,"topics":["blockchain","blockstarter","nodejs","ripple"],"latest_commit_sha":null,"homepage":"","language":"LiveScript","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/ossystem.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":"2018-06-07T08:32:21.000Z","updated_at":"2018-06-07T08:35:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"380baecc-93c7-4667-83b9-ec543351f15f","html_url":"https://github.com/ossystem/blockstarter-ripple","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/ossystem%2Fblockstarter-ripple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossystem%2Fblockstarter-ripple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossystem%2Fblockstarter-ripple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ossystem%2Fblockstarter-ripple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ossystem","download_url":"https://codeload.github.com/ossystem/blockstarter-ripple/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242005816,"owners_count":20056434,"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":["blockchain","blockstarter","nodejs","ripple"],"created_at":"2024-11-15T11:18:03.989Z","updated_at":"2025-03-05T10:19:44.660Z","avatar_url":"https://github.com/ossystem.png","language":"LiveScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blockstarter Ripple\nThis is library helps to integrate blockstarter with Ripple\n\n## Install\n\n```\nnpm i blockstarter-ripple\n```\n\n## Available functions\n\n* generateUniqueRippleAddress\n* getTransactions\n* createTransactionsSendAllFundTo\n* getCurrentRippleToUSDRate\n* pushTransaction\n\n\n## Usage\n\n### Ripple Address\n\nCreating a unique Ripple Address\n\n```Javascript\nvar br = require('blockstarter-ripple');\nvar newAddress = br.generateUniqueRippleAddress('your seed');\nconsole.log(newAddress);\n```\n### List transactions\n\nA list of all incoming transactions for the address\n\n```Javascript\nvar br = require('blockstarter-ripple');\nvar newAddress = br.getTransactions('ripple address', function(err, transactions){\n  if (err != null) {\n    throw err;\n  }\n  console.log(transactions);\n});\n```\n\n### Сreate a transaction\nСreate a transaction to transfer funds from one address to another\n\n```Javascript\nvar br = require('blockstarter-ripple');\nvar newAddress = br.createTransactionsSendAllFundTo('your secret', 'address from', 'address to', 'amount', function(err, res){\n  if (err != null) {\n    throw err;\n  }\n  console.log(res);\n});\n```\n\n### Exchange rate\nThe course is considered for the 3 exchanges EXMO, POLONIEX, KRAKEN\n\n```Javascript\nvar br = require('blockstarter-ripple');\nvar newAddress = br.getCurrentRippleToUSDRate(function(err, rates){\n  if (err != null) {\n    throw err;\n  }\n  console.log(rates);\n});\n```\nExample retrun value\n```\n{ exmo:\n   { buy_price: '0.56500283',\n     sell_price: '0.56500565',\n     last_trade: '0.565',\n     high: '0.61411',\n     low: '0.56491737',\n     avg: '0.59404117',\n     vol: '1318654.76139709',\n     vol_curr: '745039.94018936',\n     updated: 1522309401 },\n  poloniex:\n   { id: 127,\n     last: '0.54000001',\n     lowestAsk: '0.54314082',\n     highestBid: '0.54000003',\n     percentChange: '-0.06347552',\n     baseVolume: '1353601.41228686',\n     quoteVolume: '2394419.26895776',\n     isFrozen: '0',\n     high24hr: '0.58799997',\n     low24hr: '0.54000010' },\n  kraken:\n   { a: [ '0.54118000', '33', '33.000' ],\n     b: [ '0.54032000', '2664', '2664.000' ],\n     c: [ '0.54120000', '15.19519520' ],\n     v: [ '3783555.63449743', '6447316.87099599' ],\n     p: [ '0.55409794', '0.56209874' ],\n     t: [ 1657, 3473 ],\n     l: [ '0.53920000', '0.53920000' ],\n     h: [ '0.57400000', '0.58788000' ],\n     o: '0.57239000' } }\n```\n\n### Send transaction\nSending a transaction for execution\n\n```Javascript\nvar br = require('blockstarter-ripple');\nvar newAddress = br.pushTransaction('tx_blob', function(err, res){\n  if (err != null) {\n    throw err;\n  }\n  console.log(res);\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossystem%2Fblockstarter-ripple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fossystem%2Fblockstarter-ripple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fossystem%2Fblockstarter-ripple/lists"}