{"id":13580626,"url":"https://github.com/howardwu/wagyu","last_synced_at":"2025-04-04T14:04:40.825Z","repository":{"id":43213548,"uuid":"144816214","full_name":"howardwu/wagyu","owner":"howardwu","description":"A Rust library for generating cryptocurrency wallets","archived":false,"fork":false,"pushed_at":"2022-02-17T20:43:26.000Z","size":54283,"stargazers_count":628,"open_issues_count":18,"forks_count":111,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-03-28T13:05:34.075Z","etag":null,"topics":["bitcoin","ethereum","monero","zcash"],"latest_commit_sha":null,"homepage":"https://wagyu.dev","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/howardwu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-15T06:46:37.000Z","updated_at":"2025-03-18T21:55:50.000Z","dependencies_parsed_at":"2022-09-26T18:20:38.594Z","dependency_job_id":null,"html_url":"https://github.com/howardwu/wagyu","commit_stats":null,"previous_names":["argusobserver/wagu","argusdeveloper/wagu","aleohq/wagyu"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardwu%2Fwagyu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardwu%2Fwagyu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardwu%2Fwagyu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/howardwu%2Fwagyu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/howardwu","download_url":"https://codeload.github.com/howardwu/wagyu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247186276,"owners_count":20898126,"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","ethereum","monero","zcash"],"created_at":"2024-08-01T15:01:53.721Z","updated_at":"2025-04-04T14:04:40.801Z","avatar_url":"https://github.com/howardwu.png","language":"Rust","funding_links":[],"categories":["Rust","Applications"],"sub_categories":["Blockchain","Cryptocurrencies"],"readme":"\u003ch1 align=\"center\"\u003e\n    \u003cimg width=\"1412\" src=\"https://user-images.githubusercontent.com/9260812/62808478-09eac480-baad-11e9-92c9-f9a6ef4e7bc2.png\"\u003e\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://crates.io/crates/wagyu\"\u003e\u003cimg src=\"https://img.shields.io/crates/v/wagyu.svg?color=neon\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://travis-ci.com/AleoHQ/wagyu\"\u003e\u003cimg src=\"https://img.shields.io/travis/com/AleoHQ/wagyu/v0.6.3.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"https://codecov.io/gh/AleoHQ/wagyu\"\u003e\u003cimg src=\"https://img.shields.io/codecov/c/github/AleoHQ/wagyu.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"./AUTHORS\"\u003e\u003cimg src=\"https://img.shields.io/badge/authors-Aleo-orange.svg\"\u003e\u003c/a\u003e\n    \u003ca href=\"./LICENSE-MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT/Apache--2.0-blue.svg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/9260812/62804070-05b8aa00-baa1-11e9-905f-faea3d8de13b.gif\"\u003e\n\u003c/p\u003e\n\n## \u003ca name='TableofContents'\u003e\u003c/a\u003eTable of Contents\n\n* [1. Overview](#1-overview)\n* [2. Build Guide](#2-build-guide)\n    * [2.1 Install Rust](#21-install-rust)\n    * [2.2a Build from Homebrew](#22a-build-from-homebrew)\n    * [2.2b Build from Crates.io](#22b-build-from-cratesio)\n    * [2.2c Build from Source Code](#22c-build-from-source-code)\n* [3. Usage Guide](#3-usage-guide)\n\t* [3.1 Generate a cryptocurrency wallet](#31-generate-a-cryptocurrency-wallet)\n\t* [3.2 Generate an HD cryptocurrency wallet](#32-generate-an-hd-cryptocurrency-wallet)\n\t* [3.3 Import a cryptocurrency wallet](#33-import-a-cryptocurrency-wallet)\n\t* [3.4 Import an HD cryptocurrency wallet](#34-import-an-hd-cryptocurrency-wallet)\n* [4. License](#4-license)\n\n## 1. Overview\n\nWagyu is a feature-rich command-line utility to generate a cryptocurrency wallet.\n\nWagyu enables developers to build their own cryptocurrency application using the following modules.\n\n| Library                                                                                                                                                      | Standard Wallet                                                       | HD Wallet                                                                                    | Mnemonic                        | Network                                                         |\n|:------------------------------------------------------------------------------------------------------------------------------------------------------------:|-----------------------------------------------------------------------|----------------------------------------------------------------------------------------------|---------------------------------|-----------------------------------------------------------------|\n| [**wagyu-bitcoin**](./bitcoin)   \u003cbr/\u003e [![Crates.io](https://img.shields.io/crates/v/wagyu-bitcoin.svg?color=neon)](https://crates.io/crates/wagyu-bitcoin)  | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eP2PKH\u003c/li\u003e\u003cli\u003eP2SH-P2WPKH\u003c/li\u003e\u003cli\u003eBech32\u003c/li\u003e\u003c/ul\u003e       | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eBIP-32\u003c/li\u003e\u003cli\u003eBIP-44\u003c/li\u003e\u003cli\u003eBIP-49\u003c/li\u003e\u003cli\u003eCustom\u003c/li\u003e\u003c/ul\u003e                   | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eBIP-39\u003c/li\u003e\u003c/ul\u003e   | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eMainnet\u003c/li\u003e\u003cli\u003eTestnet\u003c/li\u003e\u003c/ul\u003e                  |\n| [**wagyu-ethereum**](./ethereum) \u003cbr/\u003e [![Crates.io](https://img.shields.io/crates/v/wagyu-ethereum.svg?color=neon)](https://crates.io/crates/wagyu-ethereum)| \u003cbr/\u003e\u003cul\u003e\u003cli\u003eStandard\u003c/li\u003e\u003c/ul\u003e                                       | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eEthereum\u003c/li\u003e\u003cli\u003eLedger\u003c/li\u003e\u003cli\u003eTrezor\u003c/li\u003e\u003cli\u003eKeepkey\u003c/li\u003e\u003cli\u003eCustom\u003c/li\u003e\u003c/ul\u003e | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eBIP-39\u003c/li\u003e\u003c/ul\u003e   | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eAll\u003c/li\u003e\u003c/ul\u003e                                      |\n| [**wagyu-monero**](./monero)     \u003cbr/\u003e [![Crates.io](https://img.shields.io/crates/v/wagyu-monero.svg?color=neon)](https://crates.io/crates/wagyu-monero)    | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eStandard\u003c/li\u003e\u003cli\u003eIntegrated\u003c/li\u003e\u003cli\u003eSubaddress\u003c/li\u003e\u003c/ul\u003e | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eN/A\u003c/ul\u003e                                                                        | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eElectrum\u003c/li\u003e\u003c/ul\u003e | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eMainnet\u003c/li\u003e\u003cli\u003eTestnet\u003c/li\u003e\u003cli\u003eStagenet\u003c/li\u003e\u003c/ul\u003e |\n| [**wagyu-zcash**](./zcash)       \u003cbr/\u003e [![Crates.io](https://img.shields.io/crates/v/wagyu-zcash.svg?color=neon)](https://crates.io/crates/wagyu-zcash)      | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eP2PKH\u003c/li\u003e\u003cli\u003eSprout\u003c/li\u003e\u003cli\u003eSapling\u003c/li\u003e\u003c/ul\u003e                          | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eZIP-32\u003c/li\u003e\u003c/ul\u003e                                                 | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eN/A\u003c/li\u003e\u003c/ul\u003e      | \u003cbr/\u003e\u003cul\u003e\u003cli\u003eMainnet\u003c/li\u003e\u003cli\u003eTestnet\u003c/li\u003e\u003c/ul\u003e                  |\n\nWagyu can support new cryptocurrencies by implementing the model as outlined in this module.\n\n| Library                                                                                                                                           | Standard Wallet                                                                                                                                                | HD Wallet                                                                                                                                                                                                       | Mnemonic                                                                                                       | Network                                                   |\n|:-------------------------------------------------------------------------------------------------------------------------------------------------:|----------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------|\n| [**wagyu_model**](./model) \u003cbr/\u003e [![Crates.io](https://img.shields.io/crates/v/wagyu-model.svg?color=neon)](https://crates.io/crates/wagyu-model) | \u003cbr/\u003e\u003cul\u003e\u003cli\u003e[Address](./model/src/address.rs)\u003c/li\u003e\u003cli\u003e[Public Key](./model/src/public_key.rs)\u003c/li\u003e\u003cli\u003e[Private Key](./model/src/private_key.rs)\u003c/li\u003e\u003c/ul\u003e     | \u003cbr/\u003e\u003cul\u003e\u003cli\u003e[Derivation Path](./model/src/derivation_path.rs)\u003c/li\u003e\u003cli\u003e[Extended Public Key](./model/src/extended_public_key.rs)\u003c/li\u003e\u003cli\u003e[Extended Private Key](./model/src/extended_private_key.rs)\u003c/li\u003e\u003c/ul\u003e  | \u003cbr/\u003e\u003cul\u003e\u003cli\u003e[Mnemonic](./model/src/mnemonic.rs)\u003c/li\u003e\u003cli\u003e[Wordlist](model/src/wordlist/wordlist.rs)\u003c/li\u003e\u003c/ul\u003e  |\u003cbr/\u003e\u003cul\u003e\u003cli\u003e[Network](./model/src/network.rs)\u003c/li\u003e\u003c/ul\u003e   |\n\n\n## 2. Build Guide\n\n### 2.1 Install Rust\n\nWe recommend installing Rust using [rustup](https://www.rustup.rs/). You can install `rustup` as follows:\n\n- macOS or Linux:\n  ```bash\n  curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n  ```\n\n- Windows (64-bit):  \n  \n  Download the [Windows 64-bit executable](https://win.rustup.rs/x86_64) and follow the on-screen instructions.\n\n- Windows (32-bit):  \n  \n  Download the [Windows 32-bit executable](https://win.rustup.rs/i686) and follow the on-screen instructions.\n\n### 2.2a Build from Homebrew (for macOS)\n\nFor macOS users, we recommend installing `wagyu` via Homebrew as follows:\n\n```bash\nbrew install wagyu\n```\n\n### 2.2b Build from Crates.io\n\nWe recommend installing `wagyu` this way. In your terminal, run:\n\n```bash\ncargo install wagyu\n```\n\nNow to use `wagyu`, in your terminal, run:\n```bash\nwagyu\n```\n \n### 2.2c Build from Source Code\n\nAlternatively, you can install `wagyu` by building from the source code as follows:\n\n```bash\n# Download the source code\ngit clone https://github.com/AleoHQ/wagyu\ncd wagyu\n\n# Build in release mode\n$ cargo build --release\n```\n\nThis will generate an executable under the `./target/release` directory. To use wagyu, run the following command:\n```bash\n./target/release/wagyu\n```\n\n## 3. Usage Guide\n\n### 3.1 Generate a cryptocurrency wallet\n\nTo generate a cryptocurrency wallet, run:\n```\nwagyu [CRYPTOCURRENCY] [FLAGS] [OPTIONS]\n```\n\n#### 3.1.1 Bitcoin\n\nTo generate a Bitcoin wallet, run:\n```\nwagyu bitcoin [FLAGS] [OPTIONS]\n```\n\nThe command can be run with the following optional parameters:\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n    -c, --count \u003ccount\u003e        Generates a specified number of wallets\n    -f, --format \u003cformat\u003e      Generates a wallet with a specified format [possible values: bech32, legacy, segwit]\n    -n, --network \u003cnetwork\u003e    Generates a wallet for a specified network [possible values: mainnet, testnet]\n```\n\n#### 3.1.2 Ethereum\n\nTo generate an Ethereum wallet, run:\n```\nwagyu ethereum [FLAGS] [OPTIONS]\n```\n\nThe command can be run with the following optional parameters:\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n    -c, --count \u003ccount\u003e    Generates a specified number of wallets\n```\n\n\n#### 3.1.3 Monero\n\nTo generate a Monero wallet, run:\n```\nwagyu monero [FLAGS] [OPTIONS]\n```\n\nThe command can be run with the following parameters: \n\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n    -c, --count \u003ccount\u003e                             Generates a specified number of wallets\n    -i, --integrated \u003cPaymentID\u003e                    Generates a wallet with a specified payment ID\n    -l, --language \u003clanguage\u003e                       Generates a wallet with a specified language [possible values: chinese_simplified, dutch, english, esperanto, french, german, italian, japanese, lojban, portuguese, russian, spanish]\n    -n, --network \u003cnetwork\u003e                         Generates a wallet for a specified network [possible values: mainnet, stagenet, testnet]\n    -s, --subaddress \u003cMajor Index\u003e \u003cMinor Index\u003e    Generates a wallet with a specified major and minor index\n```\n\n#### 3.1.4 Zcash\n\nTo generate a Zcash wallet, run:\n```\nwagyu zcash [FLAGS] [OPTIONS]\n```\n\nThe command can be run with the following parameters: \n\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n    -c, --count \u003ccount\u003e                Generates a specified number of wallets\n        --diversifier \u003cdiversifier\u003e    Generates a wallet with a specified Sapling address diversifier\n    -f, --format \u003cformat\u003e              Generates a wallet with a specified format [possible values: sapling, sprout, transparent]\n    -n, --network \u003cnetwork\u003e            Generates a wallet for a specified network [possible values: mainnet, testnet]\n```\n\n### 3.2 Generate an HD cryptocurrency wallet\n\nTo generate an HD cryptocurrency wallet, run:\n```\nwagyu [CRYPTOCURRENCY] hd [FLAGS] [OPTIONS]\n```\n\n#### 3.2.1 Bitcoin\n\nTo generate a Bitcoin HD wallet, run:\n```\nwagyu bitcoin hd [FLAGS] [OPTIONS]\n```\n\nThis command can be run with the following parameters:\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n    -c, --count \u003ccount\u003e              Generates a specified number of wallets\n    -d, --derivation \u003c\"path\"\u003e        Generates an HD wallet for a specified derivation path (in quotes) [possible values: bip32, bip44, bip49, \"\u003ccustom path\u003e\"]\n    -l, --language \u003clanguage\u003e        Generates an HD wallet with a specified language [possible values: chinese_simplified, chinese_traditional, english, french, italian, japanese, korean, spanish]\n    -n, --network \u003cnetwork\u003e          Generates an HD wallet for a specified network [possible values: mainnet, testnet]\n    -p, --password \u003cpassword\u003e        Generates an HD wallet with a specified password\n    -w, --word-count \u003cword count\u003e    Generates an HD wallet with a specified word count [possible values: 12, 15, 18, 21, 24]\n```\n\n#### 3.2.2 Ethereum\n\nTo generate an Ethereum HD wallet, run:\n```\nwagyu ethereum hd [FLAGS] [OPTIONS]\n```\n\nThe command can be run with the following parameters: \n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n    -c, --count \u003ccount\u003e              Generates a specified number of wallets\n    -d, --derivation \u003c\"path\"\u003e        Generates an HD wallet for a specified derivation path (in quotes) [possible values: ethereum, keepkey, ledger-legacy, ledger-live, trezor, \"\u003ccustom path\u003e\"]\n    -i, --index \u003cindex\u003e              Generates an HD wallet with a specified index\n    -k, --indices \u003cnum_indices\u003e      Generates an HD wallet with a specified number of indices\n    -l, --language \u003clanguage\u003e        Generates an HD wallet with a specified language [possible values: chinese_simplified, chinese_traditional, english, french, italian, japanese, korean, spanish]\n    -p, --password \u003cpassword\u003e        Generates an HD wallet with a specified password\n    -w, --word-count \u003cword count\u003e    Generates an HD wallet with a specified word count [possible values: 12, 15, 18, 21, 24]\n```\n\n#### 3.2.3 Zcash\n\nTo generate a Zcash HD wallet, run:\n```\nwagyu zcash hd [FLAGS] [OPTIONS]\n```\n\nThe command can be run with the following parameters: \n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n    -c, --count \u003ccount\u003e                Generates a specified number of wallets\n    -d, --derivation \u003c\"path\"\u003e          Generates an HD wallet for a specified derivation path (in quotes) [possible values: zip32, \"\u003ccustom path\u003e\"]\n        --diversifier \u003cdiversifier\u003e    Imports a wallet with a specified Sapling address diversifier\n    -n, --network \u003cnetwork\u003e            Generates an HD wallet for a specified network [possible values: mainnet, testnet]\n```\n\n### 3.3 Import a cryptocurrency wallet\n\nTo import a cryptocurrency wallet, run:\n```\nwagyu [CRYPTOCURRENCY] import [FLAGS] [OPTIONS]\n```\n\n#### 3.3.1 Bitcoin\n\nTo import a Bitcoin wallet, run:\n```\nwagyu bitcoin import [FLAGS] [OPTIONS]\n```\n\nThis command can be run with the following parameters:\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n        --address \u003caddress\u003e        Imports a partial wallet for a specified address\n    -f, --format \u003cformat\u003e          Imports a wallet with a specified format [possible values: bech32, legacy, segwit]\n    -n, --network \u003cnetwork\u003e        Imports a wallet for a specified network [possible values: mainnet, testnet]\n        --private \u003cprivate key\u003e    Imports a wallet for a specified private key\n        --public \u003cpublic key\u003e      Imports a partial wallet for a specified public key\n```\n\n#### 3.3.2 Ethereum\n\nTo import an Etheruem wallet, run:\n```\nwagyu ethereum import [FLAGS] [OPTIONS]\n```\n\nThis command can be run with the following parameters:\n\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n        --address \u003caddress\u003e        Imports a partial wallet for a specified address\n        --private \u003cprivate key\u003e    Imports a wallet for a specified private key\n        --public \u003cpublic key\u003e      Imports a partial wallet for a specified public key\n```\n\n#### 3.3.3 Monero\n\nTo import a Monero wallet, run:\n```\nwagyu monero import [FLAGS] [OPTIONS]\n```\n\nThis command can be run with the following parameters:\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n        --address \u003caddress\u003e                         Imports a partial wallet for a specified address\n    -i, --integrated \u003cPaymentID\u003e                    Imports a wallet with a specified payment ID\n    -l, --language \u003clanguage\u003e                       Imports a wallet with a specified mnemonic language (requires private spend key) [possible values: chinese_simplified, dutch, english, esperanto, french, german, italian, japanese, lojban, portuguese, russian, spanish]\n    -m, --mnemonic \u003c\"mnemonic\"\u003e                     Imports a wallet for a specified mnemonic (in quotes)\n    -n, --network \u003cnetwork\u003e                         Imports a wallet for a specified network [possible values: mainnet, stagenet, testnet]\n        --private-spend \u003cprivate spend key\u003e         Imports a wallet for a specified private spend key\n        --private-view \u003cprivate view key\u003e           Imports a partial wallet for a specified private view key\n        --public-spend \u003cpublic spend key\u003e           Imports a partial wallet for a specified public spend key\n        --public-view \u003cpublic view key\u003e             Imports a partial wallet for a specified public view key\n    -s, --subaddress \u003cMajor Index\u003e \u003cMinor Index\u003e    Imports a wallet with a specified major and minor index\n```\n\n#### 3.3.4 Zcash\n\nTo import a Zcash wallet, run:\n```\nwagyu zcash import [FLAGS] [OPTIONS]\n```\n\nThis command can be run with the following parameters:\n\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n        --address \u003caddress\u003e            Imports a partial wallet for a specified address\n        --diversifier \u003cdiversifier\u003e    Imports a wallet with a specified Sapling address diversifier\n        --private \u003cprivate key\u003e        Imports a wallet for a specified private key\n        --public \u003cpublic key\u003e          Imports a partial wallet for a specified public key\n```\n\n### 3.4 Import an HD cryptocurrency wallet\n\nTo import an HD cryptocurrency wallet, run:\n```\nwagyu [CRYPTOCURRENCY] import-hd [FLAGS] [OPTIONS]\n```\n\n#### 3.4.1 Bitcoin\n\nTo import a Bitcoin HD wallet, run:\n```\nwagyu bitcoin import-hd [FLAGS] [OPTIONS]\n```\n\nThis command can be run with the following parameters:\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n    -a, --account \u003caccount\u003e                      Imports an HD wallet for a specified account number for bip44 and bip49 derivations\n    -c, --chain \u003cchain\u003e                          Imports an HD wallet for a specified (external/internal) chain for bip44 and bip49 derivations [possible values: 0, 1]\n    -d, --derivation \u003c\"path\"\u003e                    Imports an HD wallet for a specified derivation path (in quotes) [possible values: bip32, bip44, bip49, \"\u003ccustom path\u003e\"]\n        --extended-private \u003cextended private\u003e    Imports a partial HD wallet for a specified extended private key\n        --extended-public \u003cextended public\u003e      Imports a partial HD wallet for a specified extended public key\n    -i, --index \u003cindex\u003e                          Imports an HD wallet for a specified index\n    -m, --mnemonic \u003c\"mnemonic\"\u003e                  Imports an HD wallet for a specified mnemonic (in quotes)\n    -n, --network \u003cnetwork\u003e                      Imports an HD wallet for a specified network [possible values: mainnet, testnet]\n    -p, --password \u003cpassword\u003e                    Imports an HD wallet with a specified password\n```\n\n#### 3.4.2 Ethereum\n\nTo import an Ethereum HD wallet, run:\n```\nwagyu ethereum import-hd [FLAGS] [OPTIONS]\n```\n\nThis command can be run with the following parameters:\n\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n    -d, --derivation \u003c\"path\"\u003e                    Imports an HD wallet for a specified derivation path (in quotes) [possible values: ethereum, keepkey, ledger-legacy, ledger-live, trezor, \"\u003ccustom path\u003e\"]\n        --extended-private \u003cextended private\u003e    Imports a partial HD wallet for a specified extended private key\n        --extended-public \u003cextended public\u003e      Imports a partial HD wallet for a specified extended public key\n    -i, --index \u003cindex\u003e                          Imports an HD wallet with a specified index\n    -k, --indices \u003cnum_indices\u003e                  Imports an HD wallet with a specified number of indices\n    -m, --mnemonic \u003c\"mnemonic\"\u003e                  Imports an HD wallet for a specified mnemonic (in quotes)\n    -p, --password \u003cpassword\u003e                    Imports an HD wallet with a specified password\n```\n\n#### 3.4.3 Zcash\n\nTo import a Zcash HD wallet, run:\n```\nwagyu zcash import-hd [FLAGS] [OPTIONS]\n```\n\nThis command can be run with the following parameters:\n\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n    -a, --account \u003caccount\u003e                      Imports an HD wallet for a specified account number for bip44 and bip49 derivations\n    -d, --derivation \u003c\"path\"\u003e                    Imports an HD wallet for a specified derivation path (in quotes) [possible values: zip32, \"\u003ccustom path\u003e\"]\n        --diversifier \u003cdiversifier\u003e              Imports an HD wallet with a specified Sapling address diversifier\n        --extended-private \u003cextended private\u003e    Imports a partial HD wallet for a specified extended private key\n        --extended-public \u003cextended public\u003e      Imports a partial HD wallet for a specified extended public key\n    -i, --index \u003cindex\u003e                          Imports an HD wallet for a specified index\n```\n\n### 3.5 Generate a cryptocurrency transaction\n\n\nTo import an HD cryptocurrency wallet, run:\n```\nwagyu [CRYPTOCURRENCY] transaction [FLAGS] [OPTIONS]\n```\n\n#### 3.5.1 Bitcoin\n\nTo generate a Bitcoin transaction, run:\n```\nwagyu bitcoin transaction [FLAGS] [OPTIONS]\n```\n\nThis command can be run with the following parameters:\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n        --createrawtransaction \u003cinputs\u003e \u003coutputs\u003e          Generates a raw Bitcoin transaction\n                                                               Inputs format: '[{\"txid\":\"txid\", \"vout\":index},...]'\n                                                               Outputs format: '{\"address\":amount,...}'                                           \n        --lock-time \u003clock time\u003e                            Specify a Bitcoin transaction lock time\n        --signrawtransaction \u003ctransaction hex\u003e \u003cinputs\u003e    Sign a raw Bitcoin transaction\n                                                               Inputs format: '[{\"txid\":\"txid\", \"vout\":index, \"amount\":amount, \"address\":\"address\", \"privatekey\":\"private_key\"},...]'\n                                                               (Optional: manually specify scriptPubKey and redeemScript)\n        --version \u003cversion\u003e                                Specify a Bitcoin transaction version\n```\n\n#### 3.5.2 Ethereum\n\nTo generate an Ethereum transaction, run:\n```\nwagyu ethereum transaction [FLAGS] [OPTIONS]\n```\n\nThis command can be run with the following parameters:\n\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n        --createrawtransaction \u003c'{\"to\":\"address\", \"value\":\"value\", \"gas\":\"gas\", \"gasPrice\":\"gas_price\", \"nonce\":nonce, \"network\":\"network\"}'\u003e    Generates a raw Ethereum transaction\n        --network \u003cnetwork\u003e                                                                                                                      Specify an Ethereum transaction network\n        --signrawtransaction \u003ctransaction hex\u003e \u003cprivate key\u003e                                                                                     Sign a raw Ethereum transaction\n```\n\n#### 3.5.3 Zcash\n\nTo generate a Zcash transaction, run:\n```\nwagyu zcash transaction [FLAGS] [OPTIONS]\n```\n\nThis command can be run with the following parameters:\n\n```\nFLAGS:\n    -h, --help    Prints help information\n    -j, --json    Prints the generated wallet(s) in JSON format\n\nOPTIONS:\n        --createrawtransaction \u003cinputs\u003e \u003coutputs\u003e          Generates a raw Zcash transaction\n                                                               Inputs format: '[{\"txid\":\"txid\", \"vout\":index},...]'\n                                                               Outputs format: '{\"address\":amount,...}'\n        --expiry-height \u003cexpiry height\u003e                    Specify a Zcash transaction expiry height\n        --lock-time \u003clock time\u003e                            Specify a Zcash transaction lock time\n        --signrawtransaction \u003ctransaction hex\u003e \u003cinputs\u003e    Sign a raw Zcash transaction\n                                                               Inputs format: '[{\"txid\":\"txid\", \"vout\":index, \"amount\":amount, \"address\":\"address\", \"privatekey\":\"private_key\"},...]'\n                                                               (Optional: manually specify scriptPubKey and redeemScript)\n        --version \u003cversion\u003e                                Specify a Zcash transaction version [possible values: sapling]\n```\n\n#### 3.5.4 Transaction Remarks\n\n`wagyu` CLI operates offline without chain state, and thus cannot immediately craft Monero transactions or Zcash Sapling spends (Zcash Sapling outputs are supported).\n\n## 4. License\n\nThis work is licensed under either of the following licenses, at your discretion.\n\n- Apache License Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)\n- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you,\nas defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowardwu%2Fwagyu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhowardwu%2Fwagyu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhowardwu%2Fwagyu/lists"}