Questions tagged [fa2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Is there any default FA2 / FA1.2 config to mint non-transferable tokens?

I am working on a requirement that needs a non-transferable token (similar to ERC 1238 requirement). ie the token can be transferred only from token contract/ admin to the user and the user cannot ...
0
votes
0answers
27 views

Mint FA2 NFT when contract is called by purchaser

I'm working on a smart contract which allows a caller to "purchase" an NFT simply by calling the contract and providing payment. I'd like the contract to mint the NFT at the time the ...
2
votes
1answer
122 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
1answer
97 views

Calling contract entrypoint having complex parameters

I am trying to call FA-2.0 transfer entry point using tezos taquito, I have also gone through https://tezostaquito.io/docs/complex_parameters/. however I get the error below when I try to call ...
2
votes
1answer
45 views

How to monitor RPC block responses for token transfers?

I am wondering how to effectively monitor for some given address for FA 1.2 and FA 2 token balance updates. Given that the entrypoints to the contract are defined, I'd like to write something which ...
2
votes
0answers
59 views

how to hook function in smartpy FA2

when calling transfer method, how to call hook method on received smart contract. I'm using fa2 in smartpy
1
vote
1answer
36 views

FA2 from/to serialization

In the FA2.0 standard the sender and receiver is send as Bytes (vs. send as string for FA1.2). Expected result: When decoding the addresses (string) to their public key hash representation I would ...
3
votes
1answer
105 views

How do I call the FA2 balance_of endpoint through Truffle?

I have written a contract to implement FA2 and I have a Truffle/JavaScript setup to test this contract while running against a sandboxed node. I can test the transfer endpoint and the update_operators ...