If you see this section, you've just created a repository using PoC Innovation's Open-Source project template. Check the getting started guide.
Kermit is a powerful, user-friendly command-line interface (CLI) designed for Alephium to interact with a blockchain node and manage wallets. Whether you're a developer, node operator, or enthusiast, Kermit provides essential utilities to manage blockchain nodes, perform wallet operations, monitor mempool transactions, and retrieve various node metrics.
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡴⠖⠛⠛⠛⠛⠳⢯⣁⣀⣤⡴⠦⣥⣀⣬⣷⠶⠭⣥⣄⡀⣠⡼⢤⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡴⠋⠀⣠⣶⣶⣶⠶⠂⠀⠹⣯⠀⢠⣤⣤⠉⠁⠀⣀⣀⠀⠈⠙⢻⣷⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⠁⠀⣠⡿⠟⠋⠀⠀⢀⣠⡶⠛⠀⠀⠀⠹⣦⡀⠀⠈⢻⣿⣷⣤⠀⠹⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣸⣷⠀⠀⣉⠀⠀⣀⣠⠴⠛⠁⠀⡀⠤⠑⠀⡀⠈⠳⣄⠀⠀⠙⢻⣿⠀⠀⣿⣷⡄⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⢀⡤⠞⠋⠁⠘⠳⠶⠶⠶⠛⠋⡁⠠⠐⠤⢁⠂⠀⠀⠀⠀⠀⠀⠉⠳⣤⣀⠈⠋⠀⣰⣿⣸⡇⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⣰⠏⣠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⢀⠒⠠⠘⡀⠂⠀⠀⠀⠀⠀⠀⠀⠀⠉⠓⠶⠖⠛⢿⣯⣦⣀⣤⣀⣄⣀⡀⠀ ⠀⠀⠀⠀⠀⠀⢸⠇⣸⣿⡄⠀⠠⠄⠁⠀⠀⠀⠀⠀⡈⠄⠒⡠⠐⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢳⣌⣷⠀⢿⠛⠻⡅ ⠀⠀⠀⠀⠀⠀⢺⡄⡹⢾⣷⡀⠀⠀⠀⠀⠀⠀⠀⠌⠀⢂⠁⢂⠁⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⢻⣿⠀⢸⡇⠀⡇ ⠀⠀⠀⠀⠀⠀⢸⡇⢼⡹⣟⣿⡄⠰⣬⣡⠂⢒⠠⢌⠂⡌⠢⠁⢀⠐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⡧⣾⣿⠀⠀⠇⠀⣇ ⠀⠀⠀⠀⠀⠀⠀⢹⡜⣵⢫⢟⣷⡀⠀⠙⠻⣦⣶⣬⣄⣂⡐⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣀⡀⣠⠴⠛⢫⢵⣿⠧⠀⠀⣸⠀⡿ ⠀⠀⠀⠀⠀⠀⢀⣠⣿⡜⠦⢋⠞⢷⠀⠀⡠⢄⡉⠝⡋⠟⠿⠿⠷⠷⠶⠶⠾⠞⠛⠛⠛⠋⠉⠀⠀⠀⠠⠌⡑⢂⣿⢯⠃⠀⠀⠃⢀⣇ ⠀⢀⣀⣤⠶⠋⠁⣀⣤⣷⡄⠀⢎⡘⢦⠰⣱⢢⢉⠮⡑⢮⠰⣀⠆⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⣈⣤⡿⠃⠀⢀⠆⠀⠀⣼⡍ ⠚⠋⢁⣠⠤⢒⢾⡻⣽⢯⣿⡄⠺⣄⠣⡙⢆⡣⢞⡰⡙⢦⢣⢍⡚⢆⢳⠘⡄⠣⠉⠆⢀⡀⢀⠀⢀⢀⣷⠟⠉⠀⢀⡴⠋⠀⠀⢰⡏⠀ ⠠⠒⠉⢠⠒⣭⠶⡽⣧⢿⣿⣇⢶⣌⢡⠓⡬⢜⣣⠲⡙⢦⡉⠶⡘⢆⡣⣉⠘⣅⠚⡌⢂⠠⣁⣬⣾⠟⠃⠀⢀⠒⠈⠀⠀⣠⡴⠋⠀⠀ ⠀⠀⢈⠂⣋⠶⣹⢹⡞⣯⢿⣿⣌⠿⣧⡑⠘⡆⢧⡙⡝⢦⡙⡤⣙⠢⢥⢨⡑⢢⡙⢀⣣⣶⣿⡟⠁⡀⢄⣰⣦⣋⣤⡶⠛⠁⠀⠀⠀⠀ ⠤⠶⠲⢞⣲⠶⠃⡓⢞⡵⣻⣿⣧⢫⠽⣿⣌⠘⢤⠹⡜⣡⠞⡰⡡⢞⢢⡱⡌⠧⣘⣾⣿⢫⣿⠀⠂⠄⠸⢹⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⡴⣩⠞⠁⠀⠀⠌⣈⠲⢍⣿⣿⣌⠫⣝⡻⣧⢀⠫⡜⢤⠋⣖⡙⢦⢃⢖⠩⡒⣿⠋⡞⢿⡿⠀⠄⠀⠀⠀⢻⡆⠀⠀⠀⠀⠀⠀⠀⠀ ⠴⠋⠀⠀⠀⠀⠀⠀⠀⠀⠈⡘⢿⣧⡓⣌⠳⣙⢧⢣⠘⡥⢚⠤⡹⢌⡩⢌⣢⣿⠋⠀⠰⢸⣿⠀⠈⠄⠀⠀⠀⢻⣇⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⢀⣀⣠⣤⡾⠀⠈⠹⢷⣮⣛⡶⣎⣆⠏⣜⡩⢒⡱⢎⣔⣻⡿⠁⠀⠀⠹⣼⣿⡆⢁⠠⠀⠄⠀⠈⣏⣻⠀⠀⠀⠀⠀⠀ ⢠⠴⠖⡲⠛⡭⣁⠐⣨⡿⠈⠀⠀⠀⠀⠉⠛⠛⠻⠻⠿⢶⣧⣷⣶⡷⡾⠋⠀⠀⠀⠀⠀⠉⢻⣷⡈⢠⠀⠀⠀⠀⢸⡟⠀⠀⠀⠀⠀⠀ ⣀⠂⣏⠴⣉⠶⣈⢰⡿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⡀⢀⠀⠀⠰⣤⠀⠀⠀⠀⠈⠹⣧⡀⢄⠂⠀⠀⠀⣷⡆⠀⠀⠀⠀⠀ ⠀⢀⢻⣞⡯⢷⣠⡿⠁⠀⠀⠀⠀⠀⣀⣼⣇⠀⠀⠀⠀⠀⠀⢘⡇⠀⠀⠀⠀⣿⣿⣦⣄⠀⠀⠀⢿⡔⡈⠔⡀⠀⠀⠸⣇⠀⠀⠀⠀⠀ ⠀⠌⡎⢷⣹⢧⡿⠁⠀⠀⠀⠀⣠⡾⠋⠡⣿⠀⠀⠀⠀⠀⠀⣼⡆⠀⠀⠀⢠⣿⣿⡿⢿⠻⡶⣦⣼⣷⣁⠂⡠⠀⠀⠀⠛⠆⠤⢀⡀⠀ ⠀⠘⡬⢻⣽⡿⠁⠀⠀⣀⣴⠟⠃⠄⡀⢆⣿⠀⠀⠀⠀⠀⣼⣿⣿⡀⠀⢀⣼⣿⣿⣟⣎⠳⡱⢈⠉⠹⣇⠂⠄⠑⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⢘⣰⣻⣿⠁⠀⣠⡾⢋⡅⣨⠐⠠⠐⢬⣿⠀⠀⠀⠀⣸⣟⡯⢿⣇⠀⣸⣿⣿⣚⣿⣎⡷⣑⠣⡄⠀⢫⠌⢂⠠⠀⠀⠀⠀⠀⠀⠀⠀
Kermit is a command-line tool that allows users to interact with a blockchain node and manage wallets through a set of subcommands. The CLI follows a structured format, where each command corresponds to a specific operation related to either blockchain node management or wallet operations.
Basic Structure: The Kermit CLI is built using the Clap library, which organizes commands into a hierarchy of options and subcommands. The basic syntax for using Kermit is:
kermit [COMMAND] [SUBCOMMAND] [OPTIONS]
COMMAND
: Represents the main category of operations (e.g., wallet, infos).
SUBCOMMAND
: A specific action or operation under the selected command (e.g., create, status, list for wallet commands).
OPTIONS
: Additional arguments required to complete the command (e.g., URL, wallet name, password).
All command is based on the Alephium API
To set up the CLI, follow this 2 steps:
-
Clone the Kermit CLI repository:
git clone [email protected]:PoCInnovation/kermit.git
-
Install the program:
cargo install --path .
To set up the development environment, follow these steps:
-
Clone the Alephium Stack repository:
git clone [email protected]:alephium/alephium-stack.git
-
Navigate to the
devnet
directory:cd alephium-stack/devnet
-
Start the development environment with Docker:
docker-compose up -d
You just need to run the command with the parameters of your choice
```bash
kermit [COMMAND] [SUBCOMMAND] [OPTIONS]
```
Here are some examples of how to use the Kermit CLI:
Before using kermit, I recommand you to set the URL of Alephium API with the command
export URL=<URL>
-
Create a new wallet:
kermit wallet create <WALLET_NAME> <PASSWORD>
-
Transfer funds between wallets:
kermit tx create <SENDER_PUBLIC_KEY> <RECIPIENT_ADDRESS> <AMOUNT> --private-key <SENDER_PRIVATE_KEY>
-
Check balance of a wallet:
kermit address balance <ADDRESS>
-
Compile a contract:
kermit contracts compile tests/sub_contract.ral --contract-type project
You can do again more with kermit. I let you check the kermit --help
, to take a look on all possibilities
You're invited to join this project ! Check out the contributing guide.
If you're interested in how the project is organized at a higher level, please contact the current project manager.
Developers
![]() [Alexandre Timal] |
![]() [Nathan Flattin] |
![]() [Thomas Pommier] |
---|
🚀 Don't hesitate to follow us on our different networks, and put a star 🌟 on
PoC's
repositories
Made with ❤️ by PoC