{"repo":"Marcos-cmyk/Bitcoin","free":true,"listed":false,"github":"https://github.com/Marcos-cmyk/Bitcoin","clone":"git clone https://github.com/Marcos-cmyk/Bitcoin.git","description":"比特币钱包、Bitcoin、BitcoinSwift、BitcoinWallet、A modern iOS Bitcoin library with async/await support. Features wallet management, transactions, multisig, HTLC, and BIP322 message signing. Built with Swift 5.5+ for iOS 13+.","language":"Swift","stars":22,"topics":["bitcoin","bitcoin-transaction","bitcoin-wallet","bitcoinwallet"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Bitcoin alpha Bitcoin alpha is an iOS toolbelt for interaction with the BTC network. For more specific usage, please refer to the demo Swift Package Manager The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler. Example usage Bitcoin V1 API Usage Examples This document provides code examples for all async/await methods in the Bitcoin V1 class. All methods require iOS 13.0+ and use Swift's modern concurrency features. Table of Contents 1. Wallet Management 2. Address Operations 3. Transaction Operations 4. Fee Estimation 5. HTLC Operations 6. No-Signature Script Operations 7. Multisig Operations 8. Message Signing & Verification --- Wallet Management 1. createAccount Creates a new Bitcoin wallet account with a randomly generated mnemonic. Method Signature: Parameters: - mnemonicLength : Mnemonic length in bits (128/160/192/224/256, default: 128) - isTestnet : Whether to use testnet (default: true) - language : Mnemonic language (default: \"english\") Returns: - success : Whether the operation succeeded - wallet : Wallet information (non-nil on success) - error : Error message (nil on success) Example: --- 2. importAccountFromMnemonic Imports a wallet account from a mnemonic phrase. Method Signature: Parameters: - mnemonic : Mnemonic string (12 or 24 words, space-separated) - isTestnet : Whether to use testnet (default: true) - language : Mnemonic language (optional) Returns: - success : Whether the operation s","default_branch":null,"files":null,"tree":[],"storefront":"/r/Marcos-cmyk","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Marcos-cmyk/Bitcoin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}