Questions tagged [tezos-client]
The tezos-client tag has no usage guidance.
178
questions
1
vote
1
answer
18
views
How to initialize the storage while originating a contract with storage type (pair (address %administrator) (unit %dummy))?
The contract is meant to allow transfers only from the admin. I what to initialized the admin address at origination.
parameter (or (unit %default) (pair %admin_transfer (address %destination) (mutez %...
1
vote
2
answers
21
views
can not injection/operation because 415 not support media type
i have get the sign transaction hash, then, i send RPC request(/injection/operation) like this to brocast operation, this is my junit test, but it return 415 not support media type, i guess because of ...
0
votes
2
answers
30
views
rpc error while setting up tezos-client
tezos-client --endpoint https://edonet-tezos.giganode.io/ config update throws error
Failed to acquire the protocol version from the node
Rpc request failed:
- meth: GET
- uri: https://...
0
votes
0
answers
23
views
Unable to reactivate baker, ithacanet
Baker tz1fh2hMTTQKYejt4F4wCxyQAD1VenCpMEg3 on ithacanet became inactive yesterday, after it had failed to endorse since the beginning of rights. Endorsement problem may've been due to the remote ...
1
vote
1
answer
50
views
Tezos-client: unknown protocol after Ithaca upgrade
I have installed tezos-client on MacOS via Home Brew. After Ithaca upgrade I am getting the following error message:
Fatal error: unknown protocol version.
I tried upgrading tezos-client by:
1)brew ...
0
votes
0
answers
9
views
lorre failad after apply https://github.com/Cryptonomic/Conseil/releases/tag/2022-march-release-40
lorre error log
2022.03.31 01:28:54:908 [ERROR] tech.cryptonomic.conseil.common.config.package.printConfigurationError:10 - I'm not able to correctly load the configuration in Lorre application
Please ...
1
vote
1
answer
34
views
Send tez to an address, not a contract?
I have created a payment function, the problem is that the tez is debited from my contract and I would like it to be debited from a wallet address, how do I do this? If I replace Tezos.transaction ...
1
vote
1
answer
23
views
how to correctly enter the storage parameters?
I am trying to pass the correct storage parameters in json to be able to deploy my smart contract. Thank you for your attention...
(pair (pair (pair (pair (address %admin) (big_map %ledger nat address)...
0
votes
2
answers
55
views
How to change the storage to transfer of an NFT?
I would like to be able to change the price of an nft when transferring it, but I can't change it it gives me an error...
(**
Implementation of the FA2 interface for the NFT contract supporting ...
1
vote
1
answer
41
views
how to fill storage parameters?
I am trying to pass the correct storage parameters in json to be able to deploy my smart contract. Thank you for your attention...
(pair (pair (pair (pair (address %admin) (big_map %ledger nat ...
0
votes
1
answer
68
views
I can't import my nft into my temple wallet
I followed the tutorial https://forklog.com/sp/dev-on-tezos/en/nft-issuance/ to be able to create an nft via FA2 but my temple wallet does not recognize it.. .
My Smart Contract (pascaligo) :
//...
0
votes
0
answers
18
views
Tezos Signature Generation in Java
import binascii
operation=binascii.unhexlify(open("operation.hex","rb").readline()[:-1])
seed = binascii.unhexlify(open("bootstrap1.hex","rb").readline()[:-1])
...
1
vote
1
answer
48
views
Contract supplied an invalid parameter
I have a little problem because my mint does not pass because of invalid parameters, I don't quite understand why..., in the entrypoint call I deliberately did not put the token_id parameter because ...
1
vote
1
answer
18
views
tezos error : branch refused (Error: Counter 3070118 already used for contract [ADDRESS_SMART_CONTRACT] (expected 3070119) [duplicate]
TezosWallet wallet = new TezosWallet(true, "c:\\temp\\Wallet1.txt", "My_PassPhrase");
wallet.setProvider("https://rpc.hangzhou.tzstats.com");
wallet.activate(...
0
votes
1
answer
45
views
installing Tezos client on Intel Mac OS
I'm a complete beginner who needs help installing the tezos client correctly.
I installed tezos-client and configured tezos client endpoint to a private node following these docs: https://assets....
1
vote
1
answer
79
views
Network error when configuring tezos-client
I was following instructions on https://assets.tqtezos.com/docs/setup/1-tezos-client/ to install on MacOS, but following command:
tezos-client --endpoint https://rpcalpha.tzbeta.net config update is ...
0
votes
2
answers
137
views
ACL filtering,can't send transaction
I sent the transaction report after upgrading from 10.0~ RC3 to V11.0.0,Now I can't send a transaction,what should i do
start node: ./tezos-docker-manager.sh start --rpc-port 8732
ubuntu@VM-0-13-...
0
votes
1
answer
24
views
Trying to run granadanet node, receives invalid data directory error
I'm following the procedure described in the documentation to run a granadanet node.
In my docker containers, specifically granadanet_node_1 and granadanet_upgrader_1, I'm stuck with the following ...
0
votes
1
answer
29
views
Send another coin using commandline
In the documentation, this command can be used to send XTZ from one address to another address
tezos-client transfer <amount> from <sender alias> to <receiver alias>
<amount> ...
0
votes
0
answers
23
views
light mode, tezos-client. how does it work?
I skimmed the docs here: https://tezos.gitlab.io/user/light.html
but was hoping for an ELI5/tl;dr example on how to use tezos-client light mode
0
votes
1
answer
89
views
Makefile:24: *** Unexpected opam version (found: 2.1.0, expected: 2.0.*). Stop
Just followed the instruction here https://opentezos.com/deploy-a-node/installation#install-tezos-dependencies-1
ran into this issue
Makefile:24: *** Unexpected opam version (found: 2.1.0, expected: 2....
0
votes
1
answer
265
views
Installing `tezos-client` on Apple Mac OS M1
I tried to install tezos-client by using M1 version of homebrew (brew install tezos-client). and I received this error.
/opt/homebrew/Library/Homebrew/utils/github/api.rb:304:in `raise_error': ...
0
votes
1
answer
35
views
The error is addr and port conflict with endpoint
I run to tezos-node run --rpc-addr 127.0.0.1:8732 and my tezos-client is connect 127.0.0.1:8732 , so i input in tezos-client to tezos-client --addr 127.0.0.1 --port 8732 -l transfer 100 from ...
0
votes
1
answer
30
views
Why to keep tezos-signer on a separate host?
I don't see any reason to do that. Say, if cloud service is hacked, then it's likely that both vms (with a node and signer) are hacked. Moreover, there're will be some networking, which is also ...
0
votes
2
answers
99
views
How can I reset the tezos-client alias?
When I was trying to set up a test net I used a docker installation and it's messed with the tezos-client.
I am now using mainnet again.
./tezos-client rpc get /chains/main/is_bootstrapped
is failing ...
0
votes
3
answers
83
views
Unable to build 9.6 binaries - "Wrong Rust version"
Trying to build 9.6. Running this command -
rm -rf _opam _build
make build-deps
eval $(opam env)
make
I have set every version of rustc from 1.44.0, 1.52, 1.53... nothing works. I have set an ...
1
vote
1
answer
43
views
how does the liquidity baking CPMM round up or down?
I'm not sure how to ask this and I may mess up my mathematical terms, if you think I have then please correct me.
When I call addLiquidity on the CPMM, I know that I will be sending tez, and that ...
0
votes
0
answers
95
views
RPC Error: "Missing Authentication Token"
I run tezos-client rpc list , the error say "message": "Missing Authentication Token" , What can i do fix error! I need help
0
votes
2
answers
85
views
using tezos-client with Ledger on MacOS
I'm following the official docs in the Tezos repo about how to generate a new wallet via a connected ledger device.
I have the ledger open to the correct screen and unlocked. However when I run tezos-...
0
votes
1
answer
113
views
how to send a nat value other than a whole number
How can I send a nat value to a contract that represents a data type which is not a whole number?
For example, the xtzToToken entrypoint of the tzBTC contract allows a user to call the xtzToToken ...
1
vote
1
answer
122
views
how to calculate the value of a single LQT token for Liquidity Baking?
In looking at the Granadanet contract storage, I can see the amount of tzBTC, Tez, and LQT tracked in/by the CPMM.
Here are those values as of writing this:
tokenPool 45805
xtzPool 111379958864916
...
0
votes
1
answer
90
views
call to 'approve' entrypoint of tzBTC contract failing with 'UnsafeAllowanceChange'
I'm trying to call addLiquidity on the Liquidity Baking CPMM. I've already called xtzToToken on the CPMM and given my address tzBTC. I can see that my address has tokens on the tzBTC contract when I ...
3
votes
1
answer
66
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 ...
0
votes
2
answers
116
views
How long should I expect to wait for an operation to be included? Seeing "Waiting for the operation to be included..."
let me preface this by saying that I'm using a public node. It's fully bootstrapped and up to date, and I followed these instructions to check.
I'm trying to call the mintOrBurn function of this ...
0
votes
1
answer
23
views
Config file value "web_port": what's its usage?
I recently saw that config file can contain web_port (default value is 8080).
I can't find any guide regarding that value. What's its usage?
1
vote
1
answer
57
views
value is invalid for type
I'm trying to call the addLiquidity entrypoint of this contract, which is a copy of the Liquidity Baking CPMM contract, which is itself a copy of the Dexter contract.
The original Dexter docs give an ...
0
votes
1
answer
36
views
Can I estimate the _next_ block using the `tezos-node` RPC API?
Is there any way to ask tezos-node to tell me the contents of the block it would produce if it were the selected baker for the current round?
Somewhere in tezos-node there's a function that makes the ...
2
votes
1
answer
94
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, ...
1
vote
1
answer
90
views
Contract does not exist
I'm using a Granadanet node to experiment with Liquidity Baking. I'm trying to call the tzBTC contract's mint entry point.
This is my first time using a test net, but I thought that it was a copy of ...
0
votes
1
answer
206
views
Governance voting using a "light mode" client
Recent v10-rc1 added a new mode to the tezos-client, which is called light mode.
I wondered if I could use it to cast my vote and which endpoints should I use in sources.json.
I did the following:
...
-1
votes
1
answer
67
views
The Tezos-client err! I need help
The Ubuntu in Windows10.I try to install tezos-client , but I input in ubuntu for tezos-client it worning say : ,What can I do .
ps:my english so bad, but I try read!
2
votes
2
answers
108
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.
0
votes
1
answer
52
views
What is the process for baking on self generated account/keys?
I have the self-generated keys in Ubuntu server.
I don't want to use wallet that's why I used the command tezos-client gen keys ACCOUNTNAME to generate key and secret.
Now, I have successfully ...
0
votes
1
answer
65
views
Do I register as baker without fund on public key?
I have my node up and bootstrapped. I generated key by cmd sudo -u tezos tezos-client activate account 'ALIAS'. Now I just created account on terminal that's why seems like there is no need to import ...
1
vote
1
answer
58
views
How to fetch list of known addresses in Taquito?
Just like we can run tezos-client list known contracts to get a list of deployed contracts and any user accounts, is there a way to do the same using Taquito? So, in short, I've RPC address and wish ...
0
votes
1
answer
115
views
Empty implicit account
I am running tezos florence 9.1 Ledger nano s synchronizes with ledger live with balance correct.. On the node the ledger account address is correct. But the balance shows as zero on the node. ...
0
votes
1
answer
90
views
What are good ways of simulating transactions in mainnet?
Is it possible to dry-run transactions before signing and broadcasting them, and if so, what are some good options?
I'm pretty language agnostic.
E.g. if I'm interacting with a DEX, I'd like to see ...
0
votes
0
answers
32
views
Custom FA1.2 Token - High Level Question about Custom Token/Symbols
I am hoping this is a very easy answer as I am most likely thinking about the fundamentals of this incorrectly. I am trying to build out a quick POC for the company I work for but am struggling with ...
0
votes
2
answers
71
views
What's the best IDE and language to create a FA2 Token?
Does SmartPy provide the best interface to do it?
https://smartpy.io/ide?template=FA2.py
Does this example provide everything you need to create your own token?
Any help would be appreciated.
0
votes
2
answers
49
views
tz1 to tz1 transaction: why "add 100 for safety"?
When injecting a transaction from a tz1 account to another one, tezos-client will add 100 to the estimated gas. We know that such operation consumes 1427 gas, why increasing it by default? What could ...