{"id":25415180,"url":"https://github.com/firaenix/bsv-wasm","last_synced_at":"2026-03-09T19:36:26.263Z","repository":{"id":41567068,"uuid":"348712828","full_name":"Firaenix/bsv-wasm","owner":"Firaenix","description":"BSV stdlib written in Rust and runs in WASM environments","archived":false,"fork":false,"pushed_at":"2024-02-19T14:54:48.000Z","size":5662,"stargazers_count":69,"open_issues_count":16,"forks_count":18,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-10T03:52:44.818Z","etag":null,"topics":["bitcoin","bitcoin-sv","bsv","cryptography","rust","wasm","webassembly"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/Firaenix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_MIT","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-03-17T13:05:29.000Z","updated_at":"2025-04-04T10:17:59.000Z","dependencies_parsed_at":"2023-02-16T05:45:18.949Z","dependency_job_id":"c1a8e305-5dd4-4779-a7a3-f6a85527eeec","html_url":"https://github.com/Firaenix/bsv-wasm","commit_stats":{"total_commits":291,"total_committers":9,"mean_commits":"32.333333333333336","dds":0.570446735395189,"last_synced_commit":"f6109c4b6b784f54c6fd6d50981176387af79d32"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firaenix%2Fbsv-wasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firaenix%2Fbsv-wasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firaenix%2Fbsv-wasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Firaenix%2Fbsv-wasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Firaenix","download_url":"https://codeload.github.com/Firaenix/bsv-wasm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248154998,"owners_count":21056542,"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","bitcoin-sv","bsv","cryptography","rust","wasm","webassembly"],"created_at":"2025-02-16T15:22:28.851Z","updated_at":"2026-03-09T19:36:25.881Z","avatar_url":"https://github.com/Firaenix.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BSV.WASM/BSV-RS\n\nA Rust/WASM Library to interact with Bitcoin SV   \n\n## Installation\nNodeJS 14.6+:  \n`npm i bsv-wasm --save`\n\nWeb:  \n`npm i bsv-wasm-web --save`\n\nWebpack:  \n`npm i bsv-wasm-bundler --save`\n\nRust:  \nhttps://crates.io/crates/bsv\n\nDeno:  \n```js\nimport init, { Transaction } from \"https://deno.land/x/bsv_wasm@{VERSION}/bsv_wasm.js\"\nawait init();\n```\n\n\n## Usage\n### Note: Rust and JS/TS method names and structs are the same\n\n- Eg. Derive private key from XPriv and log out P2PKH String\n`ExtendedPrivateKey.fromWIF('LMyWif...').toPrivateKey().toPublicKey().toAddress().toString()`\n\n## Features\n- Hash (SHA256, SHA256d, SHA1, RIPEMD160, Hash160, SHA512)\n- KDF (PBKDF2)\n- Encryption (AES-CBC, AES-CTR)\n- ECDSA (Private Key, Public Key, Signatures)\n- Transaction (Building, Serialising, Deserialising)\n- Script (Serialising, Deserialising)\n- Script Matching (ScriptTemplate)\n- Addresses (P2PKH)\n- Sighash Support\n- Extended Private Keys and Child Derivation (BIP32, BIP42)\n- Testnet support\n\n## TODO:\n- [ ] Split WASM modules from Rust - Release standalone bsv-rs\n- [ ] Break WASM packages up to be more modular\n- [ ] Allow Interop between WASM Packages\n- [ ] Write documentation (Inline on functions and structs)\n\n### Thanks\n- Brenton Gunning [(rust-sv)](https://github.com/brentongunning/rust-sv)\n- Moneybutton Team [(bsv.js)](https://github.com/moneybutton/bsv)\n- [Bitping Team](https://bitping.com)\n- [learnmeabitcoin.com](https://learnmeabitcoin.com)\n- [Bitcoin SV Wiki](https://wiki.bitcoinsv.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiraenix%2Fbsv-wasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiraenix%2Fbsv-wasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiraenix%2Fbsv-wasm/lists"}