To install the Kadena CLI using npm/pnpm, run the following command:
npm install -g @kadena/[email protected]
or
pnpm install -g @kadena/[email protected]
After installation, you can access the full suite of Kadena CLI functionalities. The CLI provides a range of commands for different operations, such as managing wallets, accounts, and transactions, as well as creating dApps, (PLANNED: run your devnets / deploy / upgrade contracts).
For a complete list of commands and their descriptions, please refer to the Kadena CLI documentation.
Clone this repository in order to be able to push your feedback form to the feedback folder.
git clone https://github.com/kadena-community/kadena-cli-user-test.git
To initialise within your project, use the following command:
kadena config init
Running config init, creates a account, a wallet, and your first key, see docs for more info:
https://github.com/kadena-community/kadena.js/tree/main/packages/tools/kadena-cli#kadena-config
We are committed to making Kadena CLI the best tool it can be for developers. As part of this commitment, we are seeking feedback from our user community. This feedback will be invaluable in identifying areas for improvement, enhancing usability, and adding new features.
Participation in the user feedback program involves completing specified scenarios using the Kadena CLI and documenting your experience. This process is structured around "Pair Programming Hour," where participants work in pairs, with one acting as the "driver" and the other as the "reporter."
Note: we use chain 0 since the faucet there is not empty !!
-
Pair Up: We will form pairs consisting of a driver and a reporter and add them to a breakout room. (this session will take 30 minutes, and will automatically be ended)
-
Execute Scenario: Finish all scenarios listed below.
-
Write down Feedback: The reporter will document the experience, including any challenges faced, areas for improvement, and overall feedback.
The feedback form is in ./round-two/feedback_form.md
Objective: Utilize the Kadena CLI to create and fund two accounts on the Testnet. Note that the config init
command typically creates an initial account. If config init
has been used, only one additional account needs to be created. If config init
has not been used, the steps should be repeated to create the second account.
Steps:
- Add an Account: Create a new account using the Kadena CLI, if less than two accounts exist.
- Fund the Account: Send funds to this account on chain 0.
- Check Balance: Verify the account balance to confirm the transaction.
- Repeat for Second Account (if necessary): If only one account exists after using
config init
or if no initial account was created, repeat the above steps to ensure a total of two accounts are set up.
More details on the account
command
Objective: Generate keys from a wallet using the Kadena CLI.
Steps:
- Generate Keys: If no wallet exists, create one first, then generate keys.
- List Keys: Display the available keys.
More details on the wallet
command
Objective: Perform a fund transfer between two accounts using the Kadena CLI.
Steps:
- Add Transaction: Select and use the transfer template.
- Sign Transaction: Authenticate the transaction.
- Test Transaction: Verify the transaction functionality.
- Send Transaction: Execute the transfer.
- Check Transaction Status: Monitor the status of the transaction and confirm the balances of both sender and receiver accounts.
More details on the tx
command
Objective: Update the password of a wallet and generate keys using the new security credentials.
Steps:
- Change Password: Update the password for an existing wallet.
- Generate Keys: Use the new password to generate keys.
Objective: Import a wallet from Chainweaver using the Kadena CLI and check the key balance.
Legacy Wallet Details:
- Mnemonic Phrase: "script victory human funny onion ketchup tent record square custom snack lizard"
Steps:
- Import Wallet: Use the
--legacy
flag to import the wallet. - Check Balance: Confirm the balance for the key index "5". Expected balance: 1 KDA.
Objective: Remove an existing account using the Kadena CLI.
Steps:
- Delete Account: Permanently remove the selected account.
- List Accounts: Display the remaining accounts to confirm deletion.
Objective: Create random keys using the Kadena CLI that are not associated with any wallet.
Steps:
- Generate Keys: Produce random keys.
- List Keys: Display all generated keys.
More details on the key
command
- Document Your Experience: As you go through the scenario, the reporter should note any difficulties encountered, areas for improvement, and overall feedback.
-
Format: Feedback should be structured according to the provided template (see below).
-
Where to Submit: Feedback should be pushed to the
/round-two/feedback
folder in this repository. Please create a new file for your feedback report and follow the naming conventionfeedback_<scenario_name>_<date>(_user1_user2_or when anonymous leave empty).md
.
Your contributions and feedback are crucial to the continuous improvement of the Kadena CLI. We thank you for your participation and look forward to making Kadena CLI an even more powerful tool for developers.
This template is designed to be comprehensive, guiding users from installation to participation in the feedback program. It aims to foster a collaborative environment where the community can actively contribute to the development and refinement of the Kadena CLI.