2.0.1 • Published 11 months ago

walletdrop v2.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
11 months ago

WalletDrop Documentation

WalletDrop Network Architecture

WalletDrop is a versatile and powerful CLI tool that revolutionizes file sharing. Our application provides a seamless, secure, and instant method to share files directly to wallet addresses and ENS. Built on the robust Libp2p platform, WalletDrop stands out with its decentralized approach to file transfer. The tool's user-friendly interface ensures a smooth experience for both installation and usage.

Installation:

  1. Ensure that you have Node.js installed on your machine. WalletDrop is a Node.js application, and thus requires Node.js to be installed first. You can download Node.js from the official website: https://nodejs.org/
  2. Install WalletDrop globally on your machine by running the following command in your terminal: (The -g flag is used to install the package globally, which allows you to run WalletDrop from anywhere in your terminal)
npm install -g walletdrop
  1. Check WalletDrop installation on your machine by running the following command in your terminal:
walletdrop --version
  1. To use WalletDrop, simply run the command walletdrop followed by any options or arguments as needed. If you need help with the commands, you can always type walletdrop --help to get a list of commands and how to use them.

Usage

1. Logging In:

First, you need to log in using your wallet account. Run the following command:

walletdrop login

Once this command is executed, it will open a new browser tab. In this tab, you'll need to select your wallet and sign a message to confirm your identity. You are now logged in to WalletDrop via the CLI.

2. Receiving Files:

To start listening for incoming files, use the following command:

walletdrop receive

This will make your wallet listen for incoming files. When a file is received, you'll get a notification along with the file details.

3. Sending Files:

Sending files requires you to be present in the directory where the file is located. Use the send command, followed by the file name (with its proper extension) and the recipient's wallet address or ENS. Here's how you can do this:

walletdrop send <filename.extension> <Recipient_Wallet_Address>

Replace <filename.extension> with the name of the file you want to send (don't forget to include the file extension), and <Recipient_Wallet_Address> with the wallet address or ENS of the person you want to send the file to.

For example, if you want to send a file named sample.txt to a wallet address 0x1234abcd, you would run:

walletdrop send sample.txt 0x1234abcd

//OR

walletdrop send sample.txt freddy.eth

If the file is sent successfully, you'll see a confirmation message.