While playing with the tezos block chain, clk tezos-client aims to make it easier to use the tezos-client command.
The goal is to offer:
- Use interactive commands with auto-completion.
- Allow both usage of address or alias.
- Make easier to share your keys (ex: when working on testnet in a team)
- Use JSON for token metadata-description
Either:
- install clk-project and the extension with
curl -sSL https://clk-project.org/install.sh | env CLK_EXTENSIONS=https://github.com/sskorupski/clk_extension_tezos_client bash- if you already have clk-project, you can simply install this extension with
clk extension install https://github.com/sskorupski/clk_extension_tezos_client- Execute
clk tzc install
-
Transfer XTZ from an account to another account :
clk tzc acount transfer -
Contract deployment:
clk tzc account deploy-fa2 -
Mint NFT:
clk nft mintThe command will prompt you the required information.
NB: For the NFT owner input, currently you need to provide an account known by the tezos-client. If you need to make another account as the nft provider, first make a known address as the owner and then use the
clk tzc nft transfercommand. -
Transfer NFT:
clk tzc nft transfer
-
This is an early experimental version. 😱
=> Update the extension:
clk extension update tezos_client -
Feel free to kindly open issues. 😘
-
Improve the tool 😎
- Create a lib module or make an MR on clk project
- Handle dry-run
- Install without the
install-smartpy.shscript - Command for Smartpy-cli version
- Uninstall Smartpy-cli:
ifneq ($(shell test -s ~/smartpy-cli || echo false), false)
rm -r ~/smartpy-cli
echo "smartpy-cli successfully uninstalled!"
else
echo "smartpy-cli is not installed"
endif -
Command
update=uninstall+install -
Uninstall tezos-client:
ifneq ($(shell test -s ~/.local/bin/tezos-client || echo false), false)
rm ~/.local/bin/tezos-client
echo "tezos-client successfully uninstalled!"
else
echo "tezos-client is not installed"
endif- Auto-completion for ZSH
- Add an option to define a network rpc addresse bases only on the network name