All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
66 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
1answer
34 views

Is it possible to automate an action at a certain interval in a tezos smart contract?

Do you know a design who allow to automate an action at a certain interval ? (for example, call another contract every 20 blocks or something like that). Thanks every one for your help !
0
votes
0answers
15 views

Is it possible to get past storage (not actual storage, but the hictorical data like update, etc) of another smart contract in a smart contract?

I want to know if accessing past data of another smart contract from my smart contract is possible ? I know you can acces it via RPC, but i would like to use these data in my smart contract. Thanks !
0
votes
2answers
42 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-...
1
vote
1answer
29 views

how to calculate current storage values for liquidity baking CPMM

In looking at the storage values of the CPMM one can see that as of right now the CPMM has the following amounts of tzBTC (represented by the contract as tokenPool), xtz (represented as xtzPool), and ...
0
votes
1answer
38 views

How can I tell if a WalletOperation failed in Taquito?

How can I tell if a WalletOperation failed in Taquito? After I dispatch a WalletOperation, I can await the results using the confirmation method like so: const confirmation = await op.confirmation() ...
0
votes
1answer
85 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
1answer
101 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
2answers
59 views

what is the Liquidity Baking subsidy used for and how do liquidity providers benefit?

I've read the official Tezos docs on liquidity baking. However these docs do not explain how the subsidy will be used, or what it's even for. How will this subsidy be used, and how will liquidity ...
0
votes
0answers
18 views

Is there any default FA2 / FA1.2 config to mint non-transferable tokens?

I am working on a requirement that needs a non-transferable token (similar to ERC 1238 requirement). ie the token can be transferred only from token contract/ admin to the user and the user cannot ...
0
votes
1answer
62 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
1answer
63 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
1answer
27 views

Originate smart contract with empty arguments

I try to initialize a smart contract with five arguments being nat * timestamp * nat * timestamp * address. However, I only want to fill the last argument with some value but for the first four I try ...
0
votes
1answer
64 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
1answer
15 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
1answer
41 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
1answer
29 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 ...
5
votes
1answer
294 views

How to provide liquidity to the upcoming liquidity baking tez/tzBTC?

I've tried to understand how to interact on the interface on Better Call dev but can't seem to figure it out. When I execute them under simulation I get failed transaction. Where do I insert the ...
2
votes
1answer
23 views

How to get the current time/timestamp in smartpy contract?

I deployed a smartpy contract in florencenet via smartpy.io. The command sp.timestamp_from_utc_now() used inside the program seems to be not giving the current time. Instead it is giving the same time ...
0
votes
2answers
34 views

RPC specification

Where can I find details about tezos RPC specifications? For example, what are the parameters needed for originate to create new smart contract? I want to write a custom node so I'll need this ...
2
votes
1answer
85 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
1answer
66 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 ...
1
vote
0answers
26 views

How can we accept USDTZ in smartpy smart contracts, is it even posible?

I was working on a token sale, so is there any way we can accept USDTZ as a mode of payment for the tokens?
1
vote
1answer
65 views

Getting "Worker crashed" errors in Octez 9.4

Any idea why my tezos-node isn't syncing, and what the Worker crashed [node_peer_validator] errors mean? tezos-node is logging a bunch of errors like the following and doesn't appear to be syncing. I'...
3
votes
2answers
283 views

Any way to get the public key of an address?

I am developing a dapp where I need the public key of an address of the user, is it possible to get the public key in the contract (using SmartPy)? Or even on the client side using taquito or any ...
0
votes
1answer
34 views

"When is the next release of inflationary tokens?"

"When is the next release of inflationary tokens?" The inflation rate is 4.73%, when do those tokens (the 4.73%) get distributed? When is the next distribution, date and time?
0
votes
1answer
33 views

What happens to an operation if it gets reorged out?

If a reorg occurs, what happens to the operations that get reorged out and are not already included in the new chain? Would they need to be broadcasted again or would they automatically be re-entered ...
0
votes
1answer
21 views

What's the difference between 'ideal' and 'actual' rewards?

I got info 'ideal' and 'actual' rewards in the tezos rewards distributor software. Searched the docs, didn't manage to find anything meaningful.
0
votes
1answer
200 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
vote
1answer
18 views

Is the data held within a ticket publicly visible in any way?

I'm talking about the tickets feature introduced in Edo. Is it safe to hold private data in a ticket basically - I'm talking about this in the context of a game where there is certain information that ...
0
votes
0answers
108 views

Mint FA2 NFT when contract is called by purchaser

