All Questions

Filter by
Sorted by
Tagged with
1
vote
2answers
49 views

Is address reuse cryptographically secure in Tezos?

From my understanding with cryptos like bitcoin, address reuse is discouraged because it makes the funds on the address more vulnerable to being compromised. Is Tezos the same way or is it okay to ...
0
votes
1answer
22 views

Checking total amount sent to a contract (ever) within the contract execution

I'd like to create a contract that behaves a certain way based on how much total tez has been sent to the contract. How should I track and check the total amount ever sent to a contract? Example: ...
0
votes
0answers
70 views

How to transfer tokens from contract using better-call dev?

I was just playing around with creating a token on Tezos mainnet. I followed the tutorial to create a Tezos token. There they use this ready to use contract in PascaLIGO which you can view in Ligo ...
1
vote
1answer
89 views

How to check baker status via RPC?

I'm new to tezos and started my baker node on ubuntu via cli. here is the status on explorer https://edo2net.tzkt.io/tz1e7r6xbFGoghLmv3z1a4DQV3JtYXHYufna/operations/ How can I check if my baker is ...
0
votes
1answer
32 views

How to update BAKER_ACCOUNT and ENDORSER_ACCOUNT?

As per the guide here https://github.com/serokell/tezos-packaging/blob/master/docs/baking.md As mentioned in baking guide Apart from that, you'll need to update the BAKER_ACCOUNT and ENDORSER_ACCOUNT (...
0
votes
0answers
18 views

Does sapling integration mean private smart contracts?

Now that Tezos has integrated the sapling features from Zcash, can one make private smart contracts? Potentially? Certainly? In part or whole, or both? Thank you!
0
votes
0answers
20 views

he wallet does not match the SEED PHRASE from PDF

Good day. There was a terrible problem. Or I just can't figure out what I'm doing wrong. I can't get into my wallet. Tell me what to do. Last time I visited it on May 7, 2020. Used for this site ...
3
votes
1answer
159 views

Generating NFT with random attributes?

I'd like to create a contract that generates an NFT for the caller (purchaser) that contains some randomness to it. Are there any examples someone could point me to?
1
vote
2answers
79 views

What are good statically-typed alternatives to PyTezos?

What are some good statically-typed Tezos client libraries (alternatives to PyTezos)? I'm pretty language agnostic as I'm starting a new project. I know about TezEdge (Rust), tezos_dart (Dart), ...
1
vote
1answer
6 views

Is there any possible balance update for an account on a "proposals" operation type?

I am trying to capture any operation that has a balance change - curious about the proposals operation and if there is any possibility that a balance can be updated?
1
vote
1answer
19 views

Trouble Initializing Contract with Lists

I am trying to learn smart contracts on Tezos and decided to originate my own. The contract is expecting the following storage: pair (pair (address %owner) (list %received ...
3
votes
2answers
68 views

What is the maximum value a single transaction output can have?

What is the largest amount one could send in a single transaction? Also just to confirm my understanding, a transaction only has one destination address per transaction right?
2
votes
2answers
35 views

What are the contents of a block in Tezos?

Could someone point me to or provide a description of what the various fields are in a block?
0
votes
0answers
22 views

Unknown error when trying to run a newly built Tezos node: tezos-node: Error: Unix error in unlink: Permission denied

I build my node via opam ( installed through the apt Ubuntu package manager ). After I download and import the snapshot and run the node for the first time it, it generates the identity as normal then ...
0
votes
1answer
36 views

How to choose public key to share with on Ledger Nano X

I have two different Tezos 'accounts' (each with its own tz1 address) on my Ledger Nano X, which I interface with using the default Tezos Wallet app provided in Ledger Live. One of them was created ...
1
vote
2answers
50 views

Active test networks

There are many test networks on Tezos. What are the active and soon to be active public ones? How do we participate? Are there accessible public nodes?
0
votes
0answers
19 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
77 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
109 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 ...
2
votes
1answer
61 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
55 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
84 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
45 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 ...
1
vote
1answer
21 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
46 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
49 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
121 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
63 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
100 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
121 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
26 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
46 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
23 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
57 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
447 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
66 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
70 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
32 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 ...
3
votes
1answer
79 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
43 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
22 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
71 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 ...
2
votes
1answer
206 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
14 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
36 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
89 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
30 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
53 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
72 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
55 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? ...

15 30 50 per page
1
3 4
5
6 7
33