All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
20 views

Create input for injectOperation (forged op + Beacon Wallet signature)

I'm trying to manually forge a transaction, sign it with Beacon Wallet and inject it. I've forged and sign it. preapplyOperations is OK. Now I'm trying to build the input data for injectOperation ...
  • 55
1 vote
2 answers
17 views

Unix.ECONNREFUSED with running baker on vps with remote signer

Trying for the first time to run a mainnet baker on a vps, using a remote signer on a home laptop with Nano ledger. Node is synced. As soon as the baker tries to endorse, it throws the below error ...
0 votes
0 answers
9 views

"Cannot unify set with unit" error

I am trying to write a simple contract in which I am using set of records as storage. type data = { message : string, did: address }; type parameter = | ["Published"] | ["...
0 votes
1 answer
30 views

Taquito does not originate or interact with test net contracts

I can't get Taquito (version 14.0.0) to write to the blockchain. Below is a minimal (typescript, macos) example to originate a trivial contract on the ghostnet. It gets stuck waiting at the await ...
1 vote
2 answers
66 views

Simple connect wallet button with beacon and taquito in React - cannot find cipher-base

I just created a new React template from scratch with npx create-react-app my-app --template typescript. Then I added beacon and taquito package. And then I wanted as a test first to try to create a ...
  • 43
3 votes
1 answer
43 views

Difference between EVM Bytecode and Tezos Michelson

Solidity compiles into Bytecode. Smart Contract languages on Tezos compile into Michelson. Ethereum uses EVM(Ethereum Virtual Machine) as the system, smart contract code written in high-level ...
  • 43
2 votes
3 answers
51 views

Smart contract availability and diversity on Tezos

I am researching about Tezos to what smart contract language there are available to use. When I look at the TezosWiki and other sources I came up to with this list: Tezos Smart Contract Languages: ...
  • 122
2 votes
1 answer
18 views

Pattern by which you can determine that this is a FA2 contract, and not FA1.2

i want to understand how tzkt indexer works. If there is some pattern by which you can determine that this is a fa2 contract, and not fa1.2? Maybe there is a prefix by which you can determine? I saw ...
  • 122
3 votes
1 answer
76 views

Are contract views typechecked when only the main contract code is called?

I have been contemplating replacing off-chain views entirely with on-chain views in my contracts since the former leads to unnecessary work of having an otherwise redundant metadata big-map with a ...
1 vote
1 answer
70 views

How to calculate gas fee for transaction?

I want to calculate three gas fees (low, average, fast) for transactions in the Tezos blockchain,Is there any formula to calculate gas fees for every transaction? I want to do an operation on the ...
  • 187
1 vote
1 answer
59 views

What is a Proof-producing Virtual Machine (PVM)?

[copied from Slack] Can someone explain what is Proof-producing Virtual Machine (PVM) introduced with SCORUs? Any guide or documentation will also work.
  • 984
0 votes
0 answers
44 views

tezos-baker error Did not find service via RPC

After importing a snapshot to try and solve a different error (see here in the tezos baking slack) I have encountered this new error. Sep 17 12:41:18 raspberrypi tezos-baker-013-PtJakart[63965]: Sep ...
1 vote
0 answers
53 views

Simulate Operation with Unrevealed Key Protocol Kathmandu

I'm trying to check my system works fine with the new Kathmandu protocol, so I'm testing some features with the kathmandunet. When I'm trying to simulate an operation (using /chains/main/blocks/head/...
  • 23
0 votes
1 answer
38 views

How to get last processed block info from local baker node and save all processed blocks information into a database using Jakarta test blockchain?

I have created a local baker node and run tezos using "./tezos-node run" command. Now I want to store all blocks information into a database and show it to my website. Please help me with it....
0 votes
1 answer
24 views

Is operator support required for standard NFTs?

I'm making my first FA2-based NFT contract and I want to reduce the amount of code by sacking the operator logic. To be clear, I'm still following the FA2 interface, but the entrypoint now looks like ...
3 votes
1 answer
32 views

Typescript Type incompatability on Beacon SDK

I'm injecting a environment variable to feed which network should my app connect to (mainnet or a testnet) This is some pseudo code: import { Network, NetworkType, } from '@airgap/beacon-sdk'; // ...
0 votes
1 answer
39 views

How to call this view entrypoint

So I read the TzKT documentation regarding this (https://netezos.dev/docs/call-view-entrypoints.html) and I understood most of it, but I'm trying to do it with Taquito. But I'm fairly new to this and ...
0 votes
1 answer
32 views

Liquidity Baking interactions from a DAPP - Error during estimation being returned from temple wallet

I'm working on building an interface for liquidity baking and am encountering the error: Error during estimation when I submit the calculations for the swap tokenToXtz or xtzToToken on the swap ...
0 votes
2 answers
27 views

TransferOwnership in Tezos

Is there an analog of transferOwnership in Tezos? It looks like it's possible to make custom FA2 contract and change owner. Is this correct? Looking for an authorative answer
  • 122
0 votes
0 answers
15 views

convert Micheline.canonical_location to filebased (line#, column#) pair

I'm looking at converting a Micheline.canonical_location to a (line, column) placement in a michelson code file and I was wondering if there's some utility in the tezos codebase already that helps ...
  • 45
1 vote
0 answers
30 views

How to Add Sign-in-with-X standard for Tezos Ecosystem [closed]

Problem How can we connect the core team?Currently Sign-in-with-X (SIWX) is a new standard for users to sign off-chain services,proposed by Ceramic network and SpruceID. We need to support this ...
2 votes
1 answer
81 views

Why does the addition of a new key-value pair to a big_map not incur a storage fee at all times?

For example- I am sending an FA1.2/FA2 token to an address that has previously not held any amount of that token. So, the address is not present in the ledger big_map of the contract. This would ...
1 vote
1 answer
62 views

"Unix error in open: Permission denied" when upgrading a Tezos docker container to v14

I have Tezos docker containers running using Docker Compose: version: "3.4" services: tezos: image: "${TEZOS_DOCKER_IMAGE}" restart: always ports: - "${...
  • 151
1 vote
1 answer
29 views

Ballot operation with Taquito and Beacon SDK

I'm trying to send a ballot operation with Taquito and Beacon SDK. Here's my code: const currentProposal: string = (await Tezos.rpc.getCurrentProposal())?.toString() || ""; const branch: ...
  • 55
1 vote
1 answer
31 views

Call FA2 transfer from another smart-contract with archertype

I’m trying to call a FA2 transfer function from another smart-contract but I’m not sure how to write it in archetype. Here is my code so far archetype Test( a_contractToken : address, a_quantity: ...
  • 11
2 votes
2 answers
51 views

/run_script_view gives "RpcException: HTTP/1.1 404 Not Found" on ghostnet

So I am trying to run a view operation with a post method on ghostnet: https://rpc.ghostnet.teztnets.xyz/chains/main/blocks/head/helpers/scripts/run_script_view/ with this data: {“contract”:“...
  • 23
1 vote
1 answer
33 views

AddressValidationError when calling an entrypoint with Taquito

I'm trying to call the Plenty Router with Taquito to swap from kUSD (Kolibri USD) to tzBTC via Plenty token. In this example, I'm sending 1 kUSD. I'm using arbitrary minimum output (I do not compute ...
0 votes
1 answer
26 views

Moving baker from laptop to cloud server

I've been baking successfully with 97 - 98% reliability on a spare laptop that's connected to a Nano ledger with the tezos baking app. I would like to migrate the node to a cloud server to see if the ...
1 vote
2 answers
104 views

How to retrive parameters from a Michelson function?

I'm developing a Flutter application and used Dartez plugin to transfer token contracts from one wallet to another wallet. The Dartez package has a function named sendContractInvocationOperation for ...
  • 187
1 vote
1 answer
38 views

Tezos Smart Contract Language Specifications

Is there an equivalent "interface" keyword in any of the Tezos smart contract languages (i.e. smartpy, archetype, ligo) that is similar to solidity's keyword "interface". If there ...
1 vote
1 answer
41 views

Gas Exhausted error

I am trying to use pytezos to perform a transaction on Tezos testnet. I am receiving a 'Gas Exhausted' error although it is suppose to autofill. Python code: native_key = await Key.from_mnemonic(words,...
  • 113
1 vote
1 answer
28 views

Clarifications on FA2 operator

I am looking for some clarifications around FA2 tokens and the notion of operators, as I’m not sure if I get it right or not. My first question is: Is it possible to have multiple operators on a ...
  • 13
0 votes
0 answers
19 views

load balancing between rolling and archive nodes

A possible deployment model for a Tezos RPC service is to distinguish requests between: requests that can be answered by a rolling node (injection, head block queries) historical requests that ...
0 votes
1 answer
24 views

What are the differences between the chain view decorators in SmartPy?

Considering the following SmartPy decorators: @sp.utils.view @sp.onchain_view @sp.offchain_view What are the differences in use between them?
  • 3
4 votes
1 answer
58 views

What's the best way to retrieve BigMap values/keys?

How are dApp devs currently pulling in a given BigMap's values or keys? I'm pinging tzkt's API after I retrieve the BigMap’s address from the chain and I'm wondering if there's a better, and/or less ...
  • 41
2 votes
0 answers
38 views

How to prepare tezos multi-sig transaction

I am trying to do multi-sig transaction using taquito. I am using the following implementation : https://gitlab.com/tezos/tezos/-/blob/master/tests_python/contracts_alpha/mini_scenarios/...
  • 21
1 vote
2 answers
49 views

Invalid Metadata on Smart Contract

I am in the middle of migrating my DApp from Ithacanet to Ghostnet, the majority of the migration is done, but I am unable to mint (it's a minting contract based off of hin) using the smart contract ...
4 votes
1 answer
28 views

Unpacking return unexpected result

I'm having some issue with the contract read, i have data in format of sp.TMap(string,bytes), im using sp.pack() to get the bytes representation of a sp.TNat in a concrete example for a nat 200 y get ...
2 votes
0 answers
37 views

Off-chain view runs out of gas enumerating tokens

The off chain view enumerates all owners tokens by looping through them. At some point, when there are too many tokens added, the attached error starts throwing.
4 votes
1 answer
50 views

How to get encrypted Tezos private key from decrypted private key and password?

In my app on back-end the next code is used to get signer: const { InMemorySigner } = require('@taquito/signer'); const signer = InMemorySigner.fromSecretKey( signingKey, TEZOS_SERVICE_PASSPHRASE ...
2 votes
1 answer
33 views

Stopping baker and getting balance unfrozen

Let's say I stop baking 1/4th of the way through cycle 500 by stopping all baking processes. When should I expect to get 100% of my balance back? I did not set frozen deposit limit to 0 before ...
-3 votes
1 answer
63 views

when call ipfs nft by api take too long time to load

For example, when I want to load the below NFT, it takes a very long time to load it. How to load NFT very faster? ipfs://QmTfFq8CY4M1ZHFm5UMZQQqtETyvaQNHnJiTTiNjHCyJSu I load it by replacing ipfs:// ...
  • 187
4 votes
1 answer
68 views

How to get the owner of an FA2 token on chain

For an FA2 nft contract, how can I get the address of the owner of token_id 0 from inside another contract?
2 votes
1 answer
41 views

Calling balance_of via smart contract gives error A FAILWITH instruction was reached with 19

I am trying to call "balance_of" entrypoint of fxhash contract (in ghostnet). Deployed contract: https://better-call.dev/ghostnet/KT1FqmrtKA4Pz4cNDsikt8qrwEg8pdSCpYug/interact/check I used &...
  • 111
3 votes
1 answer
21 views

unexpected characters in smart contract arguments

The tezos-client seems unhappy with / and . in my argument: nochem@peck ~/workspace/tezos () $ ./tezos-client --endpoint https://rpc.ghostnet.teztnets.xyz transfer 1 from dictator to ...
1 vote
1 answer
18 views

How to get balance of XTZ for a wallet address in Flutter?

Any solution to get Tezos(XTZ) balance of wallet address in Flutter? Any packages? or direct API? PS: I used https://pub.dev/packages/tezster_dart, but it’s not worked with my flutter version, which ...
  • 187
3 votes
3 answers
63 views

How to get fxhash token attributes with smartpy?

Want to obtain fxhash token attributes/metadata with smartpy, the problem is fxhash smart contract doesn't have entrypoint or views for it. There is "get_token_data" view but it returns ...
  • 111
3 votes
0 answers
27 views

Get "global constant"

How can I get the content of a registered "global constant" from node? Was not able to find any tezos-client (get global constant) or RPC. Thanks.
  • 31
1 vote
1 answer
37 views

How to encrypt and decrypt some data with a users wallet before persisting it inside publicly readable storage?

I would like to encrypt a piece of data before persisting it in publicly accessible storage (e.g. localstore, IndexedDB, smart contract etc), ideally with no user interaction for encrypting or ...
  • 449
2 votes
1 answer
42 views

Chest keys generated by @smartpy/timelock are not functional

The tool I use https://www.npmjs.com/package/@smartpy/timelock, https://github.com/RomarQ/tezos-timelock/ the tool works good on other functions such as openChest and createChestKey. I used node 14.14....
  • 111

15 30 50 per page
1
2 3 4 5
38