All Questions

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

How to connect to my own network with Kiln?

I'd like to monitor my flextesa nodes with Kiln. But when I try to connect my node, it says that node is "on wrong network" because Kiln is configured to monitor mainnet. How can I ...
1
vote
2answers
42 views

Why is this big map update using up so many bytes?

In this question I asked why so much Tezos was burned when updating 380 cells in a grid. It's surprising to see how many bytes it actually took though. If you look at the transaction, there were 380 ...
1
vote
1answer
16 views

Best way to create FA1.2 token with TZIP016

What is the best way to implement a FA1.2 token with TZIP-016 metadata (symbol, name, decimals...)? I am using SmartPy. So far, I noted two methods: the first one is to implement a FA1.2 token with a ...
1
vote
1answer
41 views

Node issues with multiple transactions to the same smart contract (FA1.2)

I was wondering if there is any explanation available to some unexpected behavior when trying to make multiple transactions to the same smart contract. Transaction We have an FA1.2 token whereby we ...
0
votes
2answers
20 views

Tezos CLI keypair to software wallet

I have created an encrypted keypair using the tezos CLI using tezos-signer gen keys alias I was not given any mnemonic words, only a password that I had to set. I would like to use this address on a ...
2
votes
1answer
45 views

How to deploy my own little network with some Tezos nodes on Docker just for research?

I'd like to run some Tezos nodes in my private Docker network just for studying baking process and principles of blockchain in practice. But all instructions I could find are about how to connect main ...
0
votes
0answers
12 views

Make a simple tez transaction with pytezos

I am trying to make a simple transaction using PyTezos. Based on this post, I got the following: (running on testnet, using test keys) from pytezos import pytezos from decimal import Decimal ...
0
votes
0answers
14 views

Tezos node RPC seems to scale badly

Disclaimer: I am not familiar with technical aspects of Tezos nodes in depth. I am going to share my experiences I made while developing in the Tezos ecosystem. Lately I was using the tezos-client for ...
1
vote
1answer
15 views

Questionable typecheck script result of some michelson code

