{"id":47762341,"url":"https://github.com/bsv-blockchain/simple","last_synced_at":"2026-04-03T05:46:33.277Z","repository":{"id":339447249,"uuid":"1161926865","full_name":"bsv-blockchain/simple","owner":"bsv-blockchain","description":"Simple Library to build in BSV typescript SDK","archived":false,"fork":false,"pushed_at":"2026-03-23T08:26:20.000Z","size":1014,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-24T05:46:46.320Z","etag":null,"topics":["bitcoin","bitcoinsv","bsv","sdk","simple"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/bsv-blockchain.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-19T17:17:32.000Z","updated_at":"2026-03-23T08:26:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bsv-blockchain/simple","commit_stats":null,"previous_names":["matiasjf/simple","bsv-blockchain/simple"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/bsv-blockchain/simple","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsv-blockchain%2Fsimple","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsv-blockchain%2Fsimple/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsv-blockchain%2Fsimple/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsv-blockchain%2Fsimple/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bsv-blockchain","download_url":"https://codeload.github.com/bsv-blockchain/simple/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bsv-blockchain%2Fsimple/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31337137,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T04:42:29.251Z","status":"ssl_error","status_checked_at":"2026-04-03T04:42:12.667Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","bitcoinsv","bsv","sdk","simple"],"created_at":"2026-04-03T05:46:32.399Z","updated_at":"2026-04-03T05:46:33.261Z","avatar_url":"https://github.com/bsv-blockchain.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @bsv/simple\n\nA high-level TypeScript library that makes BSV blockchain development simple. Build wallets, send payments, create tokens, issue credentials, and more — in just a few lines of code.\n\n## What is @bsv/simple?\n\n`@bsv/simple` wraps the low-level `@bsv/sdk` into a clean, modular API. Instead of manually constructing locking scripts, managing key derivation, and handling transaction internalization, you call methods like `wallet.pay()`, `wallet.createToken()`, and `wallet.inscribeText()`.\n\n## What can you build?\n\n| Feature | Description |\n|---------|-------------|\n| **Payments** | Send BSV to any identity key via BRC-29 peer-to-peer payments |\n| **Multi-Output Transactions** | Combine P2PKH payments, OP_RETURN data, and PushDrop tokens in a single transaction |\n| **Encrypted Tokens** | Create, transfer, and redeem PushDrop tokens with encrypted payloads |\n| **Inscriptions** | Write text, JSON, or file hashes permanently to the blockchain |\n| **MessageBox P2P** | Send and receive payments and tokens peer-to-peer via MessageBox |\n| **Certification** | Issue and manage BSV certificates with a standalone Certifier |\n| **Verifiable Credentials** | W3C-compatible VCs backed by BSV certificates, with on-chain revocation |\n| **DIDs** | Generate and resolve `did:bsv:` Decentralized Identifiers |\n| **Overlay Networks** | Broadcast to and query SHIP/SLAP overlay services |\n| **Server Wallet** | Run a backend wallet for automated operations and funding flows |\n\n## Browser vs Server\n\nThe library has two entry points:\n\n- **`@bsv/simple`** (default) — Browser-safe. Uses `WalletClient` from `@bsv/sdk` to connect to the user's wallet on the client side. Will not pull in any server-only dependencies.\n- **`@bsv/simple/server`** — Uses `@bsv/wallet-toolbox` to run a server-side wallet from a private key. Used for agents, or servers receiving payments.\n\nBoth entry points provide the same API surface — the only difference is how they connect to the underlying wallet.\n\n## A taste of the API\n\n```typescript\nimport { createWallet } from '@bsv/simple/browser'\n\n// Connect to the user's wallet\nconst wallet = await createWallet()\n\n// Send a payment\nawait wallet.pay({ to: recipientKey, satoshis: 1000, memo: 'Coffee' })\n\n// Create an encrypted token\nawait wallet.createToken({ data: { type: 'loyalty', points: 50 }, basket: 'rewards' })\n\n// Inscribe text on-chain\nawait wallet.inscribeText('Hello BSV!')\n\n// Get your DID\nconst did = wallet.getDID()\n// { id: 'did:bsv:02abc...', ... }\n```\n\n## Next Steps\n\n- [Quick Start](docs/quick-start.md) — Get running in 5 minutes\n- [Installation](docs/installation.md) — Detailed setup instructions\n- [Architecture](docs/architecture.md) — How the library is built\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsv-blockchain%2Fsimple","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbsv-blockchain%2Fsimple","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbsv-blockchain%2Fsimple/lists"}