New answers tagged smart-contracts
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 = ...
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 ...
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 ...
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.
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 ...
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.
Top 50 recent answers are included
Related Tags
smart-contracts × 402smartpy × 131
michelson × 48
ligo × 34
tezos-client × 32
liquidity × 29
taquito × 24
nft × 23
contract × 22
storage × 19
error × 12
fa2 × 12
archetype × 12
deploy × 11
node × 9
baking × 9
blockchain × 9
testing × 9
bigmap × 9
fa1.2 × 9
dapps × 9
rpc × 8
transactions × 7
javascript × 7
gas × 7