Questions tagged [tzip16]

The tag has no usage guidance.

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

When generating contract metadata with `sp.init_metadata` do you include or exclude on-chain views in the `views` array in the metadata?

When performing self.init_metadata("metadata", some_metadata) on contract metadata inside smartpy, should the list of views inside the TZIP-16 metadata only contain off-chain views, or must ...
0x10's user avatar
  • 359
1 vote
1 answer
248 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 ...
09214124123's user avatar
3 votes
1 answer
200 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 ...
JJJ's user avatar
  • 557
1 vote
2 answers
188 views

Implementing Contract Metadata (tzip-16) on an already originated FA1.2 Smart Contract

Referring to the documents and examples of tzip-16, how would one implement the contract metadata on a Fa1.2 contract on SmartPy? In order to provide balance updates and offchain events.
Vinnyson's user avatar
  • 515