A full stack for bitcoin and blockchain-based applications
A simple Command Line Interface Wallet using Bitcore Wallet Service and its official client lib Bitcore Wallet Client.
This can be used to operate Bitcoin and Bitcoin Cash wallets.
# First, start a local BWS instance by doing:
# cd packages/bitcore-wallet-service
# npm stop; npm start
# Then, in bitcore-cli...
cd packages/bitcore-cli/bin
# List all commands:
./bitcore-cli --help
# Interact with the wallet via the <walletName> argument (~/.wallets/<walletName>.json is the default filename where the wallet critical data will be stored)
#
# TIP: Use -H or BITCORE_CLI_HOST to point to your local BWS URL. By default, it points to https://bws.bitpay.com/
./bitcore-cli my-wallet -H http://localhost:3232
This tool will encrypt the wallet’s sensitive data (private key(s)) with a password. The password will be asked interactively. The initial setting of the password will show * placeholders for each character. Prompts to unlock the wallet (e.g. when signing a transaction) will have a hidden password input, meaning it won’t look like you’re typing anything in.
Password-based key derivation function 2 (PBKDF2) is used to derive the key to encrypt the data. AES is used to do the actual encryption. Where possible, native modules are used.
Air gapped (non connected) devices are supported. This setup can be useful if maximum security is needed, to prevent private keys from being compromised. In this setup, a device is installed without network access, and transactions are signed off-line. Transactions can be pulled from BWS using a proxy device, then downloaded to a pendrive to be moved to the air-gapped device, signed there, and then moved back the proxy device to be sent back to BWS. Note that Private keys are generated off-line in the airgapped device.
Note: Airgapped signing is not supported for Threshold Signature (TSS) wallets.
The below is obsolete. To be updated once completed