New answers tagged

0 votes

Error: Uncaught (in promise) TezosOperationError: (temporary) proto.017-PtNairob.tez.subtraction_underflow

It's easier to debug it if you write some SmartPy tests for it. So, here you go: @sp.add_test(name = 'Test') def test(): admin = sp.test_account('admin') sc = sp.test_scenario() token = ...
Ojuswi Rastogi's user avatar
0 votes

Contract compile error in Dapp tutorial (wine collection marketplace)

Up-to-date version here : https://github.com/marigold-dev/training-nft-1 The version on tezos.com is old and very painful to update. I will have a look on how to simplify the way to update content on ...
Benjamin Fuentes's user avatar
1 vote
Accepted

How to set Total Supply on TzKT?

I think what you need is a Semi-Fungible Token. FA2.Fa2Nft is not the correct class to use in this case. Try using FA2.Fa2Fungible. The reason is that TzKt understands the type of token by looking at ...
Ojuswi Rastogi's user avatar
0 votes

Contract compile error in Dapp tutorial (wine collection marketplace)

The tutorial is missing, that you need to create a read and writeable .ligo folder first.
Blindripper's user avatar
  • 2,635
0 votes
Accepted

Error: Error in Scenario / Assertion failed

There are two things which are raising errors in the contract. The token_contract.set_administrator() should be called before the first marketplace.mint(), because the marketplace will need to become ...
Ojuswi Rastogi's user avatar
0 votes

deprecated_instruction error upon contract deployment

This script uses the SUB instruction on type mutez. This variant of the SUB instruction has been deprecated in Ithaca and the SUB_MUTEZ instruction should now be used instead.
Raphaël Cauderlier's user avatar

Top 50 recent answers are included