11 votes
Accepted

How can I create unencrypted addresses?

On mainnet, here is how to do it: start by creating the key with a non-existent node (here xxx does not exist !): tezos-client -A xxx gen keys for_stackexchange It will display some error messages ...
lefessan's user avatar
  • 3,308
8 votes
Accepted

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

To add an originated account to the cli wallet: tezos-client remember contract <new alias> <kt1...> Check if the originated account was successfully added to the client: tezos-client ...
cryptodad's user avatar
  • 923
7 votes
Accepted

Forging operations - what is the purpose of this?

From a high level perspective the purpose of forging is to convert a set of inputs along with the kind of operation you wish to perform (eg: send money, to whom, from whom, how much etc) into a single ...
Ezy's user avatar
  • 6,064
6 votes
Accepted

typecheck a script without network connection?

Typechecking is done via a protocol RPC, if the node hasn't loaded the protocol, the RPC won't be available. You can also use a sandboxed node to typecheck contracts. Why is the coupling with the ...
Arthur B's user avatar
  • 4,599
6 votes
Accepted

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

Here the RPC API method: /chains/main/blocks/head/context/delegates/tz1.../delegated_contracts Worth to know: If you are working on baking-related software, you should be careful with the level of ...
Groxan's user avatar
  • 2,701
6 votes

Which tezos-client commands reveal the public key?

The publicKey must be revealed before the wallet can inject an operation to the blockchain. The client (and most wallets) will automatically add a reveal operation onto the first operation you try to ...
Simon McLoughlin's user avatar
  • 1,047
6 votes

How to Curl the current version of the node

curl https://florencenet.smartpy.io/version Output: {"version":{"major":9,"minor":1,"additional_info":"release"},"network_version":{"...
Rodrigo Quelhas's user avatar
5 votes
Accepted

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

I was able to solve the issue myself. My node had rejected a seemingly valid block. I found this out by listing the rejected blocks of the node: tezos-admin-client list rejected blocks Output: ...
cryptodad's user avatar
  • 923
5 votes
Accepted

Error compiling tezos main net

The error is due to a mistake I made when upgrading hidapi on OPAM. I was preparing a fix for compiling on FreeBSD (see here), and for some reason re-created the old 1.0 tag which ended up changing ...
Vincent's user avatar
  • 66
5 votes

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

when working with the Tezos command line client it's useful know that you can give accounts an alias to make it easier to enter commands: client add address <new alias> <public key hash to ...
cousinit's user avatar
  • 1,999
5 votes
Accepted

How do I execute a tezos-client transfer programmatically?

Try to be as explicit as possible: specify the full path to tezos-client specify the absolute directory containing the data, especially the aliases (generally --base-dir /home/[..USER..]/.tezos-...
lefessan's user avatar
  • 3,308
5 votes

How can one keep account active

Active accounts For the first question, it depends on what you mean with "active". This term has at least two meanings in the context of Tezos. First, an implicit account (i.e. a Tezos account that ...
arvidj's user avatar
  • 2,378
5 votes

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

Only manager operations spend fees (and no, fees are not fixed): delegation origination transaction reveal Also, if you sum up all the operations you won't get the correct balance (in many cases), ...
Groxan's user avatar
  • 2,701
5 votes

Zero-fee transactions

1. No, it's not correct. There are two types of operations in Tezos: ordinary and internal (aka a result of smart contracts execution). If there is a nonce field or originalSender field, then it's an ...
Groxan's user avatar
  • 2,701
4 votes

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

From my understanding, yes and no. There are four groups of operations: Baking - endorsements Voting - proposals and ballots Annonymous - seed_nonce_revelation, double_bake/endorse, activate_account ...
Stephen Andrews's user avatar
4 votes
Accepted

How does tezos-client compute a transaction fee?

The fee computation follows the formula. The only subtle thing here is that the fee itself can affect the size of the operation in binary. This usually doesn't matter, but to handle the general case, ...
Tom's user avatar
  • 2,506
4 votes
Accepted

Ledger Nano X not recognised in Tezos client

Communication with the Ledger Nano X is added in this MR, which is not yet merged - https://gitlab.com/tezos/tezos/merge_requests/1037
mikereinhart's user avatar
4 votes

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

Turns out this supposed to be passed like this: '(Pair "tz1PKKC9NTsxxfwYpg1bVAY5k5AKuPYe9gpg" "KT1GE2AZhazRxGsAjRVkQccHcB2pvANXQWd7")'
user_184's user avatar
  • 347
4 votes
Accepted

Error compiling tezos main net hidapi

Following the previous issue the mainnet HEAD hash had to be updated to d27205... Please make sure your head points to there instead of fce3f95... Reference: https://gitlab.com/tezos/tezos/commit/...
Ezy's user avatar
  • 6,064
4 votes
Accepted

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

The tezos-client and tezos-node RPC have no such feature. If you don't mind using an API other then the node RPC you can find this in the new version of the tzstats indexer (GET /explorer/contract/{...
slarquie1's user avatar
  • 434
4 votes
Accepted

How to delegate from TZ1 address via command line

From the command line interface reference, also accessible through tezos-client man -v 3: tezos-client set delegate for <src> to <mgr> src is your tz1, mgr is the baker's address.
utdrmac's user avatar
  • 3,422
4 votes

Storage Fee, Baker Fee and Allocation Fee

The storage and allocations costs you mentions should rather be referred to as burn as they are not sent to anyone: they are only removed from the account of the sender. They are applied when the size ...
arvidj's user avatar
  • 2,378
4 votes
Accepted

What is an operation counter?

The counter is simply a number that is incremented with each operation. I think the documentation refers to a replay attack. If operations where not tagged with a counter, that is signed along with ...
arvidj's user avatar
  • 2,378
4 votes
Accepted

Listen for operations of a deployed contract

After working with @taquito/rpc for a little while and having success there I also discovered in the main @taquito/taquito package there's some useful things you can subscribe to on the stream. A ...
jon's user avatar
  • 133
4 votes
Accepted

What are good ways of simulating transactions in mainnet?

The tezos-client transfer command takes the --dry-run flag that will simulate a transaction instead of injecting it. It will show you any updates of storage and balances that would've been performed ...
arvidj's user avatar
  • 2,378
3 votes
Accepted

How do I rename address alias in Tezos?

I do not know if a simple command exists for renaming aliases. What you can do is going to the folder of the client (usually cd ~/.tezos-client) and then rename the respective keys in the following ...
cryptodad's user avatar
  • 923
3 votes

Tezos version running

There is an RPC for this now, merged here. It is GET /monitor/commit_hash and it just returns the commit hash as a JSON string. You can also see this in tezos-node --help | tail -n 1. (Of course, ...
Tom's user avatar
  • 2,506
3 votes
Accepted

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

Your Chain is not synced yet. (timestamp: 2018-12-06T06:17:48Z, validation: 2019-04-03T14:08:44Z) As you can see, the chain is currently in 2018-12-06T06:17:48Z. To check if the chain is synced you ...
Rodrigo Quelhas's user avatar
3 votes
Accepted

Run Alphanet and Mainnet on the same VPS

Yes, you need a different data-dir, RPC port, and P2P port, like: --net-addr :10001 --rpc-addr :10002 --data-dir /some/path The tezos-node executables should be compiled from each respective branch ...
Seb Mondet's user avatar
3 votes
Accepted

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

It turned out to be a specific issue with docker-compose version 1.23.0 and 1.23.1, where containers get hashes appended to their names when running them (source: this serverfault question). This ...
Svante's user avatar
  • 961

Only top scored, non community-wiki answers of a minimum length are eligible