Skip to content

sskorupski/clk_extension_tezos_client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clk tezos-client

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

Setup and configuration

Either:

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

Common commands

  • Transfer XTZ from an account to another account : clk tzc acount transfer

  • Contract deployment: clk tzc account deploy-fa2

  • Mint NFT: clk nft mint

    The 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 transfer command.

  • Transfer NFT: clk tzc nft transfer

Nota bene

  • This is an early experimental version. 😱

    => Update the extension: clk extension update tezos_client

  • Feel free to kindly open issues. 😘

  • Improve the tool 😎

TODO

  • Create a lib module or make an MR on clk project
  • Handle dry-run
  • Install without the install-smartpy.sh script
  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors