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 ...
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 ...
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....
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-...
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. ...
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
...
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 ...
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 :)
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tokens × 13smart-contracts × 3
tezos-client × 2
fa1.2 × 2
nft × 2
smartpy × 1
taquito × 1
api × 1
account × 1
javascript × 1
testnet × 1
fa2 × 1
faucet × 1
privacy × 1
query × 1
random × 1
carthagenet × 1
tzkt × 1