{"id":20597129,"url":"https://github.com/tradle/simple-wallet","last_synced_at":"2026-04-22T07:32:08.351Z","repository":{"id":33103383,"uuid":"36741113","full_name":"tradle/simple-wallet","owner":"tradle","description":"simple bitcoin wallet - for one key","archived":false,"fork":false,"pushed_at":"2018-12-24T23:06:57.000Z","size":19,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-04-14T12:21:35.185Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tradle.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}},"created_at":"2015-06-02T15:05:12.000Z","updated_at":"2022-02-17T14:20:56.000Z","dependencies_parsed_at":"2022-08-30T15:22:10.246Z","dependency_job_id":null,"html_url":"https://github.com/tradle/simple-wallet","commit_stats":null,"previous_names":["mvayngrib/simple-wallet"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradle%2Fsimple-wallet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradle%2Fsimple-wallet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradle%2Fsimple-wallet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tradle%2Fsimple-wallet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tradle","download_url":"https://codeload.github.com/tradle/simple-wallet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242231441,"owners_count":20093636,"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-16T08:20:24.388Z","updated_at":"2026-04-22T07:32:03.327Z","avatar_url":"https://github.com/tradle.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# simple-wallet\n\none-key wallet using common-blockchain API\n\n```js\nvar Blockchain = require('cb-blockr')\nvar Wallet = require('simple-wallet')\nvar wifKey = require('./path/to/wifPrivKey')\nvar networkName = 'testnet'\nvar wallet = new Wallet({\n  priv: wifKey,\n  blockchain: new Blockchain(networkName),\n  networkName: networkName\n})\n\n// get balance\nwallet.balance(function(err, satoshis) {\n})\n\n// get summary (balance, other fun stuff)\nwallet.summary(function(err, summary) {\n})\n\n// send money\n// see [Spender API](https://github.com/mvayngrib/spender)\nwallet.send()\n  .to(toAddress, satoshis)\n  .data(new Buffer('this goes in OP_RETURN'))\n  .change(/* defaults to wallet's own address */)\n  .execute(function(err, txId, tx) {\n    \n  })\n\n// dump wallet balance to another address\nwallet.dumpTo(toAddress, function(err, txId, tx) {\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftradle%2Fsimple-wallet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftradle%2Fsimple-wallet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftradle%2Fsimple-wallet/lists"}