{"id":17083860,"url":"https://github.com/ytakzk/bitcoinjs-wrapper","last_synced_at":"2026-05-02T09:35:00.301Z","repository":{"id":80122165,"uuid":"97943604","full_name":"ytakzk/bitcoinjs-wrapper","owner":"ytakzk","description":"bitcoinjs wrapper (under development)","archived":false,"fork":false,"pushed_at":"2017-08-02T02:43:08.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T19:35:20.128Z","etag":null,"topics":["bitcoin","bitcoinjs","bitcoinjs-lib","blockchain","fintech"],"latest_commit_sha":null,"homepage":"","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/ytakzk.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}},"created_at":"2017-07-21T12:03:26.000Z","updated_at":"2017-07-21T12:05:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"e02d9abd-d36c-4cc0-95df-c696c9e34c40","html_url":"https://github.com/ytakzk/bitcoinjs-wrapper","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/ytakzk%2Fbitcoinjs-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytakzk%2Fbitcoinjs-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytakzk%2Fbitcoinjs-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ytakzk%2Fbitcoinjs-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ytakzk","download_url":"https://codeload.github.com/ytakzk/bitcoinjs-wrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245107000,"owners_count":20561799,"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":["bitcoin","bitcoinjs","bitcoinjs-lib","blockchain","fintech"],"created_at":"2024-10-14T13:04:00.207Z","updated_at":"2026-05-02T09:35:00.259Z","avatar_url":"https://github.com/ytakzk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bitcoinjs-wrapper\nbitcoinjs wrapper (under development)\n\n```\nconst bitcoin = require('./bitcoin')\nconst CONFIG  = require('./config')\nconst api     = require('./api_service')\n\nconst secretKey = 'secret-key'\nconst user      = bitcoin.create(secretKey)\nconst address   = user['address']\nconst wif       = user['wif']\n\nconsole.log(address, wif)\n\n// get balance\napi.fetchBalance(address).then(function (balance) {\n  console.log(balance)\n})\n\n// get utxo\napi.fetchUTXO(address).then(function (utxos) {\n  console.log(utxos)\n})\n\n// transfer bitcoins\napi.fetchUTXO(address).then(function (utxos) {\n\n  rawtx = bitcoin.createTransaction(secretKey, 'mwCwTceJvYV27KXBc3NJZys6CjsgsoeHmf', 10000, 1000, utxos)\n  api.transaction(rawtx).then(function (value) {\n    console.log(value)\n  })\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytakzk%2Fbitcoinjs-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fytakzk%2Fbitcoinjs-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fytakzk%2Fbitcoinjs-wrapper/lists"}