Questions tagged [tezos-client]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8 votes
1 answer
507 views

How can I create unencrypted addresses?

In my alphanet tezos-client, tezos-client gen keys <address> creates an unencrypted address, and requires the --encrypted flag to create an encrypted address. But in the mainnet tezos-client, ...
user avatar
  • 951
6 votes
1 answer
59 views

Error compiling tezos main net hidapi

Same issue as: Error compiling tezos main net [ERROR] The sources of the following couldn't be obtained, aborting: - hidapi.1.0-1: Bad checksum I did not update hidapi manually - this is ...
user avatar
  • 63
6 votes
1 answer
391 views

Tezos CLI, Ledger Nano, Tezbox and HD Wallet: problem accessing my xtz

I read a part of Ledger nano S documentation (including HD Wallet and BIP39/BIP44 derivation path, and BOLOS system, that you can find at https://ledger.readthedocs.io/en/latest/background/...
user avatar
  • 63
5 votes
2 answers
313 views

How do I execute a tezos-client transfer programmatically?

Is it possible to call a tezos-client binary from within a programming language? I have been trying to achieve this, but without success. The very same command used through the command line works, but ...
user avatar
5 votes
1 answer
504 views

Error: "inconsistent hash". Workers crash and node is unable to connect to others

I'm consistently getting the below errors. What stands out is the "inconsistent hash" error, seemingly causing the workers to crash. The hash of the block header and this of the local hash seem to ...
user avatar
  • 893
5 votes
1 answer
831 views

How does tezos-client compute a transaction fee?

When running a transaction such as tezos-client transfer 1 from alice to bob, how does the client computes the transaction fee?
user avatar
  • 716
5 votes
1 answer
226 views

"Operation is outdated and may never be included in the chain"

I launch my node like this: ./tezos-node run --rpc-addr 127.0.0.1 Everything seems to be okay. I then do: ./tezos-client account activate alice with FileFromFaucet.json --force But it doesn't work,...
user avatar
5 votes
1 answer
123 views

Run Alphanet and Mainnet on the same VPS

How might I go about running alphanet and mainnet on the same server, without docker images? Here is my current setup: ~/alphanet/tezos-node is where I have the tezos binaries for what I intend to be ...
user avatar
5 votes
1 answer
67 views

How do I fix './mainnet.sh status' reporting wrong status of docker containers?

After updating to latest mainnet.sh and latest docker images (I think - I have no idea where to look for the version number) and restarting the docker containers, ./mainnet.sh status fails to report ...
user avatar
  • 951
5 votes
1 answer
256 views

How do I rename address alias in Tezos?

I have created an account with ./tezos-client gen keys my-address. Now I want to rename the alias of the address from my-address to address1. How can I do that?
user avatar
  • 951
5 votes
0 answers
148 views

Activating an account on alphanet using public node

I'm trying to activate an account on alphanet using a public node. I can't do it via my local node because I run into this problem, which is probably related to this. So I decided to use a public ...
user avatar
4 votes
2 answers
1k views

How to add and transfer from originated accounts in the CLI wallet

In the Tezos client manual I only find commands to get the manager and balance for an originated account (contract). How can such an account be added to the client for monitoring balances (such as add ...
user avatar
  • 893
4 votes
1 answer
108 views

typecheck a script without network connection?

I'm trying to typecheck a script, but sometimes get the following error: $ tezos-client typecheck script helloTezos.tz Error: Unrecognized command. Try using the man command to get more ...
user avatar
  • 163
4 votes
1 answer
88 views

How do I get a list of all delegators a baker has, using only node local endpoints?

I'm currently using TzScan as a source of data about Tezos blockchain. Unfortunately, I am receiving many http errors from their API, making my products seem unreliable. So I decided to get the data ...
user avatar
4 votes
1 answer
97 views

Is it possible to have a transaction operation in any operation's "contents"?

This questions is about the contents of an operation in the API responses from the node. I'm trying to identify all transactions in a given operation. Should I always scan for transactions in every ...
user avatar
4 votes
2 answers
429 views

Is there any verify method to verify a signature in Tezos?

The tezos-client provides a sign method to sign a message in bytes using the private key and returns the signature. Is there any method like verify which takes the message, the signature and the ...
user avatar
4 votes
1 answer
88 views

How to transfer from originated contract in Babylon

I'm trying to transfer from an originated contract and built the transaction as explained here: tezos-client transfer 0 from tz1xxx to KT1xxx \ --entrypoint 'do' \ --arg '{ ...
user avatar
  • 893
4 votes
1 answer
104 views

Can someone give me a noob guide to get eztz up and running on my ubuntu system? I'm getting the following error

eztz.rpc.getBalance("tz1ZzQFmd6e2YTUrkggADWUj5c68wsynpkCZ").then(function(res){ ^ TypeError: Cannot read property 'getBalance' of undefined
user avatar
4 votes
2 answers
295 views

How can I migrate my Tezos baking address to Ledger Nano?

I have a running baking server and want to upgrade my signer setup to use a Ledger Nano S. Per default the Nano S creates it's own seed and addresses, but I want to keep the delegators and baking ...
user avatar
  • 951
4 votes
2 answers
46 views

Where can I read the changelog for the tezos-client Docker image?

I got notified of a new version of the Tezos client Docker images (via the shell script which accompanies it). But there's no mention of the new version number or changelog. Where can I read the ...
user avatar
  • 951
4 votes
1 answer
159 views

Error while initializing storage in contract deployment

I am using folowing command: ./tezos-client originate contract TestContract for tz1address transferring 1 from tz1address running contes.fi --init 'pair (map "KT1address" 1) (map "KT1address" "2019-...
user avatar
  • 125
4 votes
0 answers
27 views

Michelson_v1_printer.unparse error with originate contract

I am trying to use tezos client to deploy contract on alphanet but I get error Michelson_v1_printer.unparse Command: tezos-client -l -A $TEZOS_NODE originate contract controller_v6 for $MANAGER ...
user avatar
  • 71
3 votes
2 answers
412 views

Different types of operation in Tezos Block - Which one fee is spent

I have found the the below operations in Tezos : "endorsement" "seed_nonce_revelation" "double_endorsement_evidence" "double_baking_evidence" "activate_account" "proposals" "ballot" "reveal" "...
user avatar
3 votes
2 answers
239 views

Forging operations - what is the purpose of this?

I keep seeing the words offline forging and forged mentioned in various Tezos blogs and tutorials. What is the purpose of forging?
user avatar
3 votes
1 answer
480 views

Which tezos-client commands reveal the public key?

I know that the tezos-client reveal key for <src> command reveals the public key for the <src> address. What other tezos-client commands also reveal the public key? Edit: I mean, ...
user avatar
3 votes
1 answer
126 views

Error compiling tezos main net

I'm getting an error compiling the mainnet branch on Ubuntu 18.04 and also when I try Debian 9. Compiling from commit at the head of main net branch - fce3f95a58234ce3d948a52469ccbf1c57024b9b The ...
user avatar
  • 1,349
3 votes
1 answer
146 views

What is an operation counter?

Counters are only mentioned briefly in the developer documentation. Furthermore each operation has a counter (explained in more detail later) that prevents replays so it is usually safe to re-emit ...
user avatar
  • 670
3 votes
1 answer
168 views

Error while initializing storage in contract deployment cmd using tezos-client command line interface option

I am using the following command originate contract new for mgr transferring qty from src running prg for deploying a contract using Command Line Interface as mentioned in CLI document. This ...
user avatar
  • 347
3 votes
1 answer
16 views

unexpected characters in smart contract arguments

The tezos-client seems unhappy with / and . in my argument: nochem@peck ~/workspace/tezos () $ ./tezos-client --endpoint https://rpc.ghostnet.teztnets.xyz transfer 1 from dictator to ...
user avatar
3 votes
1 answer
118 views

Start baking, register as delegate error

I run command ~/tezos/tezos-client register key 607c9c58-13a6-47a7-baf9-9b4ed18ca00d as delegate 607c9c58-13a6-47a7-baf9-9b4ed18ca00d - alias for remote signer with key ...
user avatar
3 votes
1 answer
356 views

How to Generate Address in tezos via api?

i m trying to generate address via API. i don't know how to generate address in tezos. should i deploy my own node for this
user avatar
  • 77
3 votes
1 answer
74 views

Can I bake on the same node with two different addresses?

Can I run two different tezos-node daemons (node, endorser, baker, accuser) on the same server (same IP), having two different baking addresses for each daemon group, without the risk of double-baking?...
user avatar
3 votes
1 answer
67 views

what's a sensible minLqtMinted to send to the Liquidity Baking CPMM when calling addLiquidity?

I'm trying to understand what a sensible value is for the liquidity token (LQT) parameter when calling the Liquidity Baking CPMM. I'm reading the Dexter docs here, since the CPMM is a fork of the ...
user avatar
3 votes
1 answer
201 views

Transferring XTZ with only a private key

I have an account and all the account details (private key, etc) that I created via tezos-client. I had a tezos-node, but it's been broken for a month now due to the snapshot functionality and some ...
user avatar
  • 1,123
3 votes
2 answers
91 views

Tezos-client can't import TCP signer

For my baking operation, I have set up a remote signer and SSH tunneled it to my baking server on port 7878. I have also set up tezos-signer with --require-authentication. On my baking server, I'm ...
user avatar
  • 951
3 votes
0 answers
24 views

Get "global constant"

How can I get the content of a registered "global constant" from node? Was not able to find any tezos-client (get global constant) or RPC. Thanks.
user avatar
  • 31
3 votes
0 answers
119 views

Trying to replicate `tezos-client sign bytes` command with javascript

I'm trying to learn Tezos by creating a library (canibalizing eztz and sotes along the way :-) ) and I've hit a problem. I'm trying to replicate the signature from tezos-client sign bytes command in ...
user avatar
3 votes
0 answers
85 views

Can't use tezos-client after restoring from snapshot

I normally run these commands to start up a tezos babylonnet node: ./babylonnet.sh start --rpc-port 127.0.0.1:8732 ./babylonnet.sh shell tezos-node identity generate tezos-node run --rpc-addr 127.0.0....
user avatar
3 votes
1 answer
73 views

Branch mainnet-pack-validator gives error "tezos-node: Error: Not_found"

./tezos-node run --rpc-addr 127.0.0.1:8732 Aug 29 13:13:38 - node.main: Starting the Tezos node... Aug 29 13:13:38 - node.main: No local peer discovery. Aug 29 13:13:38 - node.main: Peer's global id: ...
user avatar
  • 490
3 votes
1 answer
103 views

Tezos alphanet branch 'bake for' command is not available

I'm using sandboxed node on my local using alphanet branch (building a node on local from alphanet branch) following http://tezos.gitlab.io/mainnet/user/sandbox.html Once nodes are up, I run below ...
user avatar
  • 41
3 votes
1 answer
237 views

How to initialize storage using tezos-client

I have a contract with storage as let%init storage = (Map : (key_hash, nat)map) I want to deploy the contract using tezos-client originate contract command. I am unable to init storage, tried ...
user avatar
  • 71
2 votes
2 answers
120 views

How to Curl the current version of the node

How can I curl the current version of my node? I have found how to do it on other crypto nodes but not tezos.
user avatar
  • 21
2 votes
2 answers
157 views

How do you discover the indexes of the big maps of a contract?

How do you discover the indexes of the big maps of a contract? It seems you would have to inspect the storage, and correlate with the type of the storage, and pick out the numbers that correspond to ...
user avatar
  • 2,348
2 votes
1 answer
1k views

Storage Fee, Baker Fee and Allocation Fee

I have this below transaction where allocation fee and baker fee is mentioned. Can anybody help me understand Storage Fee Allocation Fee In which scenario these are applied ? These fees is going ...
user avatar
2 votes
1 answer
125 views

How to delegate from TZ1 address via command line [duplicate]

How do you delegate from a TZ1 address via command line?
user avatar
2 votes
2 answers
178 views

Tezos version running

When running node it is useful to know which version you're running so you're up to date. Does anyone know which command do I have to execute to know which version of Tezos I am running? Thanks,
user avatar
2 votes
1 answer
85 views

Ledger Nano X not recognised in Tezos client

I just received the new Ledger Nano X yesterday. Currently the CLI client does not seem to recognise it. When I enter tezos-client list connected ledgers, I receive the following message: No ...
user avatar
  • 893
2 votes
1 answer
96 views

Can't get tzBTC out of the tzBTC Granadanet contract

i'm trying to (eventually) add liquidity to the Liquidity Baking CPMM contract on Granadanet. In order to add liquidity, I need some tzBTC from the tzBTC contract here.. I cannot, for the life of me, ...
user avatar
2 votes
1 answer
269 views

How to get raw transaction from Tezos node

Given an operation ID, I would like the raw transaction as it appears on the blockchain, as a hex string. can I get the raw transaction from the Tezos node or Tezos CLI? How?
user avatar
2 votes
2 answers
257 views

How to create a tz1 address with a secret passphrase via command line?

I'm trying to create a wallet with a secret passphrase(15 words), however I can't find any documentation. Any way to do it via command line? Yes, I know how to do it via Tezbox
user avatar