Questions tagged [tezos-client]
The tezos-client tag has no usage guidance.
121
questions
1
vote
1answer
34 views
how to get content of message in shielded transactions?
I have a message send with tezos-client like:
tezos-client sapling forge transaction 10 from alice to zet13Alicexxxxxx using sap --message 'test'
How to get content of send message in shielded ...
1
vote
1answer
32 views
Manipulation of Tezos.amount and test cleanup storage
I am about to write some tests to verify some method functionality.
The method functionality is quite simple:
function checkAmount(const store : storage) : storage is
block{
if Tezos.amount <= ...
3
votes
1answer
47 views
Ledger Blake2b hash calculation
How is the “Ledger Blake2b hash” calculated by the tezos-client and the Ledger? I can calculate the other hashes, but unable to figure out the “Ledger Blake2b hash”:
Raw Script-expression-ID-Hash: ...
1
vote
0answers
11 views
Changes upcoming with version 8 - changelog item When the client asks for a password
This item is listed in the change log for v8, "When the client asks for a password, it no longer tries to hide its input if the client was not run from a terminal, which allows for use in a ...
3
votes
1answer
41 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 ...
1
vote
1answer
39 views
Opam Depext tezos command error when building node from sources
Please help me out, I'm building from source https://tezos.gitlab.io/introduction/howtoget.html
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=ubuntu, os-family=debian
[...
1
vote
2answers
50 views
tezos-node syncing failed: “Json_encoding.construct: consequence of bad union”
I'm trying to get our tezos-node going again, but no matter what I do it seems to fail on block 1195254. Rebooting and upgrading the node haven't fixed the issue. Do I need to roll back a few blocks ...
1
vote
1answer
19 views
How to UNPACK into a specific type using tezos client?
I am using the tezos-sandbox cli and trying out packing/unpacking data. I want to try doing the equivalent of sp.unpack(x, t = …), specifying a type to unpack into, using the command
tezos-client ...
0
votes
1answer
38 views
Are there public mainnet nodes? And can we simply run JSON-RPC like /network/points against them?
I would like to call /network/points against one of the public nodes. I tried curl -s ipaddress/network/points after I got the addresses from Giga Node https://tezos.giganode.io/, but it returns ...
2
votes
1answer
84 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?
1
vote
1answer
35 views
How to get tezos KT address from the public key?
In tezos, I am able to get the tezos address starts with tz1 from the public key but I am unable to get the correct KT address.
I am using this code from github.https://github.com/TezTech/eztz/blob/...
0
votes
2answers
19 views
How can i transfer my Tezos coins [closed]
hope all is well with you. I will appreciate it if you can help me and explain to me what I should do .3 years ago during 2017 I bought Tezos coins from https://tezos.com/.The company sent me a ...
1
vote
1answer
44 views
how to write my own signer
For a research project, I'm trying to implement my own signer, such that I can run tezos-client import secret key ALIAS "http://..." and then I can use tezos-client to transfer and tezos-...
0
votes
0answers
12 views
how can i get rewards in tezos for specific instruction? [duplicate]
i have create my implicit address become delegate with command "tezos-client register key bob as delegate" . should i become a baker to get a reward?
anyone can introduce me about this, ...
1
vote
1answer
31 views
Checking block details in tezos
While running the tezos node, i was checking block details using RPC call(:8732/chains/main/blocks/). It will give block details. After 10 mins, if I check it will gone. The output is in empty page.
1
vote
1answer
21 views
Understanding Calling limit of entry-point in Tezos smart-contract until the previous request to the contract is confirmed (block backed)
Image if I have a smart contract with entry-point increment() that increments a counter.
So if I call this entry-point for the first time and we know that it takes almost 1 minute for the operation to ...
1
vote
2answers
55 views
How to get blockchain length
I send rpc calls to a node through tezos-client and I would like to know the length, or the height, of the blockchain so I can see if it is synced and, if not, how much time is remaining. How do I do ...
1
vote
1answer
47 views
How to get balance through tezos-client
I have installed the tezos-client but don't know how to check the balance for an address. Can anyone help me?
1
vote
1answer
35 views
Is the set of available RPC calls dependant on the connected node?
When I am connected to rpcalpha.tzbeta.net through tezos-client -l -A rpcalpha.tzbeta.net -S -P 443 config update I can succesfully call tezos-client activate account alice with <...
2
votes
1answer
71 views
More verbose logging in tezos-client
I have some problems connecting to a node through tezos-client. Specifically I cannot succesfully run tezos-client -l -A rpcalpha.tzbeta.net -P 443 -S config update to connect to a testnet node. It ...
0
votes
1answer
23 views
Error: ligo: generated. untyped BIG_MAP_EMPTY
In ligo for a smart-contract
I have a big_map in my storage and I want to pass nothing in the map as intial_storage value.
{
name = "stablecoin";
symbol = "eur";
total_supply = ...
1
vote
1answer
7 views
Error in dry : different keys in tuple and record
I am trying to dry-run one contract on online Ligo IDE,
Access function :
main
Parameters :
(10n, ("tz1KqTpEZ7Yob7QbPE4Hy4Wo8fHG8LhKxZSx" : address))
The logo code is compiling fine and I don't ...
1
vote
1answer
29 views
How can I sign a transaction with ./tezos-client knowing the secret key?
I fear I may have made an expensive error. I have an account that has more Tezos than I would like to admit. Upon trying to transfer Tezos out of the account like this:
./tezos-client transfer 1 ...
0
votes
0answers
14 views
Kiln - Snapshop bootstrap from command line
I'm testing Kiln on a remote server, so I can't use the graphical interface to initiate the node and import the chain data because when I select 'snapshot' it opens my local hard drive while the ...
0
votes
1answer
32 views
Transfer operation in eztz js
Can anyone guide me how transfer operation performed in java script?
I am using this function but i can`t transfer from one address to another.
eztz.rpc.sendOperation(from, operation, keys)
Kindly ...
1
vote
1answer
27 views
Difference made in various protocols
Can anyone briefly explain about "Protocol 003 vs Protocol 004 Athens vs Protocol 005 Babylon vs Protocol 006 Carthage" ?
2
votes
0answers
114 views
Unable to do basic tezos-client commands in Carthagenet
I'm very new to Tezos and would like to experiment a bit with its Smart Contracts.
Due to some changes from Alphanet to Carthagenet some of the tutorials online are partially deprecated and I'm not ...
0
votes
1answer
53 views
Galleon issue withdraw from KT1 to TZ1
I am running into an issue with Galleon Wallet v0.9.4b on my Windows 10 machine.
I am trying to withdraw funds from my KT1 address to my TZ1 manager address.
I have tried using several different fees (...
1
vote
0answers
20 views
Error: TypeError: Cannot read property 'isValidPrefix' of undefined {}
var Tezos = taquito.Tezos;
Tezos.setProvider({rpc: 'https://carthagenet.SmartPy.io', signer: new taquitoTezbridgeSigner.TezBridgeSigner()})
const amount = 1;
const ...
0
votes
1answer
29 views
ERROR: Public Key Cannot be Exposed
tezbridge.request({method: 'post_source'})
taquito.Tezos.setProvider({rpc: 'https://rpc.tzkt.io/mainnet', signer: new taquitoTezbridgeSigner.TezBridgeSigner()})
taquito.Tezos.contract.transfer({ to: ...
2
votes
0answers
38 views
How to sign a message and verify it using conseiljs?
I am using conseiljs.TezosWalletUtil to generate key value pair.
const mnemonic = conseiljs.TezosWalletUtil.generateMnemonic();
console.log(`mnemonic: ${mnemonic}`);
const keystore = await ...
1
vote
2answers
30 views
Do offline generated addresses need to be activated at the node to be used? What are the activated commands
Do offline generated addresses need to be activated at the node to be used? What are the activated commands? When I use the offline generated address for transfer, I reported the following error
1
vote
1answer
30 views
Migrating from Babylonnet to Carthage
I just started learning Tezos programming a few weeks back and had set up my iMac with Babylonnet. After the Carthage activation, now I am trying to migrate from Babylonnet to Carthage. As I couldn't ...
1
vote
1answer
54 views
Why secret key is 98 char long in tezos?
I have tried generating key-pair using Conseiljs and tezbridge. Both are returning the secret key of length 98 and public key of length 54. Why?
It is mentioned in the documentation that tezos use ...
2
votes
2answers
86 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 ...
1
vote
1answer
73 views
public and secret keys <name> don't correspond
I generated a new address on a node and then overwrote it.
I have the public key hash (starts with 'edpk') and the password. I also have the private key hash (starts with 'encrypted:edesk1')
I ...
0
votes
0answers
20 views
How to create HD wallets from one master key / seed [duplicate]
This question asked months ago but there are no reply. Can i create HD wallets?
Could you share any source that shows how to create HD wallets?
0
votes
0answers
23 views
Error : Erroneous command line argument 4 (bootstrap1)
What are the possible reasons for getting this error? And why I am getting the error
Error:
Erroneous command line argument 4 (bootstrap1).
no public key hash alias named bootstrap1
cannot ...
2
votes
0answers
46 views
“The operation signature is invalid” error while sending transaction from a deterministic wallet
I use conseiljs. I am trying it on Babylonnet. When I create fresh wallet with createAccount() method everything works (https://cryptonomic.github.io/ConseilJS/#/?id=create-an-empty-tezos-account)
But ...
2
votes
1answer
132 views
Is this the right way to activate protocol cathage?
./tezos/tezos-client -l --base-dir ./tmp --addr localhost --port 18731 --block genesis activate protocol PsCARTHAGazKbHtnKfLzQg3kms52kSRpgnDY982a9oYsSXRLQEb with fitness 1 and key activator and ...
3
votes
1answer
53 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 ...
2
votes
0answers
33 views
how can i call specific smartpy tezos contract entrypoint using ConseilJs?
I am trying to set UI that allow users to interact with tezos smart contract by pressing some buttons that have to call the corresponding function in the smart contract with relative arguments
2
votes
1answer
74 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 ...
0
votes
2answers
33 views
How to construct signature list as parameter to invoke contract
I write a contract and deployed it to babylonnet, address: KT1BcH97ZQas6zKMJBtNdmU4iBvyi2ihpsx8, the entry point is withdraw, parameter is amount, signatures, toAddr, txId(string). I use smartpy ...
1
vote
1answer
29 views
Tezos mempool track info
Could someone describe if there is a way to track and get transactions informations like Tx signature, hash ... from tezos mempool ?
3
votes
1answer
331 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 ...
1
vote
2answers
208 views
Zero-fee transactions
Need so help to understand the below transaction :
[
{
"type": "transaction",
"id": 279,
"level": 26,
"timestamp": "2018-06-30T18:07:27Z",
"hash": "...
0
votes
1answer
22 views
deploy contract writen by fi failed
contract source code is:
struct ToAmount(
address to,
mutez num,
);
storage map[nat=>ToAmount] records;
entry withdraw(address to, mutez num){
transfer(input.to, input.num);
let ...
3
votes
2answers
154 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"
"...
1
vote
1answer
98 views
Get unencrypted secret key from the encrpyted one in a programmatic way
I developed a small script to generate a new tezos account, result has this form: ->
{ sk:
'edskReYTc3xorfemyNAcrYb6Sz8Wgj6e1PfevpZ6uysf4KXWBNxXcoLA4KBtZp7hmUCy6V3bhtWZRMSuya5DgXA1TU2JXYeDmG',
...