Hot answers tagged

4 votes
Accepted

Generating NFT with random attributes?

Tezos doesn't provide any randomness though Michelson currently. PVSS features are expected to come in future proposals which can enable randomness generation. Currently, the best solution is probably ...
user avatar
2 votes
Accepted

how to calculate the value of a single LQT token for Liquidity Baking?

When you add tezAmount liquidity you deposit tezAmount * tokenPool / xtzPool tokens (with division rounding up) and receive tezAmount * lqtTotal / xtzPool LQT (with division rounding down). When you ...
user avatar
2 votes

How to correctly implement an interface to an FA1.2 contract, from a programming language?

You are correct. There is not a way to get the value directly. You would have to originate a contract like this. Let's call it getnat.tz. We will use it to create an error message after a dry run call....
user avatar
  • 650
2 votes
Accepted

Is it possible to originate/mint NFTs privately with Edo?

You wouldn't get meaningful privacy. It would be the only asset in its own pool, so you would know every time it changes hands, which might as well be achieved by using fresh keys without any zero-...
user avatar
  • 4,399
2 votes
Accepted

General solution for getting fungible token balance off-chain

A better approach would be to use an Indexer. In general wallets only communicate with the chain directly to inject an operation or to do some sort of highly specific task with a single contract. ...
user avatar
2 votes
Accepted

I can't import my nft into my temple wallet

The entrypoint balance_of does not respect the specification. Your contract has: (Does not match the specification) (pair %balance_of (contract %callback (list (pair ...
user avatar
1 vote
Accepted

How to airdrop tokens based on ownership of another token?

You need to understand that tokens are not "sent" to an address. All tokens are simple K/V maps within the storage (bigmap) of a smart contract. Transferring a token from X to Y is simply ...
user avatar
  • 3,344
1 vote

Carthagenet token faucet

As far as I know, there aren't any. What you can do is copy the code of the token that interests you on Mainnet, deploy it on Carthagenet and create some tokens you can then use for your tests :)
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible