Skip to main content

Questions tagged [tezos-client]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9 votes
1 answer
560 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, ...
Svante's user avatar
  • 961
6 votes
3 answers
680 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 ...
Shubham Chadokar's user avatar
6 votes
1 answer
75 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 ...
sg0ks's user avatar
  • 63
6 votes
1 answer
420 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/...
tndnz's user avatar
  • 63
5 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 ...
cryptodad's user avatar
  • 923
5 votes
2 answers
338 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 ...
Luiz Milfont's user avatar
5 votes
1 answer
511 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 ...
cryptodad's user avatar
  • 923
5 votes
1 answer
888 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?
Nemo's user avatar
  • 736
5 votes
1 answer
236 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,...
iNukeLaPeste's user avatar
5 votes
1 answer
324 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?
Svante's user avatar
  • 961
5 votes
1 answer
125 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 ...
Michael Rodriguez's user avatar
5 votes
1 answer
70 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 ...
Svante's user avatar
  • 961
5 votes
0 answers
153 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 ...
Jan-Jaap Korpershoek's user avatar
4 votes
1 answer
113 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 ...
Maxim's user avatar
  • 163
4 votes
1 answer
110 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 ...
Luiz Milfont's user avatar
4 votes
1 answer
100 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 ...
jakecraige's user avatar
4 votes
1 answer
90 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 '{ ...
cryptodad's user avatar
  • 923
4 votes
1 answer
109 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
Vishal Singh's user avatar
4 votes
2 answers
305 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 ...
Svante's user avatar
  • 961
4 votes
2 answers
48 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 ...
Svante's user avatar
  • 961
4 votes
1 answer
170 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-...
Chmoshk's user avatar
  • 125
4 votes
0 answers
29 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 ...
Anjali's user avatar
  • 71
3 votes
2 answers
461 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" "...
Debasish22's user avatar
3 votes
2 answers
307 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?
ConsentDevelopment's user avatar
3 votes
2 answers
234 views

octez-client: Import keys from mnemonic gives a different address

I am using octez-client to import keys using a mnemonic phrase: echo -e 'twelve word mnemonic here\npassphrase here\n' | octez-client import keys from mnemonic my_alias -f I have checked that I can ...
HKOB's user avatar
  • 143
3 votes
1 answer
670 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, ...
Fred Yankowski's user avatar
3 votes
1 answer
134 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 ...
xtzbaker's user avatar
  • 1,379
3 votes
1 answer
220 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 ...
MCH's user avatar
  • 690
3 votes
1 answer
186 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_184's user avatar
  • 347
3 votes
1 answer
142 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 ...
Magomedov Michael's user avatar
3 votes
1 answer
502 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
raj's user avatar
  • 77
3 votes
1 answer
85 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?...
Luiz Milfont's 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 ...
Whirlybird's user avatar
3 votes
1 answer
238 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 ...
lostdorje's user avatar
  • 1,123
3 votes
2 answers
93 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 ...
Svante's user avatar
  • 961
3 votes
1 answer
105 views

Is it possible to set up a tezos node to watch a smart contract?

When running a Tezos node, is it possible to set up a subscription service so that you can be notified of transactions spending from, or interacting with a smart contract? For example, if you want ...
Darius's user avatar
  • 649
3 votes
0 answers
142 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 ...
Mark Robson's user avatar
3 votes
0 answers
92 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....
Simon McLoughlin's user avatar
  • 1,112
3 votes
1 answer
82 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: ...
Babell's user avatar
  • 500
3 votes
1 answer
107 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 ...
jignesh's user avatar
  • 41
3 votes
1 answer
251 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 ...
Anjali's user avatar
  • 71
2 votes
2 answers
151 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.
Sarah's user avatar
  • 21
2 votes
2 answers
176 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 ...
arvidj's user avatar
  • 2,378
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 ...
Debasish22's user avatar
2 votes
1 answer
136 views

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

How do you delegate from a TZ1 address via command line?
Mack Baise's user avatar
2 votes
2 answers
203 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,
Mootjes mootjes's user avatar
2 votes
1 answer
92 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 ...
cryptodad's user avatar
  • 923
2 votes
1 answer
196 views

Manually calculate tz1 address from privatte key/mnemonic

I want to generate a tezos 'tz1' aka manager address from scratch. But I cannot find any detailed algorithm of generation. For example to generate a ETH wallet we will calculate public key than hash ...
madhurkant's user avatar
2 votes
1 answer
104 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, ...
Whirlybird's user avatar
2 votes
1 answer
383 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?
Thorkil Værge's user avatar