All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
5 views

Knowing the parameter name for a call to an entrypoint

I would like to call the stake entry point of a Plenty contract. I only have access to the Michelson source code. Here is my current non-working code in Typescript with Beacon-SDK (inspired by this ...
1
vote
0answers
15 views

How often do failed operations get included in the blockchain?

My understanding is that failed transaction like this should be checked by the node before injecting the operation, but either because of a bug in the node software, or because an operation that hadn'...
0
votes
0answers
26 views

What happens if there are two operations calling the same contract in the same block?

How is the order determined, or how would you tell from the blockchain what order they were applied in? And if the two operations are conflicting, such that only one can execute the contract ...
0
votes
2answers
16 views

Keeping original sender in inter-contract call

I have a token contract (let's say it TC) and creating a contract Wallet. Now, is it possible for a user to call Wallet's entrypoint deposit which will do an inter-contract call to TC's transfer ...
1
vote
1answer
23 views

How exactly are the bakers chosen using the PRG?

I understand that the seed associated with a cycle is generated from information from the previous two cycles. This seed the PRG that is used to determine the bakers for the cycle. This is all the ...
2
votes
2answers
152 views

Is it possible to originate a contract with an initial balance?

Instead of doing two operations: 1 - originate a contract 2 - transfer tez to the contract, is it possible to do both in a single operation?
0
votes
1answer
15 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
1answer
14 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 ...
0
votes
1answer
12 views

Calling contract deployed on Tezos sandbox using Taquito

I've a simple contract deployed on Tezos sandbox (https://assets.tqtezos.com/docs/setup/2-sandbox/) and I'm using Taquito in frontend to call this contract. Earlier, I deployed the contract to global ...
1
vote
1answer
17 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
0answers
25 views

What happened to TZIP-11?

There's no information at all about it besides the name "Contract Specification Schema" and that is a Work in Progress. Was it ever written? Cancelled for some reason? Where can i find more ...
0
votes
1answer
19 views

What is `proof_of_work_nonce_size` used for?

I was looking at the protocol constants using: GET /chains/<chain_id>/blocks/<block_id>/context/constants and noticed these two fields: "proof_of_work_nonce_size": 8, "...
2
votes
1answer
157 views

Do bytes in the contract code cost the same as bytes in the contract storage?

I'm trying to understand the breakdown of the storage costs for smart contracts. My understanding is that a smart contract has some 'code' which is immutable, and some 'storage' which is mutable. Or ...
0
votes
1answer
31 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
1answer
45 views

How to prepare a Protocol Change Proposal?

I want to know what is the procedure for preparing a protocol proposal. From my understanding it goes like this. Take the current Protocol src and make the changes in .ml files. Use a script to ...
-2
votes
1answer
46 views

Tezos Baking Bonds Reduction

I have been baking Tezos for a few months and I have ran into a problem. The bonds for endorsing, and baking, are too high. I am now over delegated and I expect my baker is going to have a fully ...
1
vote
3answers
27 views

Big map of map vs Big map of pairs

In the FA2 example (https://smartpy.io/ide?template=FA2.py) with multiple assets, we are using a big map of pairs (of user and token). Another option might be storing big map mapping users to another ...
0
votes
3answers
47 views

Is there an equivalent of the Ethereum “selfdestruct” opcode in Tezos?

In Ethereum you can implement a selfdestruct opcode in a smart contract to remove its code from the blockchain and free up storage space. Is there an equivalent on Tezos ?
0
votes
1answer
24 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
0answers
32 views

Tezos Development Toolchain

Are there similar libraries in Tezos ecosystem similar to the OpenZeppelin library and the Hardhat development environment in Ethereum?
2
votes
0answers
40 views

tezos node v9.1 getting lots of HTTP 404

Running a local node to query blocks/transactions. It is running in archive mode and it up to tip. Since upgrading to 9.1 we get frequent HTTP 404 errors calling something simple like /chains/main/...
1
vote
3answers
73 views

Is there a way to view the stack during development with Michelson?

Is there some kind of debugger tool to view the stack while developing with Michelson (other than try-michelson.com)? Thanks.
1
vote
1answer
53 views

Is it possible to chain transactions from an orbitary account in a single block

In most blockchains, it's possible to chain several outgoing transactions for an account. In Tezos we've tried to do the same, but got errors like: Netezos.Rpc.InternalErrorException: [{"kind&...
0
votes
0answers
24 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
1answer
20 views

tezos-node command to check context & store integrity

Is there a way to check if context and store data folders are corrupted or not via command line?
0
votes
1answer
28 views

multisig request

we have a request for a multisig. if someone could implement it, then we would be ready to pay for it. we need a fully working product. what was presented not so long ago still does not work https://...
0
votes
0answers
22 views

how to work with map of map

I have a structure that looks like this: struc = sp.TRecord( addr = sp.TAddress, value = sp.TNat ) struct2 = sp.big_map( tkey=sp.TAddress, tvalue=sp.TMap( sp.TNat, sp....
2
votes
1answer
31 views

Variable callback entrypoint in smartpy

Is it possible to use a variable as the entry_point for a callback in smartpy? This works: @sp.entry_point def getProofs(self, address, callback_address): c = sp.contract(...
1
vote
1answer
46 views

How do I recover from a corrupted context

It seems my context or data dir is corrupted. How can I restore my node?
1
vote
0answers
16 views

Link between address and Twitter handle with DirectAuth

If I have an account on Kukai wallet using DirectAuth with my Twitter handle, Would someone who knows my Twitter handle be able to deduce my address and therefore see my balance? Would someone who ...
2
votes
1answer
68 views

Can a smart contract know its own address?

Is it possible to create a smart contract that knows the value of its KT1 address? E.g. if you wanted the contract to check that there was a signature signed over its contract address, would it be ...
1
vote
1answer
27 views

How to convert hex string/bytes to ASCII characters

Using Taquito I can load the storage from a smart contract. This storage contains a map called token_info. If I call token_info.get('symbol'), I get a hex string of "4d494e". How do I ...
0
votes
1answer
15 views

sp.if not working as it should

I am using sp.if in an internal function, then I call it in an entry point, but whatever I enter in sp.if, it always is read as "True". Why? And how to fix it? My code : def is_something(...
0
votes
0answers
28 views

Is it possible to get (or closely approximate) the true broadcast time of the current head block?

Is there a good way to get the true broadcast time of new head blocks? E.g. the system time of the baker that made the block would suffice. As discussed in this question, block timestamps can vary ...
1
vote
0answers
33 views

Why are the timestamps of head blocks sometimes in the future?

I've noticed that timestamps for new head blocks are sometimes in the future. Specifically, if I poll tezos-node for a fresh block, the timestamp of the block will be in the future maybe 10% of the ...
0
votes
2answers
22 views

Timestamp in mock-up mode

Is there a way to control what NOW returns in the mock-up mode? If not, this could be done via a special command in the client to increase it. This seems important for testing.
0
votes
1answer
29 views

Meaning of derivation path for HD wallet (for Tezos)(for ledger live)

I saw there are different types of derivation path in ledger live. One is 44'/1729'/0'/0'. Another one is 44'/1729'/1'/0'. What does the third slot mean? What does each slot mean? Ledger live seems to ...
0
votes
1answer
18 views

decidability of real world contracts

I'm wondering if there has been any work done on the decidability of real world, legal contracts. Michelson is great because it lends itself to users bring able to write smart contracts that are ...
0
votes
2answers
37 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
0answers
17 views

What is the average time taken for a block to propagate in the Tezos network?

How long does it take for a newly baked block to be received by every other full node (or at least the majority of nodes)? Are there any stats on this?
1
vote
1answer
51 views

Counter not correct after “lost” transaction

We have a transaction that was sent more than 12 hours ago. First it sat in mempool, not it reports to be "lost" - https://tzkt.io/tz1hB5K5FMcPFVLLitZa5ZiNjJrM5RjZG1Sd/operations/ But when ...
1
vote
1answer
44 views

Can't see 35% gas optimization on protocol 009

I looked around and could not see any example of known smart contract (FA1.2, FA2, etc) that is now using less gas then before Florence protocol.
0
votes
2answers
44 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 ...
0
votes
0answers
14 views

Can anyone refer me to a good code example that creates a Token crowdfunding STO/IDO/ICO contract in Tezos?

Can anyone refer me to a good code example that creates a Token crowdfunding STO/IDO/ICO contract in Tezos? (Comparable to ERC-20 crowdfunding contracts)
2
votes
1answer
38 views

Understanding the latency of `tezos-node`

How can I decrease the lag of my tezos-node? I'm playing around with tezos-node, and I noticed that my node lags behind the blockchain by about 10 seconds. Specifically, I'm seeing a difference of ...
0
votes
1answer
21 views

Account is not revealed even after reveal operation

I created a new account and funded it. Then I had to perform a reveal operation to get an opportunity to make transfers. It succeeded and account became revealed (explorer api returned is_revealed = ...
0
votes
0answers
32 views

Lost Tezos to baker or delegator help!

I attempted to stake or delegate Tezos from atomic wallet and now I have no access to my funds, I can see them on the blockchain but how do I retrieve them, if anyone can help it has been a year and I ...
0
votes
1answer
36 views

Are testnet fees representative of mainnet fees?

If I run some operations in testnet and record what fees were incurred, would this be representative of the fees that would occur on mainnet? Related to this, are fees affected by congestion on the ...
1
vote
1answer
22 views

What is the process to migrate the baker/endorser nodes to another server?

In case of hardware/network failure in cloud server what is the process to migrate baker and endorser to the new server? How baker can be punished for downtime during the migration process?
2
votes
0answers
30 views

Any tool to monitor nodes?

Which tools can be used to monitor the tezos node, baker-node, and endorser-node? If there any tool by community/any other please share the link. Monitoring the nodes in terms of performance of nodes ...

15 30 50 per page
1
2 3 4 5
30