Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hack-light/leth-cli
A CLI for querying blockchain data, interacting with smart contracts, transferring funds (from file, percentage based and multiple addresses), generating accounts, and more.
https://github.com/hack-light/leth-cli
blockchain cli command-line-tool ethereum ethersjs
Last synced: 20 days ago
JSON representation
A CLI for querying blockchain data, interacting with smart contracts, transferring funds (from file, percentage based and multiple addresses), generating accounts, and more.
- Host: GitHub
- URL: https://github.com/hack-light/leth-cli
- Owner: Hack-Light
- Created: 2023-09-14T08:01:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-09T18:01:03.000Z (about 1 year ago)
- Last Synced: 2024-12-03T08:51:46.417Z (20 days ago)
- Topics: blockchain, cli, command-line-tool, ethereum, ethersjs
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/leth-cli?activeTab=readme
- Size: 1 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Description
A CLI for querying blockchain data, interacting with smart contracts, transfer funds, generating accounts and more
[Video Demo](https://youtu.be/JwAi1oh_LAA)
# Table of contents
* [Description](#description)
* [Table of contents](#table-of-contents)
* [Usage](#usage)
* [Commands](#commands)# Usage
```sh-session
$ npm install -g leth-cli
$ leth COMMAND
running command...
$ leth (--version)
leth-cli/1.0.1 darwin-x64 node-v18.15.0
$ leth --help [COMMAND]
USAGE
$ leth COMMAND
...
```# Commands
* [`leth abi-add ABIPATH`](#leth-abi-add-abipath)
* [`leth abi-delete`](#leth-abi-delete)
* [`leth abi-functions`](#leth-abi-functions)
* [`leth abi-list`](#leth-abi-list)
* [`leth abi-update ABIPATH`](#leth-abi-update-abipath)
* [`leth abi add ABIPATH`](#leth-abi-add-abipath-1)
* [`leth abi delete`](#leth-abi-delete-1)
* [`leth abi functions`](#leth-abi-functions-1)
* [`leth abi list`](#leth-abi-list-1)
* [`leth abi update ABIPATH`](#leth-abi-update-abipath-1)
* [`leth address-balance ADDRESSORENS`](#leth-address-balance-addressorens)
* [`leth address-generate`](#leth-address-generate)
* [`leth address balance ADDRESSORENS`](#leth-address-balance-addressorens-1)
* [`leth address generate`](#leth-address-generate-1)
* [`leth contract ADDRESS ABI`](#leth-contract-address-abi)
* [`leth contract interact ADDRESS ABI`](#leth-contract-interact-address-abi)
* [`leth convert UNIT`](#leth-convert-unit)
* [`leth ens-buy NAME OWNER [DURATION]`](#leth-ens-buy-name-owner-duration)
* [`leth ens-lookup`](#leth-ens-lookup)
* [`leth ens-search [NAME]`](#leth-ens-search-name)
* [`leth ens buy NAME OWNER [DURATION]`](#leth-ens-buy-name-owner-duration-1)
* [`leth ens lookup`](#leth-ens-lookup-1)
* [`leth ens search [NAME]`](#leth-ens-search-name-1)
* [`leth help [COMMANDS]`](#leth-help-commands)
* [`leth plugins`](#leth-plugins)
* [`leth plugins:install PLUGIN...`](#leth-pluginsinstall-plugin)
* [`leth plugins:inspect PLUGIN...`](#leth-pluginsinspect-plugin)
* [`leth plugins:install PLUGIN...`](#leth-pluginsinstall-plugin-1)
* [`leth plugins:link PLUGIN`](#leth-pluginslink-plugin)
* [`leth plugins:uninstall PLUGIN...`](#leth-pluginsuninstall-plugin)
* [`leth plugins:uninstall PLUGIN...`](#leth-pluginsuninstall-plugin-1)
* [`leth plugins:uninstall PLUGIN...`](#leth-pluginsuninstall-plugin-2)
* [`leth plugins update`](#leth-plugins-update)
* [`leth transfer-file FILE PRIVATEKEY`](#leth-transfer-file-file-privatekey)
* [`leth transfer-multiple TO AMOUNT PRIVATEKEY`](#leth-transfer-multiple-to-amount-privatekey)
* [`leth transfer-percentage TO PERCENTAGE AMOUNT PRIVATEKEY`](#leth-transfer-percentage-to-percentage-amount-privatekey)
* [`leth transfer-single TO AMOUNT PRIVATEKEY`](#leth-transfer-single-to-amount-privatekey)
* [`leth transfer file FILE PRIVATEKEY`](#leth-transfer-file-file-privatekey-1)
* [`leth transfer multiple TO AMOUNT PRIVATEKEY`](#leth-transfer-multiple-to-amount-privatekey-1)
* [`leth transfer percentage TO PERCENTAGE AMOUNT PRIVATEKEY`](#leth-transfer-percentage-to-percentage-amount-privatekey-1)
* [`leth transfer single TO AMOUNT PRIVATEKEY`](#leth-transfer-single-to-amount-privatekey-1)## `leth abi-add ABIPATH`
stores contract abi
```
USAGE
$ leth abi-add ABIPATHARGUMENTS
ABIPATH path to abiDESCRIPTION
stores contract abiALIASES
$ leth abi-addEXAMPLES
$ leth abi-add ./erc20ABI.json
```## `leth abi-delete`
deletes contract abi
```
USAGE
$ leth abi-deleteDESCRIPTION
deletes contract abiALIASES
$ leth abi-deleteEXAMPLES
$ leth abi-delete
```## `leth abi-functions`
lists all functions of abi
```
USAGE
$ leth abi-functionsDESCRIPTION
lists all functions of abiALIASES
$ leth abi-functionsEXAMPLES
$ leth abi-functions
```## `leth abi-list`
lists all stored abi names
```
USAGE
$ leth abi-listDESCRIPTION
lists all stored abi namesALIASES
$ leth abi-listEXAMPLES
$ leth abi-list
```## `leth abi-update ABIPATH`
updates contract abi
```
USAGE
$ leth abi-update ABIPATHARGUMENTS
ABIPATH path to abiDESCRIPTION
updates contract abiALIASES
$ leth abi-updateEXAMPLES
$ leth abi-update ./erc20ABI.json
```## `leth abi add ABIPATH`
stores contract abi
```
USAGE
$ leth abi add ABIPATHARGUMENTS
ABIPATH path to abiDESCRIPTION
stores contract abiALIASES
$ leth abi-addEXAMPLES
$ leth abi add ./erc20ABI.json
```_See code: [dist/commands/abi/add.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/abi/add.ts)_
## `leth abi delete`
deletes contract abi
```
USAGE
$ leth abi deleteDESCRIPTION
deletes contract abiALIASES
$ leth abi-deleteEXAMPLES
$ leth abi delete
```_See code: [dist/commands/abi/delete.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/abi/delete.ts)_
## `leth abi functions`
lists all functions of abi
```
USAGE
$ leth abi functionsDESCRIPTION
lists all functions of abiALIASES
$ leth abi-functionsEXAMPLES
$ leth abi functions
```_See code: [dist/commands/abi/functions.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/abi/functions.ts)_
## `leth abi list`
lists all stored abi names
```
USAGE
$ leth abi listDESCRIPTION
lists all stored abi namesALIASES
$ leth abi-listEXAMPLES
$ leth abi list
```_See code: [dist/commands/abi/list.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/abi/list.ts)_
## `leth abi update ABIPATH`
updates contract abi
```
USAGE
$ leth abi update ABIPATHARGUMENTS
ABIPATH path to abiDESCRIPTION
updates contract abiALIASES
$ leth abi-updateEXAMPLES
$ leth abi update ./erc20ABI.json
```_See code: [dist/commands/abi/update.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/abi/update.ts)_
## `leth address-balance ADDRESSORENS`
gets the eth balance of an address
```
USAGE
$ leth address-balance ADDRESSORENS [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai] [--wei | --kwei | --mwei | --gwei |
--szabo | --finney | --ether]ARGUMENTS
ADDRESSORENS account address or ens nameFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--ether eth denomination
--finney eth denomination
--goerli provider network
--gwei eth denomination
--kwei eth denomination
--mainnet provider network
--mwei eth denomination
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider network
--szabo eth denomination
--wei eth denominationDESCRIPTION
gets the eth balance of an addressALIASES
$ leth address-balanceEXAMPLES
$ leth address-balance 0xF51CD0d607c82db2B70B678554c52C266a9D49B6 --mainnet$ leth address-balance valentineorga.eth --rpc_url=[PROVIDER_URL]
$ leth address-balance 0xF51CD0d607c82db2B70B678554c52C266a9D49B6 --mainnet --wei
```## `leth address-generate`
generates a new address
```
USAGE
$ leth address-generate [--export]FLAGS
--export exports address details to a new file `0xnewAddress.json` in the current directoryDESCRIPTION
generates a new addressALIASES
$ leth address-generateEXAMPLES
$ leth address-generate$ lethaddress-generate --export
```## `leth address balance ADDRESSORENS`
gets the eth balance of an address
```
USAGE
$ leth address balance ADDRESSORENS [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai] [--wei | --kwei | --mwei | --gwei |
--szabo | --finney | --ether]ARGUMENTS
ADDRESSORENS account address or ens nameFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--ether eth denomination
--finney eth denomination
--goerli provider network
--gwei eth denomination
--kwei eth denomination
--mainnet provider network
--mwei eth denomination
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider network
--szabo eth denomination
--wei eth denominationDESCRIPTION
gets the eth balance of an addressALIASES
$ leth address-balanceEXAMPLES
$ leth address balance 0xF51CD0d607c82db2B70B678554c52C266a9D49B6 --mainnet$ leth address balance valentineorga.eth --rpc_url=[PROVIDER_URL]
$ leth address balance 0xF51CD0d607c82db2B70B678554c52C266a9D49B6 --mainnet --wei
```_See code: [dist/commands/address/balance.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/address/balance.ts)_
## `leth address generate`
generates a new address
```
USAGE
$ leth address generate [--export]FLAGS
--export exports address details to a new file `0xnewAddress.json` in the current directoryDESCRIPTION
generates a new addressALIASES
$ leth address-generateEXAMPLES
$ leth address generate$ lethaddress generate --export
```_See code: [dist/commands/address/generate.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/address/generate.ts)_
## `leth contract ADDRESS ABI`
exposes a `contract` instance in a REPL environment for making contract calls
```
USAGE
$ leth contract ADDRESS ABI [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai] [--privateKey ]ARGUMENTS
ADDRESS contract address
ABI abi name saved using `yeet abi-add`FLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--privateKey= private key of transaction signer
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
exposes a `contract` instance in a REPL environment for making contract callsALIASES
$ leth contractEXAMPLES
$ leth contract 0xF51CD0d607c82db2B7EB670554C82C276A9549B4 erc20ABI --mainnet> await contract.name()
> await contract.getterFunction()
$ leth contract 0xF51CD0d607c82db2B7EB670554C82C276A9549B4 erc20ABI --private_key=0xdf57089febbacf7ba0bc227dafbffa9fc08a93fdc68e1e42411a14efcf23656e --mainnet
> await contract.mint()
> await contract.setterFunction({value: '10000000000000'})
```## `leth contract interact ADDRESS ABI`
exposes a `contract` instance in a REPL environment for making contract calls
```
USAGE
$ leth contract interact ADDRESS ABI [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai] [--privateKey ]ARGUMENTS
ADDRESS contract address
ABI abi name saved using `yeet abi-add`FLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--privateKey= private key of transaction signer
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
exposes a `contract` instance in a REPL environment for making contract callsALIASES
$ leth contractEXAMPLES
$ leth contract interact 0xF51CD0d607c82db2B7EB670554C82C276A9549B4 erc20ABI --mainnet> await contract.name()
> await contract.getterFunction()
$ leth contract interact 0xF51CD0d607c82db2B7EB670554C82C276A9549B4 erc20ABI --private_key=0xdf57089febbacf7ba0bc227dafbffa9fc08a93fdc68e1e42411a14efcf23656e --mainnet
> await contract.mint()
> await contract.setterFunction({value: '10000000000000'})
```_See code: [dist/commands/contract/interact.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/contract/interact.ts)_
## `leth convert UNIT`
convert from eth to wei or vice versa
```
USAGE
$ leth convert UNIT [--wei]ARGUMENTS
UNIT number to convertFLAGS
--wei eth denominationDESCRIPTION
convert from eth to wei or vice versaEXAMPLES
$ leth convert 1000000000000000000$ leth convert 1 --wei
```_See code: [dist/commands/convert.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/convert.ts)_
## `leth ens-buy NAME OWNER [DURATION]`
helps you register a new ens
```
USAGE
$ leth ens-buy NAME OWNER [DURATION] --privateKey [--mainnet | --rpc_url | | --sepolia |
--goerli | --arbitrum | --arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
NAME ENS domain name to register
OWNER Owner address of the ENS domain
DURATION [default: 1] Registration duration in secondsFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--privateKey= (required) Private key to sign transaction
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
helps you register a new ensALIASES
$ leth ens-buyEXAMPLES
$ leth ens-buy 0xtumenD.eth 0x33C17B73D8F961Fd98a7f180a8d7a9B32aCB4ECE 1 --goerli --privateKey [PRIVATE-KEY]
```## `leth ens-lookup`
resolves an ens to ethereum address and vice versa
```
USAGE
$ leth ens-lookup [--domain ] [--address ] [--mainnet | --rpc_url | | --sepolia |
--goerli | --arbitrum | --arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]FLAGS
--address= Your address to be resolved
--arbitrum provider network
--arbitrumGoerli provider network
--domain= Your ENS domain to be resolved
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
resolves an ens to ethereum address and vice versaALIASES
$ leth ens-lookupEXAMPLES
$ leth ens-lookup --mainnet --domain 0xlight$ leth ens-lookup --mainnet --address 0x00..00
```## `leth ens-search [NAME]`
search if an ens name is still available
```
USAGE
$ leth ens-search [NAME] [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
NAME the ens you are searchingFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
search if an ens name is still availableALIASES
$ leth ens-searchEXAMPLES
$ leth ens-search --mainnet myensdomain.eth
```## `leth ens buy NAME OWNER [DURATION]`
helps you register a new ens
```
USAGE
$ leth ens buy NAME OWNER [DURATION] --privateKey [--mainnet | --rpc_url | | --sepolia |
--goerli | --arbitrum | --arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
NAME ENS domain name to register
OWNER Owner address of the ENS domain
DURATION [default: 1] Registration duration in secondsFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--privateKey= (required) Private key to sign transaction
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
helps you register a new ensALIASES
$ leth ens-buyEXAMPLES
$ leth ens buy 0xtumenD.eth 0x33C17B73D8F961Fd98a7f180a8d7a9B32aCB4ECE 1 --goerli --privateKey [PRIVATE-KEY]
```_See code: [dist/commands/ens/buy.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/ens/buy.ts)_
## `leth ens lookup`
resolves an ens to ethereum address and vice versa
```
USAGE
$ leth ens lookup [--domain ] [--address ] [--mainnet | --rpc_url | | --sepolia |
--goerli | --arbitrum | --arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]FLAGS
--address= Your address to be resolved
--arbitrum provider network
--arbitrumGoerli provider network
--domain= Your ENS domain to be resolved
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
resolves an ens to ethereum address and vice versaALIASES
$ leth ens-lookupEXAMPLES
$ leth ens lookup --mainnet --domain 0xlight$ leth ens lookup --mainnet --address 0x00..00
```_See code: [dist/commands/ens/lookup.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/ens/lookup.ts)_
## `leth ens search [NAME]`
search if an ens name is still available
```
USAGE
$ leth ens search [NAME] [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
NAME the ens you are searchingFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
search if an ens name is still availableALIASES
$ leth ens-searchEXAMPLES
$ leth ens search --mainnet myensdomain.eth
```_See code: [dist/commands/ens/search.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/ens/search.ts)_
## `leth help [COMMANDS]`
Display help for leth.
```
USAGE
$ leth help [COMMANDS] [-n]ARGUMENTS
COMMANDS Command to show help for.FLAGS
-n, --nested-commands Include all nested commands in the output.DESCRIPTION
Display help for leth.
```_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.15/src/commands/help.ts)_
## `leth plugins`
List installed plugins.
```
USAGE
$ leth plugins [--json] [--core]FLAGS
--core Show core plugins.GLOBAL FLAGS
--json Format output as json.DESCRIPTION
List installed plugins.EXAMPLES
$ leth plugins
```_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.2.0/src/commands/plugins/index.ts)_
## `leth plugins:install PLUGIN...`
Installs a plugin into the CLI.
```
USAGE
$ leth plugins:install PLUGIN...ARGUMENTS
PLUGIN Plugin to install.FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verboseDESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.ALIASES
$ leth plugins addEXAMPLES
$ leth plugins:install myplugin$ leth plugins:install https://github.com/someuser/someplugin
$ leth plugins:install someuser/someplugin
```## `leth plugins:inspect PLUGIN...`
Displays installation properties of a plugin.
```
USAGE
$ leth plugins:inspect PLUGIN...ARGUMENTS
PLUGIN [default: .] Plugin to inspect.FLAGS
-h, --help Show CLI help.
-v, --verboseGLOBAL FLAGS
--json Format output as json.DESCRIPTION
Displays installation properties of a plugin.EXAMPLES
$ leth plugins:inspect myplugin
```_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.2.0/src/commands/plugins/inspect.ts)_
## `leth plugins:install PLUGIN...`
Installs a plugin into the CLI.
```
USAGE
$ leth plugins:install PLUGIN...ARGUMENTS
PLUGIN Plugin to install.FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verboseDESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.ALIASES
$ leth plugins addEXAMPLES
$ leth plugins:install myplugin$ leth plugins:install https://github.com/someuser/someplugin
$ leth plugins:install someuser/someplugin
```_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.2.0/src/commands/plugins/install.ts)_
## `leth plugins:link PLUGIN`
Links a plugin into the CLI for development.
```
USAGE
$ leth plugins:link PLUGINARGUMENTS
PATH [default: .] path to pluginFLAGS
-h, --help Show CLI help.
-v, --verboseDESCRIPTION
Links a plugin into the CLI for development.
Installation of a linked plugin will override a user-installed or core plugin.e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.EXAMPLES
$ leth plugins:link myplugin
```_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.2.0/src/commands/plugins/link.ts)_
## `leth plugins:uninstall PLUGIN...`
Removes a plugin from the CLI.
```
USAGE
$ leth plugins:uninstall PLUGIN...ARGUMENTS
PLUGIN plugin to uninstallFLAGS
-h, --help Show CLI help.
-v, --verboseDESCRIPTION
Removes a plugin from the CLI.ALIASES
$ leth plugins unlink
$ leth plugins remove
```## `leth plugins:uninstall PLUGIN...`
Removes a plugin from the CLI.
```
USAGE
$ leth plugins:uninstall PLUGIN...ARGUMENTS
PLUGIN plugin to uninstallFLAGS
-h, --help Show CLI help.
-v, --verboseDESCRIPTION
Removes a plugin from the CLI.ALIASES
$ leth plugins unlink
$ leth plugins remove
```_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.2.0/src/commands/plugins/uninstall.ts)_
## `leth plugins:uninstall PLUGIN...`
Removes a plugin from the CLI.
```
USAGE
$ leth plugins:uninstall PLUGIN...ARGUMENTS
PLUGIN plugin to uninstallFLAGS
-h, --help Show CLI help.
-v, --verboseDESCRIPTION
Removes a plugin from the CLI.ALIASES
$ leth plugins unlink
$ leth plugins remove
```## `leth plugins update`
Update installed plugins.
```
USAGE
$ leth plugins update [-h] [-v]FLAGS
-h, --help Show CLI help.
-v, --verboseDESCRIPTION
Update installed plugins.
```_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v3.2.0/src/commands/plugins/update.ts)_
## `leth transfer-file FILE PRIVATEKEY`
Handle transfer of tokens from a file
```
USAGE
$ leth transfer-file FILE PRIVATEKEY [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
FILE file to read
PRIVATEKEY private key of transaction signerFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
Handle transfer of tokens from a fileALIASES
$ leth transfer-fileEXAMPLES
$ leth transfer-file ./test.csv PRIVATE_KEY
```## `leth transfer-multiple TO AMOUNT PRIVATEKEY`
Handles multiple transfer of same amount of token to different addresses
```
USAGE
$ leth transfer-multiple TO AMOUNT PRIVATEKEY [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
TO address of receivers (comma seperated)
AMOUNT amount in eth
PRIVATEKEY private key of transaction signerFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
Handles multiple transfer of same amount of token to different addressesALIASES
$ leth transfer-multipleEXAMPLES
$ leth transfer-multiple 0xYourAddress1,0xYourENS,0xYourAddress3 5 PRIVATE_KEY --mainet
```## `leth transfer-percentage TO PERCENTAGE AMOUNT PRIVATEKEY`
handles transfer of percentage of an amount to a list of addresses
```
USAGE
$ leth transfer-percentage TO PERCENTAGE AMOUNT PRIVATEKEY [--mainnet | --rpc_url | | --sepolia | --goerli |
--arbitrum | --arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
TO address of receivers (comma seperated)
PERCENTAGE Percentage to transfer to each user. (Must match the number of addresses; comma seperated)
AMOUNT amount in eth
PRIVATEKEY private key of transaction signerFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
handles transfer of percentage of an amount to a list of addressesALIASES
$ leth transfer-percentageEXAMPLES
$ leth transfer-percentage 0xYourAddress1,0xYourENS,0xYourAddress3 30,30,40 5 PRIVATE_KEY --mainet
```## `leth transfer-single TO AMOUNT PRIVATEKEY`
handles transfer of token to a single address
```
USAGE
$ leth transfer-single TO AMOUNT PRIVATEKEY [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
TO address of receiver
AMOUNT amount in eth
PRIVATEKEY private key of transaction signerFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
handles transfer of token to a single addressALIASES
$ leth transfer-singleEXAMPLES
$ leth transfer-single 0xYourAddress1 5 --mainnet
```## `leth transfer file FILE PRIVATEKEY`
Handle transfer of tokens from a file
```
USAGE
$ leth transfer file FILE PRIVATEKEY [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
FILE file to read
PRIVATEKEY private key of transaction signerFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
Handle transfer of tokens from a fileALIASES
$ leth transfer-fileEXAMPLES
$ leth transfer file ./test.csv PRIVATE_KEY
```_See code: [dist/commands/transfer/file.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/transfer/file.ts)_
## `leth transfer multiple TO AMOUNT PRIVATEKEY`
Handles multiple transfer of same amount of token to different addresses
```
USAGE
$ leth transfer multiple TO AMOUNT PRIVATEKEY [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
TO address of receivers (comma seperated)
AMOUNT amount in eth
PRIVATEKEY private key of transaction signerFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
Handles multiple transfer of same amount of token to different addressesALIASES
$ leth transfer-multipleEXAMPLES
$ leth transfer multiple 0xYourAddress1,0xYourENS,0xYourAddress3 5 PRIVATE_KEY --mainet
```_See code: [dist/commands/transfer/multiple.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/transfer/multiple.ts)_
## `leth transfer percentage TO PERCENTAGE AMOUNT PRIVATEKEY`
handles transfer of percentage of an amount to a list of addresses
```
USAGE
$ leth transfer percentage TO PERCENTAGE AMOUNT PRIVATEKEY [--mainnet | --rpc_url | | --sepolia | --goerli |
--arbitrum | --arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
TO address of receivers (comma seperated)
PERCENTAGE Percentage to transfer to each user. (Must match the number of addresses; comma seperated)
AMOUNT amount in eth
PRIVATEKEY private key of transaction signerFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
handles transfer of percentage of an amount to a list of addressesALIASES
$ leth transfer-percentageEXAMPLES
$ leth transfer percentage 0xYourAddress1,0xYourENS,0xYourAddress3 30,30,40 5 PRIVATE_KEY --mainet
```_See code: [dist/commands/transfer/percentage.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/transfer/percentage.ts)_
## `leth transfer single TO AMOUNT PRIVATEKEY`
handles transfer of token to a single address
```
USAGE
$ leth transfer single TO AMOUNT PRIVATEKEY [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
TO address of receiver
AMOUNT amount in eth
PRIVATEKEY private key of transaction signerFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
handles transfer of token to a single addressALIASES
$ leth transfer-singleEXAMPLES
$ leth transfer single 0xYourAddress1 5 --mainnet
```_See code: [dist/commands/transfer/single.ts](https://github.com/Hack-Light/leth-cli/blob/v1.0.1/dist/commands/transfer/single.ts)_
- [`leth abi-add ABIPATH`](#leth-abi-add-name-abipath)
- [`leth abi-delete`](#leth-abi-delete-name)
- [`leth abi-functions`](#leth-abi-functions-name)
- [`leth abi-list`](#leth-abi-list)
- [`leth abi-update ABIPATH`](#leth-abi-update-name-abipath)
- [`leth address-balance ADDRESS|ENS`](#leth-account-balance-ADDRESS|ENS)
- [`leth address-generate`](#leth-address-generate)
- [`leth contract ADDRESS ABI`](#leth-contract-address-abi)
- [`leth convert UNIT`](#leth-convert-unit)
- [`leth ens-buy ENS`](#leth-ens-buy-ens)
- [`leth ens-lookup`](#leth-ens-lookup)
- [`leth ens-search ENS`](#leth-ens-search-ens)
- [`leth help [COMMANDS]`](#leth-help-commands)
- [`leth plugins`](#leth-plugins)
- [`leth plugins:install PLUGIN...`](#leth-pluginsinstall-plugin)
- [`leth plugins:inspect PLUGIN...`](#leth-pluginsinspect-plugin)
- [`leth plugins:install PLUGIN...`](#leth-pluginsinstall-plugin-1)
- [`leth plugins:link PLUGIN`](#leth-pluginslink-plugin)
- [`leth plugins:uninstall PLUGIN...`](#leth-pluginsuninstall-plugin)
- [`leth plugins:uninstall PLUGIN...`](#leth-pluginsuninstall-plugin-1)
- [`leth plugins:uninstall PLUGIN...`](#leth-pluginsuninstall-plugin-2)
- [`leth plugins update`](#leth-plugins-update)
- [`leth transfer-file [PATH] [KEY]`](#leth-transfer-file-path-key)
- [`leth transfer-multiple TO(s) AMOUNT [KEY]`](#leth-transfer-multiple-to-amount-key)
- [`leth transfer-percentage TO(s) PERCENTAGE(s) AMOUNT [KEY]`](#leth-transfer-percentage-to-amount-key)
- [`leth transfer-single TO AMOUNT [KEY]`](#leth-transfer-single-to-amount-key)## `leth abi NAME`
gets abi from storage
```
USAGE
$ leth abi NAMEARGUMENTS
NAME abi name in storageDESCRIPTION
gets abi from storageEXAMPLES
$ leth abi erc20ABI
```_See code: [dist/commands/abi/index.ts]()_
## `leth abi-add NAME ABIPATH`
stores contract abi
```
USAGE
$ leth abi-add ABIPATHARGUMENTS
ABIPATH path to abiDESCRIPTION
stores contract abiALIASES
$ leth abi-addEXAMPLES
$ leth abi-add ./erc20ABI.json
```## `leth abi-delete`
deletes contract abi
```
USAGE
$ leth abi-deleteARGUMENTS
DESCRIPTION
removes contract abiALIASES
$ leth abi-deleteEXAMPLES
$ leth abi-delete
```## `leth abi-functions`
lists all methods of abi
```
USAGE
$ leth abi-methodsARGUMENTS
NAME abi name in storageDESCRIPTION
lists all methods of abiALIASES
$ leth abi-methodsEXAMPLES
$ leth abi-methods
```## `leth abi-list`
lists all stored abi names
```
USAGE
$ leth abi-listDESCRIPTION
lists all stored abi namesALIASES
$ leth abi-listEXAMPLES
$ leth abi-list
```## `leth abi-update ABIPATH`
updates contract abi
```
USAGE
$ leth abi-update ABIPATHARGUMENTS
ABIPATH path to abiDESCRIPTION
updates contract abiALIASES
$ leth abi-updateEXAMPLES
$ leth abi-update ./erc20ABI.json
```## `leth address-balance ADDRESS|ENS`
gets address balance of address or ens. default network: localhost
```
USAGE
$ leth address-balance ADDRESSorENS [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai] [--wei | --kwei | --mwei | --gwei |
--szabo | --finney | --ether]ARGUMENTS
ADDRESSORENS account address or ens nameFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--ether eth denomination
--finney eth denomination
--goerli provider network
--gwei eth denomination
--kwei eth denomination
--mainnet provider network
--mwei eth denomination
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider network
--szabo eth denomination
--wei eth denominationDESCRIPTION
gets address balance of address or ens. default network: localhostALIASES
$ leth account-balanceEXAMPLES
$ leth account-balance 0xF51CD0d607c82db2B70B678554c52C266a9D49B6 --mainnet$ leth account-balance valentineorga.eth --rpc_url=[PROVIDER_URL]
$ leth account-balance 0xF51CD0d607c82db2B70B678554c52C266a9D49B6 --mainnet --wei
```## `leth address-generate`
generates a new random address
```
USAGE
$ leth address-generate [--export]FLAGS
--export enables export for mnemonic and private key to '0xnewAddress.json' file in current directoryDESCRIPTION
generates a new random addressEXAMPLES
$ leth address-generate$ leth address-generate --export
```_See code: [dist/commands/generateAccount.ts](https://github.com/ValentineCodes/leth/blob/v1.0.0/dist/commands/generateAccount.ts)_
## `leth contract ADDRESS ABI`
exposes a `contract` instance in a REPL environment for making contract calls
```
USAGE
$ leth contract ADDRESS ABI [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai] [--privateKey ]ARGUMENTS
ADDRESS contract address
ABI abi name saved using `leth abi-add`FLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--privateKey= private key of transaction signer
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
exposes a `contract` instance in a REPL environment for making contract callsEXAMPLES
$ leth contract 0xF51CD0d607c82db2B7EB670554C82C276A9549B4 erc20ABI --mainnet> await contract.name()
> await contract.getterFunction()
$ leth contract 0xF51CD0d607c82db2B7EB670554C82C276A9549B4 erc20ABI --privateKey=0xdf57089febbacf7ba0bc227dafbffa9fc08a93fdc68e1e42411a14efcf23656e --mainnet
> await contract.mint()
> await contract.setterFunction({value: '10000000000000'})
```## `leth convert UNIT`
convert from eth to wei or vice versa
```
USAGE
$ leth convert UNIT [--wei]ARGUMENTS
UNIT number to convertFLAGS
--wei eth denominationDESCRIPTION
convert from eth to wei or vice versaEXAMPLES
$ leth convert 1000000000000000000$ leth convert 1 --wei
```## `leth ens-buy NAME OWNER_ADDRESS DURATION`
helps register a new ens name
```
USAGE
$ leth ens-buy NAME OWNER_ADDRESS DURATION [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai] [--privateKey ]ARGUMENTS
ADDRESS contract address
ABI abi name saved using `leth abi-add`FLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--privateKey= private key of transaction signer
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
helps you register a new ens nameEXAMPLES
$ leth 0xtumenD.eth 0x33C17B73D8F961Fd98a7f180a8d7a9B32aCB4ECE 1 --goerli --privateKey [PRIVATE-KEY]
```## `leth ens-lookup`
resolves an ens to ethereum address and vice versa
```
USAGE
$ leth ens-lookup [--domain | --address ] [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
ACCOUNT account addressFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider network
--address address you want to resolve
--domain ens name you want to resolveDESCRIPTION
resolves an ens to ethereum address and vice versaALIASES
$ leth ens-lookupEXAMPLES
$ leth ens-lookup --mainnet --domain 0xlight$ leth ens-lookup --address 0x00..00 --rpc_url=[PROVIDER_URL]
```## `leth ens-search ENS`
search if an ens name is still available
```
USAGE
$ leth ens-search NAME [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum |
--arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
ACCOUNT account addressFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
search if an ens name is still availableALIASES
$ leth ens-searchEXAMPLES
$ leth ens-search --mainnet 0xlight
```## `leth help [COMMANDS]`
Display help for leth.
```
USAGE
$ leth help [COMMANDS] [-n]ARGUMENTS
COMMANDS Command to show help for.FLAGS
-n, --nested-commands Include all nested commands in the output.DESCRIPTION
Display help for leth.
```_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.2.9/src/commands/help.ts)_
## `leth plugins`
List installed plugins.
```
USAGE
$ leth plugins [--core]FLAGS
--core Show core plugins.DESCRIPTION
List installed plugins.EXAMPLES
$ leth plugins
```_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v2.4.7/src/commands/plugins/index.ts)_
## `leth plugins:install PLUGIN...`
Installs a plugin into the CLI.
```
USAGE
$ leth plugins:install PLUGIN...ARGUMENTS
PLUGIN Plugin to install.FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verboseDESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.ALIASES
$ leth plugins addEXAMPLES
$ leth plugins:install myplugin$ leth plugins:install https://github.com/someuser/someplugin
$ leth plugins:install someuser/someplugin
```## `leth plugins:inspect PLUGIN...`
Displays installation properties of a plugin.
```
USAGE
$ leth plugins:inspect PLUGIN...ARGUMENTS
PLUGIN [default: .] Plugin to inspect.FLAGS
-h, --help Show CLI help.
-v, --verboseGLOBAL FLAGS
--json Format output as json.DESCRIPTION
Displays installation properties of a plugin.EXAMPLES
$ leth plugins:inspect myplugin
```## `leth plugins:install PLUGIN...`
Installs a plugin into the CLI.
```
USAGE
$ leth plugins:install PLUGIN...ARGUMENTS
PLUGIN Plugin to install.FLAGS
-f, --force Run yarn install with force flag.
-h, --help Show CLI help.
-v, --verboseDESCRIPTION
Installs a plugin into the CLI.
Can be installed from npm or a git url.Installation of a user-installed plugin will override a core plugin.
e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command
will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in
the CLI without the need to patch and update the whole CLI.ALIASES
$ leth plugins addEXAMPLES
$ leth plugins:install myplugin$ leth plugins:install https://github.com/someuser/someplugin
$ leth plugins:install someuser/someplugin
```## `leth plugins:link PLUGIN`
Links a plugin into the CLI for development.
```
USAGE
$ leth plugins:link PLUGINARGUMENTS
PATH [default: .] path to pluginFLAGS
-h, --help Show CLI help.
-v, --verboseDESCRIPTION
Links a plugin into the CLI for development.
Installation of a linked plugin will override a user-installed or core plugin.e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello'
command will override the user-installed or core plugin implementation. This is useful for development work.EXAMPLES
$ leth plugins:link myplugin
```## `leth plugins:uninstall PLUGIN...`
Removes a plugin from the CLI.
```
USAGE
$ leth plugins:uninstall PLUGIN...ARGUMENTS
PLUGIN plugin to uninstallFLAGS
-h, --help Show CLI help.
-v, --verboseDESCRIPTION
Removes a plugin from the CLI.ALIASES
$ leth plugins unlink
$ leth plugins remove
```## `leth plugins:uninstall PLUGIN...`
Removes a plugin from the CLI.
```
USAGE
$ leth plugins:uninstall PLUGIN...ARGUMENTS
PLUGIN plugin to uninstallFLAGS
-h, --help Show CLI help.
-v, --verboseDESCRIPTION
Removes a plugin from the CLI.ALIASES
$ leth plugins unlink
$ leth plugins remove
```## `leth plugins:uninstall PLUGIN...`
Removes a plugin from the CLI.
```
USAGE
$ leth plugins:uninstall PLUGIN...ARGUMENTS
PLUGIN plugin to uninstallFLAGS
-h, --help Show CLI help.
-v, --verboseDESCRIPTION
Removes a plugin from the CLI.ALIASES
$ leth plugins unlink
$ leth plugins remove
```## `leth plugins update`
Update installed plugins.
```
USAGE
$ leth plugins update [-h] [-v]FLAGS
-h, --help Show CLI help.
-v, --verboseDESCRIPTION
Update installed plugins.
```## `leth transfer-file FILE privateKey`
handle transfer of funds from a file
```
USAGE
$ leth transfer-file FILE privateKey [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum
| --arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
FILE path to .csv file
privateKey private key of transaction signerFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
handle transfer of funds from a fileEXAMPLES
$ leth transfer-file ./test.csvSAMPLE .csv FILE CONTENT
0xDf3e342F10d786365E00baf3722D74b35CCafC2a,0.0005
0x33C17B73D8F961Fd98a7f180a8d7a9B32aCB4ECE,0.0005
```_See code: [dist/commands/transfer.ts](https://github.com/ValentineCodes/leth/blob/v1.2.1/dist/commands/transfer.ts)_
## `leth transfer-multiple TO AMOUNT privateKey`
handles multiple transfer of same amount of fund to different addresses
```
USAGE
$ leth transfer-multiple TO AMOUNT privateKey [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum
| --arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
TO address of receivers (comma seperated)
AMOUNT amount in eth
privateKey private key of transaction signerFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
handles multiple transfer of same amount of fund to different addressesEXAMPLES
$ leth transfer-multiple 0xYourAddress1,0xYourENS,0xYourAddress3 5 --mainnet
```_See code: [dist/commands/transfer.ts]()_
## `leth transfer-percentage TO PERCENTAGE AMOUNT privateKey`
handles transfer of percentage of an amount to a list of addresses
```
USAGE
$ leth transfer-percentage TO PERCENTAGE AMOUNT privateKey [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum
| --arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
TO address of receivers (comma seperated)
PERCENTAGE percentage to send to each address (comma seperated and must match the number of addresses)
AMOUNT amount in eth
privateKey private key of transaction signerFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
handles transfer of percentage of an amount to a list of addressesEXAMPLES
$ leth transfer-percentage 0xYourAddress1,0xYourENS,0xYourAddress3 30,30,40 5 --mainnet
```_See code: [dist/commands/transfer.ts]()_
## `leth transfer-single TO AMOUNT privateKey`
handles transfer of token to a single address
```
USAGE
$ leth transfer-single TO AMOUNT privateKey [--mainnet | --rpc_url | | --sepolia | --goerli | --arbitrum
| --arbitrumGoerli | --optimism | --optimismGoerli | --polygon | --polygonMumbai]ARGUMENTS
TO address of receiver
AMOUNT amount in eth
privateKey private key of transaction signerFLAGS
--arbitrum provider network
--arbitrumGoerli provider network
--goerli provider network
--mainnet provider network
--optimism provider network
--optimismGoerli provider network
--polygon provider network
--polygonMumbai provider network
--rpc_url= provider network rpc url
--sepolia provider networkDESCRIPTION
handles transfer of token to a single addressEXAMPLES
$ leth transfer-single 0xYourAddress1 5 --mainnet
```_See code: [dist/commands/transfer.ts]()_