I've tried to type check create_contract.tz in mini_scenarios and had the following result. It is well-typed, but I'm wondering if the occurrence of the last comment /* [ pair (list operation) (...
1
vote
1answer
39 views

How can I encode a 2D matrix of booleans in the least amount of bytes?

I'm looking at this ethereum smart contract that iterates over an area in a 2D bool matrix to reserve pixels. When looking at a call to that ethereum smart contract for a 20x11 area, it used 0.0315 ...
1
vote
1answer
18 views

What would be the simplest way to connect a smartpy contract to an oracle tracking the XTZ/USD pair?

I see there's a smartpy chainlink oracle example and a github repo for Harbinger. I briefly looked at the code and it appears they are for setting up Oracles + clients. Are there any existing XTZ/USD ...
0
votes
1answer
15 views

How to manage secret keys generate from the tezos-client?

The tezos-client allows users to generate a pair of public and secret keys in the command line: gen keys <new> [-f --force] [-s --sig <ed25519|secp256k1|p256>] ...
2
votes
1answer
48 views

How should a contract check whether an address owns a FA2 token created in another contract?

I've broken up my code into 2 contracts. FA2 contract and other one managing its data and providing additional functionality on top. This is to not overload a single contract, however, it does ...
2
votes
1answer
65 views

Is there a list of public repos using smartpy?

I'd like to see more complex examples of smartpy being used in main net contracts. So far, I've found tzcolor's auction house contract SUPER helpful. Are there any other really good examples (that are ...
1
vote
1answer
50 views

How do offchain views work and what guarantees do they provide?

What are the technical differences between offchain views vs onchain entry points? I know one of the differences is that onchain entry points mutate while offchain views don't. Are there any other ...
1
vote
1answer
21 views

How to migrate existing smart contract data to a new one when needing additional storage requirements?

Obviously the first answer is to try to avoid running into this scenario by having some flexibility in storing additional fields using maps (example). However, let's think about the scenario where ...
1
vote
1answer
38 views

How to add new record fields in data storage after contract deployment? Is storing JSON in a field viable?

AFAIK, there is no way to update storage types(ex: can't add a new record field to a Map<sp.Nat, sp.record(a=1)>) of a contract after deployment. (Correct me if I'm wrong). This means, after a ...
1
vote
1answer
17 views

Does smartpy propagate exceptions?

I'm doing something like this, but the invalid scenario assertion fails. Is there a way to propagate the exception from the other contract? Or do I just have to test that contract separately? class ...
1
vote
1answer
24 views

What are good examples of upgradable smartpy contracts using Proxy delegates or stored lambdas?

I'm trying to ensure my contract is upgradable and I learn best by looking at existing examples. Does anyone have any good examples to look at? Here are some links to previous stackoverflow Q&A's ...
0
votes
2answers
19 views

If I delete one of my tezos account in ledger live, what happens technically?

If I delete one of my tezos account in ledger live ( I already removed all the XTZ inside that account), what will happen? I want to know what happens under the surface technically. Can I reuse it or ...
2
votes
1answer
44 views

Why were so many Tezos burned in this transaction?

Is most of the fee coming from the storage? Or How can I know what % of the 6.49Tz burn came from what? Any suggestions on how can I could make this more efficient? https://better-call.dev/edo2net/opg/...
1
vote
2answers
41 views

How to fetch all the values in a big map using taquito?

Per the BigMapAbstraction Taquito API docs, there isn't a way to fetch all the values in that map. Is the suggested way to fetch all of values in the map by doing batch queries on it then? Or what's ...
0
votes
1answer
16 views

Incompatible parameter error when calling another smart contract

I'm getting this weird error when trying to call the mint entrypoint from another contract... I had additional parameters in the BuyLandRequest and was overriding the TezosHomepageAdNft.mint ...
2
votes
1answer
27 views

Why aren't the offchain views appearing?

I'm extending the smartpy FA2 template # FA2 = sp.import_script_from_url("https://smartpy.io/dev/templates/FA2.py") class TezosLandNft(FA2.FA2): ... which has the following offchain views ...
0
votes
1answer
21 views

How can I do string interpolation on smartpy?

I'm trying to provide better error messages. I've tried several things already that don't work such as regular python fstrings, regular string concatenation. I'm tried to using the sp.string function ...
0
votes
0answers
20 views

Why do i not get an email when i click on password forgot?

I can not log in to see my tezos coins. But i am sure that the password is correct. When i click on password forgot, i don’t recieve an email.
0
votes
1answer
15 views

How do I transfer tez while invoking a smart contract using Taquito?

const op = await contract.methods .buy(contractParams?.height, contractParams?.width) .send(); I have a buy entrypoint and would like to pass in some parameters and some tez at the ...
1
vote
1answer
75 views

How to store and load custom FA2 NFT metadata?

First time I'm writing a smart contract. If anything doesn't make sense at all, feel free to call out what specifically doesn't make sense and suggest a better approach. Thanks! At a high level I just ...
0
votes
0answers
11 views

How to log start and end times of each transaction/block execution

In order to benchmark tranaction and block execution times, I want to log the start/end timestamps of each block and each transaction while baking, and also during validation. However this does not ...
0
votes
1answer
17 views

Impossible to run a Florencenet node 9.0~rc1 when another node is running despite different port

I have a node running on Edo2net using tezos-client v8.2 with RPC port 8732. When I try to run another node on different port (8733) and different data dir, it's ok. But when I try to run a tezos-node ...
0
votes
1answer
26 views

Problems reconstructing an archive node

I've encountered several problems in trying to reconstruct an archive node. I've tried several machines and continue to encounter errors. I've tried both reconstructing an archive node by importing a ...
0
votes
0answers
11 views

Missing Wallet/Address Created on Tezos Node

Good Day, I had a tz1 address wallet created on my node, (with funds transferred to) that has now suddenly disassociated/disappeared from the tezos node. I.e. tezos-client list known addresses ...
0
votes
1answer
34 views

What is the one-time 0.257 tz burn fee?

I have deployed a contract on a test net and I want to send some tez to it to test out some operations. When I try to send through Temple wallet, I get: Failed Unable to estimate transaction to ...
0
votes
0answers
54 views

FA 1.2 Token contract interaction

I want to call an Approve method on a FA1.2 token contract. Michelson code of Approve method at FA1.2 token contract: (pair %approve (address %spender) (nat %value)) My PascaLigo code: type ...
1
vote
1answer
24 views

Long term storage of tezos tokens in hardware wallet

I know tezos has a self-governance process in which bakers vote. If in the future old tezos tokens need update possibly due to technological innovation or bugs, what will be done to old tezos tokens? ...
1
vote
0answers
23 views

How does TezEdge achieve parallelism?

I am researching on how to parallelize transaction validation in Tezos, and I came across TezEdge and this blog. Both of these articles mention that they use OCaml Runtime FFI Pools, but my primary ...
0
votes
1answer
30 views

What is the difference between edonet and edo2net?

The block explorer tzkt.io has both a edonet and an edo2net option. Are these two different blockchains and what is the difference between these two test nets?
0
votes
1answer
22 views

Instantiating InMemorySigner

While instantiating InMemorySigner, we should provide the "Encoded private key". Is there a way of generating this Encoded private key from the .json file I get from the faucet? Tezos....
0
votes
1answer
33 views

Get entrypoint operation (get_entrypoint_opt) fails

I have some troubles to call a contract. This is the scenario: Contract B (Entrypoint method "transfer"): (pair %transfer (bytes %args1) (pair (string %args2) ...
0
votes
2answers
28 views

This.rpc.getBalance is not a function

hello I have a problem during the call to view the balance of an address by following the various tutorials, the following error is raised: this.rpc.getBalance is not a function and not return any ...
0
votes
0answers
13 views

Fitness too low when baking

I recently started running a node on the edo2net test network. The endorser has been working fine. I had rights to bake a couple of blocks today, but both times the baker failed with a "Fitness ...
1
vote
1answer
30 views

Read another contract's storage without making a transaction?

Is it possible for contract X to read the storage of contract Y without making a transaction? I think I understand how I can make X call a function on Y using a callback pattern. But since I only want ...
0
votes
1answer
28 views

Does the delegate's stake change their vote's weight?

Since users who don't have enough tokens to participate in the governance process can delegate their stake to someone who can participate, does each delegate's vote have a different weight? Or is it ...
1
vote
2answers
21 views

How to prevent Taquito Tezos.estimate.transfer() from throwing a balance_too_low and cannot_pay_storage_fee error?

I have 9.9 tezos on my address tz2B35M8eHC6FhAVsQrtp8EBPri4H73w7W7C. I want to send all of it to another address tz1i4ezL2FZ1kZ8oqEY8n6wCr2eGRJPC4xin which has never been used and is thus empty. For ...
0
votes
1answer
25 views

How is the opHash generated?

Could someone give a step-by-step approach of how to go from the operation inputs (e.g. sender, receiver, amount etc) to generating an opHash for an operation? Thanks
1
vote
2answers
59 views

Best Language to Use with Tezos

There are a lot of options when it comes to coding Smart Contracts on Tezos. My question is simple, which of the supported languages is the best in terms of support, east of use, documentation, and ...
2
votes
1answer
13 views

What is the format of valid entrypoint names?

Are there any constraints on valid entrypoint names?
1
vote
0answers
24 views

The signer produced an invalid signature

I missed one of the endorsements due to an invalid signature. Why or how a remote-signer could produce an invalid signature? I am using a remote-signer with an HSM. Remote signer and HSM logs look ...
1
vote
1answer
31 views

Need help understanding price discovery on dexter exchange

From where they are fetching the price of token i.e., exchange value ? How they are calculating Minimum Tokens Brought in operation xtzToToken ? How they are calculating Minimum XTZ Brought in ...
2
votes
1answer
24 views

How do you read and store a UTF-8 value in Michelson

The Michelson document from the Tezos Developers Resources page states the following about the string type: Strings, with some usual escape sequences: \n, \, ". Unescaped line-breaks (both \n ...

15 30 50 per page
1
2 3 4 5
29