I'm working on a smart contract which allows a caller to "purchase" an NFT simply by calling the contract and providing payment. I'd like the contract to mint the NFT at the time the ...
-1
votes
1answer
54 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!
0
votes
0answers
21 views

Are there any stats on operation weight?

It seems that Tezos nodes sort operations be weight went they are being selected for block inclusion (source). The definition of weight being: Weight = fee / (max ( (size/size_total), (gas/gas_total)))...
1
vote
1answer
42 views

Is it possible to get all big_map keys using node RPC?

Granada changelog mentions: Added a new RPC to retrieve several Big Map values at once: /chains/<chain_id>/blocks/<block_id>/context/big_maps/<big_map_id>?offset=<int>&...
0
votes
0answers
38 views

How to create provable burn address containing specific words?

I'd like to Burn a portion of the Tezos Till We Bezos token supply to a MacKenzie themed address in keeping with the meme https://www.theguardian.com/technology/2019/jun/30/amazon-jeff-bezos-ex-wife-...
1
vote
1answer
26 views

Getting error at time of testnet deployment

I was familiarising with smartpy IDE by executing the code as mentioned in the below link https://tezos.b9lab.com/smartpy/exercise-2 However, when I proceeded to deploy the contract, I am getting the ...
1
vote
1answer
306 views

Converting a hash into an int within a range

I have a contract where I'd like to convert a hash (sha256 in this case, but I'm open to any of the other hashing algorithms available) into an Int (or Nat) between 1 and 100. I have the code that ...
0
votes
1answer
20 views

What are anonymous operations?

It is referenced in this answer about using rpc api GET ..//operations. The first list contains the endorsements. The second list contains all the operations regarding votes and proposals. The third ...
2
votes
1answer
88 views

Limiting the time (time/date based) that a contract method can be called

I'd like to publish a contract that allows calls up until a certain time and date. For example, say I want to allow anyone to call it for 1 year after publishing the contract to the blockchain, then ...
0
votes
1answer
201 views

How are baker fees estimated in Tezos?

My understanding of transaction costs is: Any operation that increases the context (e.g. added storage, revelation, etc) incurs a burn fee. This is based on a fixed rate defined in the protocol. ...
2
votes
1answer
164 views

Using sp.create_contract to generate pseudorandom numbers on-chain

In this answer, the answerer suggested that CREATE_CONTRACT could be used to generate a contract address which could then be used as a seed for a pseudorandom number in a contract. What would a simple ...
0
votes
1answer
18 views

Why does SOURCE instruction push not a key_hash value but an address one?

In my understanding, only implicit accounts can initiate a transaction. Then, if I am correct, the destination of SOURCE must be an implicit account, and the question arises. I know various ways to ...
0
votes
1answer
31 views

How can I get instant updates about missed bakes and endorsements using RPC API?

I'm new to Tezos and I'm searching for a couple of dev tips for my project. I'm creating a scanner which is able to detect missed bakes and endorsements for a specific delegate, which is a kind of ...
1
vote
1answer
28 views

What does it mean to inject an operation?

Does 'injecting' an operation just mean broadcasting it to other tezos nodes, or is there more to it?
1
vote
1answer
147 views

Pseudo-random numbers for NFT attribute random generation

I'd like to generate an NFT within a contract and give it a randomly occurring attribute. As I search, it seems that the only fully-secure way to do this is to use an Oracle or build some sort of ...
1
vote
1answer
35 views

Tweaking FA1.2 to add level based balance snapshots to assist token voting in a DAO

DAOs functioning on a token voting mechanism (using either FA1.2 or FA2) mostly require the locking up of tokens for the entirety of the voting period essentially to prevent double-voting or any form ...
0
votes
0answers
28 views

FA2 token supply limit?

I am using a token minter ( https://fa2-bakery.netlify.app/ ). I wish to make a custom token for my project. I have design questions since I haven't done this before and I am using my own money. What ...
2
votes
2answers
62 views

How to become a public baker?

I've been solo baking for over a year now for me and a few friends. I recently have set up tezos-rewards-distributor and it's working fine. Now I would like to become a public baker but can't figure ...
1
vote
1answer
65 views

What is an operation group?

In general what makes two or more operations part of an operation group? And as an example, why are these operations all in the same operation group? https://tzkt.io/...
2
votes
1answer
31 views

Smartpy Michelson errors only on deployment (inconsistent_annotations, inconsistent_types)

Getting this error ONLY when deploying the smartpy contract. There are otherwise no errors when testing/compiling the code. Is there a way to get a better error message? Is there a way to trigger ...

15 30 50 per page
1 2
3
4 5
33